Jump to content


maquee help


1 reply to this topic

#1 Bl4ck-Vip3r

    Young Padawan

  • Members
  • Pip
  • 41 posts

Posted 11 March 2007 - 02:47 PM

i have a marquee for my affiliates, i would like it to scroll and when it scrolls out of the box start at the other end of the box and when mouse over stop.

But at the moment it scrolls off and after about 3 seconds starts in the middle of the box :S.

<marquee width = 100% onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);">
<?php include "./Affiliate.php"; ?>
</marquee>

#2 SecondV

    Young Padawan

  • Members
  • Pip
  • 28 posts
  • Gender:Male
  • Location:Kentucky
  • Interests:All things PHP &amp; MySQL :)

Posted 11 March 2007 - 03:10 PM

<marquee width="100%" onmouseover="this.stop();" onmouseout="this.start();" scrollamount="2" direction="left">
<?php include "./Affiliate.php"; ?>
</marquee>

direction can be one of left, right, up, down.
scrollamount sets the speed





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users