dinámica tickers

  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Registrado: Ago 07, 2005
  • Mensajes: 294
  • Status: Offline

Nota Diciembre 7th, 2006, 8:05 am

i am estoy haciendo un sitio, pero necesito un pequeño tamaño ticker para mostrar anuncios de próximos eventos y necesito este proceder de una base de datos MySQL, usando PHP .. mi sitio es en html pero quiero que la ticker supongo ha de ser en flash si se trata de desplazarse automáticamente...o hay una manera más sencilla de lograr este
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Diciembre 7th, 2006, 8:05 am

  • IceCold
  • Guru
  • Guru
  • Avatar de Usuario
  • Registrado: Nov 05, 2004
  • Mensajes: 1254
  • Loc: Ro
  • Status: Offline

Nota Diciembre 8th, 2006, 3:56 am

¿por qué flash? hay divs desplegable en html
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Registrado: Ago 07, 2005
  • Mensajes: 294
  • Status: Offline

Nota Diciembre 8th, 2006, 12:35 pm

u puede mostrar cómo o enviarme a un tutorial i se puede hacer una marca dinámica que la información proviene de una base de datos MySQL...
  • IceCold
  • Guru
  • Guru
  • Avatar de Usuario
  • Registrado: Nov 05, 2004
  • Mensajes: 1254
  • Loc: Ro
  • Status: Offline

Nota Diciembre 10th, 2006, 11:06 pm

usando PHP, por supuesto :D
dinámica ticker se trata de una versión asp, pero i `m seguro de que su simple para escribir en php.
De lo contrario Google
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Registrado: Ago 07, 2005
  • Mensajes: 294
  • Status: Offline

Nota Diciembre 10th, 2006, 11:23 pm

puede tener 1 de JS, pero su dinámica no puede u ayúdame agregar la parte dinámica en PHP:

Código: [ Select ]
<!--scroller ticker for social elements
function addScrollers() {
// code each scroller as follows:
// startScroll('id of scroller div','content of scroller');
startScroll('myscroller','<p><a href="http:\/\/socialelementsinc.com/event_profile.htm\">12-14-06 &nbsp;&nbsp; <b>DOWNTOWN AFTER DARK</b> has JavaScript tutorials, help pages, and lots of free scripts.<\/a><\/p><p><a href="http:\/\/socialelementsinc.com/event_listings.htm\">Ask Felgall<\/a> for help with anything to do with computers.</p><p><a href="http:\/\/about.com\/">About.com<\/a> - the ultimate guide directed information resource on the web.<\/p>');
startScroll('twoscroll','<p>Yet another scroller!</p>');
}

var speed=15; // scroll speed (bigger = faster)
var dR=false; // reverse direction

// Vertical Scroller Javascript
// copyright 24th September 2005, by Stephen Chapman
// permission to use this Javascript on your web page is granted
// provided that all of the code below (as well as these
// comments) is used without any alteration
var step = 2; function objWidth(obj) {if(obj.offsetWidth) return obj.offsetWidth; if (obj.clip) return obj.clip.width; return 0;} function objHeight(obj) {if(obj.offsetHeight) return obj.offsetHeight; if (obj.clip) return obj.clip.height; return 0;} function scrF(i,sH,eH){var x=parseInt(i.top)+(dR? step: -step); if(dR && x>sH)x=-eH;else if(x<2-eH)x=sH;i.top = x+'px';} function startScroll(sN,txt){var scr=document.getElementById(sN); var sW = objWidth(scr)-6; var sH = objHeight(scr); scr.innerHTML = '<div id="'+sN+'in" style="position:absolute; left:3px; width:'+sW+';">'+txt+'<\/div>'; var sTxt=document.getElementById(sN+'in'); var eH=objHeight(sTxt); sTxt.style.top=(dR? -eH : sH)+'px'; sTxt.style.clip='rect(0,'+sW+'px,'+eH+'px,0)'; setInterval(function() {scrF(sTxt.style,sH,eH);},1000/speed);}
window.onload = addScrollers;
  1. <!--scroller ticker for social elements
  2. function addScrollers() {
  3. // code each scroller as follows:
  4. // startScroll('id of scroller div','content of scroller');
  5. startScroll('myscroller','<p><a href="http:\/\/socialelementsinc.com/event_profile.htm\">12-14-06 &nbsp;&nbsp; <b>DOWNTOWN AFTER DARK</b> has JavaScript tutorials, help pages, and lots of free scripts.<\/a><\/p><p><a href="http:\/\/socialelementsinc.com/event_listings.htm\">Ask Felgall<\/a> for help with anything to do with computers.</p><p><a href="http:\/\/about.com\/">About.com<\/a> - the ultimate guide directed information resource on the web.<\/p>');
  6. startScroll('twoscroll','<p>Yet another scroller!</p>');
  7. }
  8. var speed=15; // scroll speed (bigger = faster)
  9. var dR=false; // reverse direction
  10. // Vertical Scroller Javascript
  11. // copyright 24th September 2005, by Stephen Chapman
  12. // permission to use this Javascript on your web page is granted
  13. // provided that all of the code below (as well as these
  14. // comments) is used without any alteration
  15. var step = 2; function objWidth(obj) {if(obj.offsetWidth) return obj.offsetWidth; if (obj.clip) return obj.clip.width; return 0;} function objHeight(obj) {if(obj.offsetHeight) return obj.offsetHeight; if (obj.clip) return obj.clip.height; return 0;} function scrF(i,sH,eH){var x=parseInt(i.top)+(dR? step: -step); if(dR && x>sH)x=-eH;else if(x<2-eH)x=sH;i.top = x+'px';} function startScroll(sN,txt){var scr=document.getElementById(sN); var sW = objWidth(scr)-6; var sH = objHeight(scr); scr.innerHTML = '<div id="'+sN+'in" style="position:absolute; left:3px; width:'+sW+';">'+txt+'<\/div>'; var sTxt=document.getElementById(sN+'in'); var eH=objHeight(sTxt); sTxt.style.top=(dR? -eH : sH)+'px'; sTxt.style.clip='rect(0,'+sW+'px,'+eH+'px,0)'; setInterval(function() {scrF(sTxt.style,sH,eH);},1000/speed);}
  16. window.onload = addScrollers;


Por supuesto que me hizo escribir esto no he encontrado este fragmento de poco....
  • IceCold
  • Guru
  • Guru
  • Avatar de Usuario
  • Registrado: Nov 05, 2004
  • Mensajes: 1254
  • Loc: Ro
  • Status: Offline

Nota Diciembre 10th, 2006, 11:43 pm

a continuación, intente esto, usando iframe:
IFRAME ticker ...Parece bastante fácil y utiliza una fuente externa que puede ser dinámica de población de php.
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Registrado: Ago 07, 2005
  • Mensajes: 294
  • Status: Offline

Nota Diciembre 11th, 2006, 3:33 am

gracias funcionó y me dio otros consejos gran sitio
http://www.socialelementsinc.com/index.htm
  • bozboz
  • Novice
  • Novice
  • No Avatar
  • Registrado: Mar 13, 2007
  • Mensajes: 31
  • Loc: Brighton
  • Status: Offline

Nota Junio 7th, 2008, 12:09 pm

He realizado una dinámica ticker utilizando php / flash comprobar recientemente http://www.thevoyagerschool.com/index.php

Creo que la costumbre fuente capacidad le da un mejor sentir que un java / html un

Publicar Información

  • Total de mensajes en este tema: 8 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 40 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC