The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am running 3.0.3 and I use Netscape. I tried to attach the Amber Alert ticker but it seems to interfere with the reply box. Does anyone have any suggestions as to how I can make this ticker work without interfering with the reply box?
Here is the code: Code:
<!-- Begin Code Amber Ticker code. --> <P ALIGN=CENTER> <SCRIPT LANGUAGE="JavaScript1.2" src="http://www.codeamber.org/js/codea.js"> </script> </P> <!-- end of Code Amber Ticker code (c)Copyright codeamber.org 2002, 2003, 2004--> Code:
<!-- Begin if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) { document.write('<SCRIPT LANGUAGE="JavaScript1.2" src="http://www.codeamber.com/js/iecodea.js"></script>'); } else { document.write('<SCRIPT LANGUAGE="JavaScript1.2" src="http://www.codeamber.com/js/nscodea.js"></script>'); } // end --> Code:
<!-- Begin //scroller width var swidth=460 //scroller height var sheight=25 //scroller's speed; var sspeed=6 var wholemessage='' //text: change to your own wholemessage='<div><a href=http://www.codeamber.org/?tck target="_blank" style="text-decoration:none;"><FONT SIZE=2 COLOR="#0080C0" FACE="VERDANA,ARIAL">This is the Code Amber </FONT><FONT SIZE=2 COLOR="#FF8000" FACE="VERDANA,ARIAL"><B>Amber Alert</B> Ticker:</FONT><font face=arial size=2 color="#000000">During an active AMBER Alert the ticker changes to a yellow background and provides details of the abduction. <U><B>Click Here</B></U> to add this ticker to your web site or your computer and to learn more about the AMBER Alert system, you could save a life. </a></FONT><a href=http://www.codeamber.org/video.html?tck target="_blank" style="text-decoration:none;"><font SIZE=2 color="#0080C0" face="VERDANA,ARIAL">Code Amber is a free service funded by our supporters and sponsors. Safety NET Kids (No Easy Targets) Supports Code Amber.</font></a></DIV>' function ca_start(){ if (document.all) return if (document.getElementById){ document.getElementById("slider").style.visibility="show" ns6marquee(document.getElementById('slider')) } else if(document.layers){ document.slider1.visibility="show" ns4marquee(document.slider1.document.slider2) } } function ns4marquee(whichlayer){ ns4layer=eval(whichlayer) ns4layer.document.write(wholemessage) ns4layer.document.close() sizeup=ns4layer.document.height ns4layer.top-=sizeup ns4slide() } function ns4slide(){ if (ns4layer.top>=sizeup*(-1)){ ns4layer.top-=sspeed setTimeout("ns4slide()",100) } else{ ns4layer.top=sheight ns4slide() } } function ns6marquee(whichdiv){ ns6div=eval(whichdiv) ns6div.innerHTML=wholemessage ns6div.style.top=sheight sizeup=sheight ns6slide() } function ns6slide(){ if (parseInt(ns6div.style.top)>=sizeup*(-1)){ ns6div.style.top=parseInt(ns6div.style.top)-sspeed setTimeout("ns6slide()",100) } else{ ns6div.style.top=sheight ns6slide() } } // End --> function docascroll() { document.write('<span style="borderWidth:1; borderColor:red; width:460; height:25;"><ilayer width=460 height=25 name="slider1" bgcolor="#ffffff" visibility=hide><layer name="slider2" onMouseover="sspeed=0;" onMouseout="sspeed=6"></layer></ilayer>'); if (document.all){ document.writeln('<marquee id="ieslider" scrollAmount=3 width=460 height=20 direction=left style="border:1 solid red;background-color:#ffffff">') document.writeln(wholemessage); ieslider.onmouseover=new Function("ieslider.scrollAmount=0"); ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=3"); document.write('</marquee>'); } if (document.getElementById&&!document.all){ document.write('<div style="position:relative;overflow:hidden;width:460;height:25;clip:rect(0 462 27 0); background-color:#ffffff;border:1px solid red;" onMouseover="sspeed=0;" onMouseout="sspeed=6">'); document.write('<div id="slider" style="position:relative;width:&{swidth};">'); document.write('</div></div>'); } document.write('</span>'); } ca_start(); docascroll(); // end --> Code:
<!-- Begin /* Cross browser Marquee script- ? Dynamic Drive (www.dynamicdrive.com) For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com Credit MUST stay intact */ var marqueewidth="460px" var marqueeheight="20px" var marqueespeed=2 var marqueebgcolor="#F7F7F7" var pauseit=1 var onetime="yes" var oneint=35 var marqueecontent='<nobr><a href=http://www.codeamber.org/?tck target="_blank" style="text-decoration:none;"><FONT SIZE=2 COLOR="#0080C0" FACE="VERDANA,ARIAL">This is the Code Amber </FONT><FONT SIZE=2 COLOR="#FF8000" FACE="VERDANA,ARIAL"><B>Amber Alert</B> Ticker:</FONT><font face=arial size=2 color="#000000">During an active AMBER Alert the ticker changes to a yellow background and provides details of the abduction. <U><B>Click Here</B></U> to add this ticker to your web site or your computer and to learn more about the AMBER Alert system, you could save a life. </a></FONT><a href=http://www.codeamber.org/video.html?tck target="_blank" style="text-decoration:none;"><font SIZE=2 color="#0080C0" face="VERDANA,ARIAL">Code Amber is a free service funded by our supporters and sponsors. Safety NET Kids (No Easy Targets) Supports Code Amber.</font></a></nobr>' ////NO NEED TO EDIT BELOW THIS LINE//////////// //marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS var copyspeed=marqueespeed var pausespeed=(pauseit==0)? copyspeed: 0 var iedom=document.all||document.getElementById if (iedom) { document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>') var actualwidth='' var cross_marquee, ns_marquee } function populate(){ if (iedom){ cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee cross_marquee.style.left=parseInt(marqueewidth)+8+"px" cross_marquee.innerHTML=marqueecontent actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth } else if (document.layers){ ns_marquee=document.ns_marquee.document.ns_marquee2 ns_marquee.left=parseInt(marqueewidth)+8 ns_marquee.document.write(marqueecontent) ns_marquee.document.close() actualwidth=ns_marquee.document.width } lefttime=setInterval("scrollmarquee()",oneint) } if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) { window.onfocus=populate } else { window.onload=populate } function scrollmarquee(){ oneint=0 if (iedom){ if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8)) cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px" else cross_marquee.style.left=parseInt(marqueewidth)+8+"px" } else if (document.layers){ if (ns_marquee.left>(actualwidth*(-1)+8)) ns_marquee.left-=copyspeed else ns_marquee.left=parseInt(marqueewidth)+8 } } if (iedom||document.layers){ with (document){ document.write('<table border="0" cellspacing="0" cellpadding="0"><td>') if (iedom){ write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">') write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">') write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>') write('</div></div>') } else if (document.layers){ write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>') write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>') write('</ilayer>') } } document.write('</td></table>') } // end --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|