ho quindi usato un DIV per posizionare le immagini
<div class="marquee" id="mycrawler2">
<a href="http://www.webalice.it/veneziasecca/FotoVarie/F-15_14b.jpg">
<img src="http://www.webalice.it/veneziasecca/FotoVarie/F-15_14b_R.jpg"
border=1></a>
</div>
qui vedete cosa intendo fare
http://www.webalice.it/veneziasecca/pagina4.html
vorrei pero' visualizzare le foto in uno spazio della stessa pagina (usando
un DIV),
non so pero' come gestire il riferimento al DIV.
credo la logica sia questa
- aggiungere un Div .... <div class="marquee" id="mycrawler3">
- aggiungere del nuovo DIV <img src="path immagine>
- togliere dal DIV mycrawler2 <img src ....>
Maurizio
// ****** questo lo script Crowler.js
/* Text and/or Image Crawler Script �2009 John Davenport Scheuer
as first seen in http://www.dynamicdrive.com/forums/
username: jscheuer1 - This Notice Must Remain for Legal Use
*/
///////////////// DO NOT EDIT /////////////////
function marqueeInit(config){
if(!document.createElement) return;
marqueeInit.ar.push(config);
marqueeInit.run(config.uniqueid);
}
(function(){
if(!document.createElement) return;
marqueeInit.ar = [];
document.write('<style
type="text/css">.marquee{white-space:nowrap;overflow:hidden;visibility:hidden;}'
+
'#marq_kill_marg_bord{border:none!important;margin:0!important;}<\/style>');var c = 0, tTRE = [new RegExp('^\\s*$'), new RegExp('^\\s*'),newRegExp('\\s*$')], req1 = {'position': 'relative', 'overflow': 'hidden'},defaultconfig = { style: { //default style object for marquee containerswithout configuredstyle 'margin': '0 auto' }, direction: 'left', inc: 2,//default speed - pixel increment for each iteration of amarquee's movementmouse: 'pause' //default mouseover behavior ('pause' 'cursor driven'orfalse) }, dash, ie = false, oldie = 0, ie5 = false, iever = 0; /*@cc_on@*/ /*@if(@_jscript_version >= 5) ie = true; try{document.documentMode =2000}catch(e){}; iever =Math.min(document.documentMode,navigator.appVersion.replace(/^.*MSIE(\d+\.\d+).*$/, '$1')); if(iever < 6) oldie = 1; if(iever < 5.5){Array.prototype.push = function(el){this[this.length] = el;}; ie5 = true;dash = new RegExp('(-(.))'); String.prototype.encamel = function(s, m){ s= this; while((m = s.match(das!
h))) s = s.replace(m[1],m[2].toUpperCase()); return s; }; } @end @*/ if(!ie5){ dash = newRegExp('-(.)', 'g'); function toHump(a, b){return b.toUpperCase();};String.prototype.encamel = function(){return this.replace(dash, toHump);}; }if(ie && iever < 8){ marqueeInit.table = []; window.attachEvent('onload',function(){ marqueeInit.OK = true; for(var i = 0; i <marqueeInit.table.length; ++i) marqueeInit.run(marqueeInit.table[i]); }); } function intable(el){while((el = el.parentNode)
--
Newsgroup robomoderato - gli articoli vengono approvati automaticamente
> ho posto uno script Java per scorrere le immagini (evideziato con
Non e` uno script Java, ma un Javascript (sono due cose completamente
diverse).
Chiedi su it.comp.lang.javascript
Bye.