2 replies [Last post]
omkar
omkar's picture
Offline
newbie
India
Last seen: 12 years 35 weeks ago
India
Timezone: GMT+5.5
Joined: 2009-12-29
Posts: 7
Points: 11

Hi All,
I create a scrolling text with help of marquee tag.Now i have a problem,
the image/text not visible.

I need the image/text start from top and hang for a moment start the scrolling towards top.

and my code like this

:-

<marquee onmouseover="stop()" onmouseout="start()" direction="up" style="cursor:pointer" width="97" height="300" scrollamount="3"><img src="images/test.jpg" alt="test" width="100" height="97" /><br /><img src="images/test2.jpg" alt="test2" width="100" height="97" /><br /><img src="images/test3.jpg" alt="test3" width="100" height="97" /><br /><img src="images/test4.jpg" alt="test4" width="100" height="97" /><br /><img src="images/test5.jpg" alt="test5" width="100" height="97" />
</marquee> 

-:

Thanks

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 3 weeks 2 days ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2053
Points: 2285

OK, I'm just going to give it

OK, I'm just going to give it to you straight. Don't use <marquee> tags. Just don't. Not only are they not valid markup, they are also very annoying.

Basically no one is going to wait for the part that they should already be able to scan toward. Best case, the marquee is ignored. Worst case, it'll drive away viewers.

Hope this helps. Smile

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 38 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Such tags are circa 1998.

Such tags are circa 1998. They are deprecated, redundant, and reviled, on a par with the 'font' tag and 'center' tag.

Sorry realise it's not what you wanted to hear Smile If you really have to scroll text then you use the behaviour layer i.e scripting. Look through the jQuery plugin library, there are plenty of copy and paste scripts you can use that do this sort of thing.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me