Banner Scroll

free web hosting
Open Discussion > General > Hosted Members Area

Banner Scroll

simipro
<script language="JavaScript1.2">
var sliderwidth="200px"
var sliderheight="33px"
var slidespeed=1
slidebgcolor="#000000"
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="link here" target=_blank><img src=banner link here width=88 height=31 border=0></a>'
leftrightslide[1]='<a href="link here" target=_blank><img src=banner link here width=88 height=31 border=0></a>'
leftrightslide[2]='<a href="link here" target=_blank><img src=banner link here width=88 height=31 border=0></a>'
leftrightslide[3]='<a href="link here" target=_blank><img src=banner link here width=88 height=31 border=0></a>'
leftrightslide[4]='<a href="link here" target=_blank><img src=banner link here width=88 height=31 border=0></a>'

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(" ")+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+20+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+20
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+30+"px"

if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+30+"px"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+30

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+30
}
}


if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</script>

 

 

 


Reply

spawn_syxx9
This should allow us to have banners scroll up and down our pages?

Reply

guangdian
I use some Banners & use this script to show it one by one?

Reply

NeXDesigns
does this include the image fade script or just a scroller? or is the fade script addable (wont interfere) just wondering

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. html banner scroll - 361.48 hr back. (1)
Similar Topics

Keywords : banner, scroll

  1. Trap17 Banner
    Proposition to Trap17 (5)
  2. Banner Exchange?
    (2)
    i was reading a post not long ago about a banner exchange program that was going to be here under
    trap17, just for hosted members... well it got mea real excited, and id love to participate, if only
    i could figure out where.. /sad.gif" style="vertical-align:middle" emoid=":(" border="0"
    alt="sad.gif" /> does anyone have any information regarding the banner exchange program?
    thanks!....
  3. Banner/button
    (4)
    hello, I am wondering where to get a banner or button of trap17 for my site. I want the button or
    banner because i am making a tutorial on how to build a web site and want to mention trap17. If you
    wouldn't also mind could i get banners/buttons for other Xisto hosting sites? Thank you in
    advance.....
  4. A Non For Profit Banner
    A banner for the red cross (14)
    I would like to add a non for profit banner to my site to help the Red Cross collect funds for the
    Hurricane Katrina victims. Is this against trap17 rules is what I am trying to find out. If so can
    you please tell me another alternative. My board and I would really like to give to those who have
    lost alot in this disaster.....
  5. Phbb Banner
    (9)
    i have a question i created PHPBB forums in my website and i just want to know tht how do i add a
    googleadsense banner or TRAP17 banner code at the top of the forums like this forum has it...cuz
    invasion board is different from phpbb and i knw how to do it for invasion board......

    1. Looking for banner, scroll

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for banner, scroll

*MORE FROM TRAP17.COM*
advertisement



Banner Scroll



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE