PHP - problema con scroll

 
Vista:

problema con scroll

Publicado por oscar (9 intervenciones) el 01/05/2012 20:39:34
Hola programadores necesito vuestra ayuda. Sabeis de algun puling jquery compatible con php de tipo scrool de imagenes. Los que encontrado no sirven y sigo buscando alguno. Porfavor si sabeis decirme si encuentro alguno yo tambien os aviso es bueno tener alguno. Un saludo gracais por vuestra atencion.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de siREZ
Val: 23
Ha disminuido su posición en 95 puestos en PHP (en relación al último mes)
Gráfica de PHP

prueba con esto...

Publicado por siREZ (203 intervenciones) el 01/05/2012 22:33:15
Hola Oscar,
hace tiempo se me presento una situacion similar a la tuya y lo solucioné con esto.
acomodalo a tu antojo....

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<title>boton scroller</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#FFFF00"
vlink="#FFFF80" alink="#FFFF00" onload="update()">
<script type="text/javascript">
<!--
//****************************
//Scrollable links buttons by Bill Bean
//You may freely use, modify this script as long as the credit 
//is given in the source.
//****************************
//****************************
//Scrollable links button por Bill Bean
//Usted puede usar libremente, modifique este script con tal de que
//el crédito se vea en el fuente.
//****************************
var n = 1
var nn = 2
var nnn = 3
var nnnn = 4 /*Add more variables if you want more buttons showing, or take
them off if you want less. Remember to change the rest of the script
accordingly if you do this, as well as the <INPUT> tags in the HTML.*/
/*Agregue más variables si usted quiere mostrar más botones , o toma  
ellos fuera de si usted quiere menos. Recuerde cambiar el resto del script  
de acuerdo si usted hace esto, así como el <INPUT> tags en el HTML.*/
var theMessages = new Array(7); {
theMessages[1] = "Esto podría llevarte a tu Página uno."
theMessages[2] = "Esto podría llevarte a tu Página dos."
theMessages[3] = "Esto podría llevarte a tu Página tres."
theMessages[4] = "Esto podría llevarte a tu Página cuatro."
theMessages[5] = "Esto podría llevarte a tu Página cinco."
theMessages[6] = "Esto podría llevarte a tu Página seis."
theMessages[7] = "Esto podría llevarte a tu Página siete." /*You don't have to have this array unless you still want alert boxes appearing when the buttons are clicked.*/
/*Usted no tiene que tener estos Arrays a menos que usted todavía quiera que aparezcan cajas de alertas cuando se pulsan los botones .*/
}
var theValues = new Array(7); {
theValues[1] = "Pagina1"
theValues[2] = "Pagina2"
theValues[3] = "Pagina3"
theValues[4] = "Pagina4"
theValues[5] = "Pagina5"
theValues[6] = "Pagina6"
theValues[7] = "Pagina7" } //add more values and/or change them for your liking. 
//agregue más valores y/o cambíelos para su gusto. 
function goup() {
if(n > 1){n = n-1
nn = nn-1
nnn = nnn-1
nnnn = nnnn-1 
//If you've changed the amount of buttons showing, add your extra variables - 1 here.
//Si usted ha cambiado la cantidad de botones a mostrar, agregue sus variables extras - 1 aquí.
update()}}
function godown() {
if(nnnn < 7) { //Change the 7 if you want more buttons
//cambie el 7 si usted quiere más botones
n++
nn++
nnn++
nnnn++
/*Add your extra variables, with a '++' right after them here, if you've
changed the amount of buttons showing.*/
/*Agregue sus variables extras, con un '++' derecho después de ellos aquí, si usted tiene
cambiada la cantidad de botones que se muestran.*/
update()}
else{}}
//You could do 'window.location.href="whatever.html"' insted of the current alert boxes.
//Usted podría hacer ' window.location.href = "whatever.html" ' en lugar de las cajas alertas actuales.
function go1() {
alert(cap1)}
function go2() {
alert(cap2)}
function go3() {
alert(cap3)}
function go4() {
alert(cap4)}
function update() {
document.form1.b1.value = theValues[n]
document.form1.b2.value = theValues[nn]
document.form1.b3.value = theValues[nnn]
document.form1.b4.value = theValues[nnnn]
cap1 = theMessages[n]
cap2 = theMessages[nn]
cap3 = theMessages[nnn]
cap4 = theMessages[nnnn]}
//******************************
//End of Scrolling links buttons script   //final del Scrolling links Buttons Script
//******************************
//-->
</script>
<center><h1>Link Scroller</h1>
</font><font size="2" face="Arial">¡Este Script ingenioso hace
una lista de botones que son Scrollables (por ende el nombre). <br>
Este Script puede ser MUY útil en su página!<br>
</font></center>
<form name="form1">
    <p align="center"><input type="button" name="up"
    value="  ^  " onclick="goup()"><br>
    <input type="button" name="b1"
    value="Enlace a la Página 1  " onclick="go1()"><br>
    <input type="button" name="b2"
    value="Enlace a la Página 2  " onclick="go2()"><br>
    <input type="button" name="b3" value="Enlace a la Página 3"
    onclick="go3()"><br>
    <input type="button" name="b4" value="Enlace a la Página 4 "
    onclick="go4()"><br>
<!-- If you add extra buttons here, insert them just above this comment.
You must add extra functions in the script too, presumably called go5()
etc.. -->
<!-- Si usted agrega botones extras aquí, insértelos sólo sobre este comentario.  
Usted debe agregar funciones extras también en el Script, probablemente llamada go5()  
etc.. -->    <input type="button" name="down" value="  v  "
    onclick="godown()"><br>
    </p>
</form>
<p align="center"><font size="2" face="Arial">Es bastante bueno
eh?<br>
</font></p>
</body>
</html>

me cuentas...
por ahi tengo otro mas sencillo
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

problema con scroll

Publicado por oscar (9 intervenciones) el 02/05/2012 00:25:05
esta muy bien la verdad pero necesito hacerlo dinamico y con php A lo que me refiero es que yo en vez de botones voy a meter imagenes y las voy a llamar desde php. Por lo que vi en tu script no serviria no?.Abria que modificarlo bastante y yo java lo puedo llegar a entender un poco pero hacer algo no todavia no llege a ese lenguaje. XP te paso un link de lo que encontrado. La verdad que esta bien aunque me gustaria que el scrol seria de mas imagenes por lo menos 4.

http://www.miguelmanchego.com/2009/panel-de-imagenes-carousel-jquery-ajax/
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar