| | |
| | |
| borgo italia |
| | considerato che il tag <marque> č deprecato ecco un marque in js (nello zip il crawler.js) CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>marque con js</title> <script type="text/javascript" language="javascript" src="_fileJS/crawler.js"></script> <script type="text/javascript"> <!-- marqueeInit({ uniqueid: 'mycrawler2', //stile della finestra style: { 'padding': '0px',//da il padding in verticale 'background-color': '#999999', 'width': '100%',//largnezza finestra scorrimento ('xxxpx' 'yy%') funzione del contenuto 'height': '110px'//altezza finestra scorrimento }, inc: 3, //speed - pixel increment for each iteration of this marquee's movement //pause: si ferma col cursore sopra //cursor driven: inverte senzo di scorrimento o ferma con cursore in centro //false: non si arresta mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false) moveatleast: 1,//velocitą di scorrimento neutral: 150, direction: 'right',//direzione ('left' 'right') savedirection: true }); // --> </script> </head> <body> <div><- stop mouse over -></div> <div class="marquee" id="mycrawler2"> <b> pinco pallo </b> <b> sempronio </b> <!-- oppure immagini: esempio <img src="cartella/img_1.jpg" alt="img_1" width="180" height="112" border="0"/> <img src="cartella/img_2.gif" alt="img_2" width="180" height="112" border="0"/> <img src="cartella/img_3.png" alt="img_3" width="180" height="112" border="0"/> ...eccetera, con o senza link...... oppure: link --> <a href="#" target="_blank"> link 1 </a> </div> </body> </html>
| | |
| |
|
| 0 replies since 7/5/2012, 10:10 284 views |
| |
| | |