Killersites.com Homepage

Print at Jun 18, 2013 7:24:44 PM
Posts: 13   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by kiran22smiles at Aug 6, 2008 2:31:59 AM
confused   how to control marquee tag?
Hi there,

I know fully how to use the html marquee tag, but when i put something in for it to scroll to the left, the text sentence scrolls to the left, but then there is a gap (like a pause) then it loops again.

Is there any way to not include this blankgap to it is continuously scrolling like a conveyor belt?

Posted by Wickham at Aug 6, 2008 2:39:33 AM
Re: how to control marquee tag?
It should start the next scroll as soon as the previous text has scrolled off the screen. If not, I suggest that you repeat the text inside the marquee tag with a few spaces in between, like:-

Text in marquee tag   Text in marquee tag   Text in marquee tag   

which should show the text snippets following each other.

(You may get advice from others not to use the marquee tag; they don't like it and it doesn't validate".
----------------------------------------
Code downloaded to my PC will be deleted in due course.
WIN XP SP3; IE7, Firefox 3.0, Opera and Safari for Windows; screen resolution usually 1024x768.
IE6 on W98 with 800*600.

Posted by Thelma at Aug 6, 2008 5:05:51 AM
Re: how to control marquee tag?
(You may get advice from others not to use the marquee tag; they don't like it and it doesn't validate".
Here's some advice, Kiran: Don't use it! It's annoying, hard to read, and it's only supported in IE (not sure if all versions or just the older ones).

And it doesn't validate.
----------------------------------------
...

Posted by LSW at Aug 6, 2008 9:11:30 AM
Re: how to control marquee tag?
There is no Marquee tag.

(fill in with "yes there is...")

No there isn't. You will not find it in the specs of HTML which means it does not exist (hence it does not validate). It is a tag M$ thought up and tried to make a standard and it failed (though not quite as badly as Netscape's "Blink" tag.)

It was only supported in IE, at some point Mozilla began supporting it.

But truth told

  • It is not HTML.

  • It does not validate.

  • Not all browsers and other user agents support it, so you will have truncated text (It will not scroll and you will only see partial text).

  • It is found by most users to be irritating.

  • It is problematic for those with disabilities such as poor eyesight and things such has attention deficet, Dyslexia and other cognitive disorders who will find it drawing their attention away from the content they wish to read and they came to the site for.

  • People all read at different speeds, so 80% of users will find it to slow or to fast to read comfortably.

  • The user has not control over it. We build sites for the user, so the user needs to control how they read the content.

  • Never set an automatic scroll. If you must use such gimicks, use JavaScript scroller scripts that allow the user to slow/increase the speed as needed. Or use a DIV with a set size and set the overflow to auto so that they can scroll at their own speed.

  • Beware of using gimicks. It is about building for the needs of the user ad if a gimick will make content difficult to use/read... then it fails.


Posted by tpattison at Aug 6, 2008 10:15:09 AM
Re: how to control marquee tag?
Just to add to the debate, there used to be a DoS (denial of service) bug "caused by improper handling of specially-crafted HTML marquee tags" that affected Numerous browsers, including Firefox, Internet Explorer and Opera!
----------------------------------------
Pavonis Mons | Listen of the week: "Residue of Desire" by Acumen

Posted by LSW at Aug 6, 2008 11:29:51 AM
Re: how to control marquee tag?
That one is new to me. Interesting...

Posted by kiran22smiles at Aug 8, 2008 6:38:15 AM
Re: how to control marquee tag?
thnx to all

Posted by elena at Sep 4, 2008 11:15:07 AM
Re: how to control marquee tag?
add the marquee tag as literal control in page load function
Literal marquee =
new Literal ();
marquee.Text =''<marquee>MyText</marquee>'';
this.Controls.Add(marquee) ;
----- i hope it helped u

Posted by jlhaslip at Sep 15, 2008 8:51:12 PM
Re: how to control marquee tag?
Best control for the marquee tag is a CSS style that includes {display:hidden} or {display:none}

Posted by LSW at Sep 15, 2008 11:47:27 PM
Re: how to control marquee tag?
misuse of display hidden or display done can and will result in portions of the web site.content not being available to disabled users and should be used only with extreme caution when their use is well understood.

Posts: 13   Pages: 2   [ 1 2 | Next Page ]