Web Analytics Made Easy -
StatCounter animate jpg - CodingForum

Announcement

Collapse
No announcement yet.

animate jpg

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • animate jpg

    i got a moving logo on my index page working all right with this code:

    <MARQUEE scrollAmount=100 scrollDelay=200 width="100%" height=10 border="2" align="right"><IMG src="http://nostalgia.bravehost.com/nostalgialogo.jpg"></MARQUEE>

    but now i want to get three logos going in the left, right, left formation, but i cant figure out how to1: slow down the movement of the pic and 2: how to get the middle pic travelling in the opposite direction to the top and bottom pics

  • #2
    1: slow down the movement of the pic
    See highlighted keyword:

    Code:
    <MARQUEE scrollAmount=100 [color=red]scrollDelay[/color]=200 width="100%" height=10 border="2" align="right"><IMG  src="http://nostalgia.bravehost.com/nostalgialogo.jpg"></MARQUEE>
    Think in terms of "how many milliseconds between animation steps", larger values = slower animation.

    2: how to get the middle pic travelling in the opposite direction to the top and bottom pics
    Maybe a negative value for the "scrollAmount"?

    If this is a personal web site none of the following applies:

    Animation on a web page isn't good for business.

    The Marquee tag only works for people using Internet Explorer, it's not a valid HTML tag and has never been accepted by the W3C. MS isn't pushing to have it adopted either, it was something they thought they ought to do once and it's still there but it's not something you can count on everyone having.
    Check out the Forum Search. It's the short path to getting great results from this forum.

    Comment

    Working...
    X