Jump to content

Marquee Tag - XHTML

Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Marquee Tag - XHTML Rate Topic: -----

#1 User is offline   Man2u2uk 

  • W.R. Lieutenant
  • Group: Members
  • Posts: 396
  • Joined: 14-April 07
  • Gender:Male

Posted 08 March 2008 - 10:12 AM

Is there an XHTML version or an alternative to the marquee tag?

i want to use this tag on my shop to scroll through some special offer products.

will it hurt if i use it? will my page still validate

Thanks
0

#2 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 08 March 2008 - 11:15 AM

The first paragraph says it all: http://en.wikipedia....iki/Marquee_tag

Since scrolling text is a behavior and not a style, I would presume that any substitute will be JavaScript-based.
0

#3 User is offline   Man2u2uk 

  • W.R. Lieutenant
  • Group: Members
  • Posts: 396
  • Joined: 14-April 07
  • Gender:Male

Posted 08 March 2008 - 11:52 AM

Thanks,

i found the following code, which should be valid. hopefully if it works it should scroll my products upwards at a reasonable speed and stop scrolling when i hover over a product.

"><MARQUEE behavior= "scroll" align= "center" direction= "up" height="160" scrollamount= "1" scrolldelay= "5" onmouseover='this.stop()' onmouseout='this.start()'>


my next question is, should i use the code above as it is, or should i store it in an external file and call it?
0

#4 User is offline   Man2u2uk 

  • W.R. Lieutenant
  • Group: Members
  • Posts: 396
  • Joined: 14-April 07
  • Gender:Male

Posted 08 March 2008 - 12:39 PM

Wiki solved it :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users