Jump to content


Scrolling affiliate bar


2 replies to this topic

#1 Obskewer

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 02 October 2005 - 08:40 PM

http://twisted-designs.servehttp.com

if you go to twisted-designs, youll see that the affiliate bar goes through all of the affiliates, and then stops until they all dissapear, and starts over. Could someone please help me by telling or showing me how i could make it so they scroll in a non stop loop? thanks for the help :P

EDIT: ill post up the code now... and this is php right? ;)

<!--
Scrolling Affilate Box w/ Text Area

Created by DjTsWiMr582/ManyGames 2-01-04
Please visit http://s3.invisionfree.com/manygames2/index.php for more codes-->

<tr>
<td>
<table cellpadding="3" cellspacing="1" border="0" width="100%">
<tr>
<td class="maintitle" align="center" colspan="3">
<font color="GRAY" size="2">
<b>Affiliates</b>
</font>
</td>
</tr>
<tr>
<td width="70%" valign="middle" class="row4">
<marquee scrollamount=8 onMouseover="this.scrollAmount=2" onMouseout="this.scrollAmount=8">

Links etc here
</marquee>
</td>

Edited by Obskewer, 02 October 2005 - 09:25 PM.


#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 02 October 2005 - 10:01 PM

Obskewer, on Oct 2 2005, 06:40 PM, said:

and this is php right? ;)
I don't mean to make fun of you or anything, but since you apperently know nothing about what runs the i-net, i'll give you some short simple answers to start out.
1. No, that's HTML/a little JavaScript.
2. Without a lot more JavaScript, no, you can't make it scroll non-stop.

I'm not exactly a JS expert, so i can't just post a simple script that would allow you to do something like that, but i can suggest you look into JavaScript marquee/scroll functions, and start some where near Here

#3 MillerTime

    Young Padawan

  • Members
  • Pip
  • 69 posts

Posted 02 October 2005 - 10:40 PM

change the scrollamount="8" to scrolldelay="8" and add scrollamount to how many milliseconds you want it to wait before starting over..set it to zero..

this is off the top of my head so i dont know if it will work





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users