Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Marquee on links

Reply
Thread Tools

Marquee on links

 
 
Dan
Guest
Posts: n/a
 
      01-26-2004
How can I stop a marquee from appearing around a selected link on a webpage?

I've got the following:

<a href="work.html" onMouseOver="document.menu1.src=on1.src"
onMouseOut="document.menu1.src=off1.src"><img src="images/menu/work-off.jpg"
name="menu1" border=0></a><br>

and if the user clicked on it, then clicks the 'back' button - then that
image has a marquee around it.

Is there any way around this?

Cheers,
Dan.


 
Reply With Quote
 
 
 
 
Steve Pugh
Guest
Posts: n/a
 
      01-26-2004
"Dan" <(E-Mail Removed)> wrote:

>How can I stop a marquee from appearing around a selected link on a webpage?


Don't include the <marquee> element in your code.

>I've got the following:
>
><a href="work.html" onMouseOver="document.menu1.src=on1.src"
>onMouseOut="document.menu1.src=off1.src"><img src="images/menu/work-off.jpg"
>name="menu1" border=0></a><br>
>
>and if the user clicked on it, then clicks the 'back' button - then that
>image has a marquee around it.


Oh, you didn't mean a marquee in the HTML sense (scrolling text). What
you're seeing is the focus rectangle and it's an aid to accessibility
and usability. Some users, such as those who use a keyboard rather
than a mouse to navigate, rely upon it. Removing it would make your
site more difficult to use.

There's no HTML or CSS way to remove it in IE (neither Opera now
Mozilla doesn't show it when you go back to a page) so you'd have to
use JavaScript. But better to leave it be and not inconvenience any of
your users.

It appears on all links on all sites so users are used to seeing it
and even if they don't like it (most users don't even notice it) they
won't think any less of your site because of it.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <(E-Mail Removed)> <http://steve.pugh.net/>
 
Reply With Quote
 
 
 
 
Weyoun the Dancing Borg
Guest
Posts: n/a
 
      01-27-2004
X-No-Archive: yes
Steve Pugh wrote:


> Don't include the <marquee> element in your code.


who invented that tag anyway, and why did they ever think it would be
useful?



--
_______________________________________
/\ \
\_| Legalise today |
| http://www.norml.org |
| |
| | |
| |.| |
|web: http://www. |.| e-mail: weyoun@|
|dancingborg |\./| dancingborg|
|.co.uk |\./| .co.uk|
|. |\./| .|
| \^.\ |\\.//| /.^/ |
| \--.|\ |\\.//| /|.--/ |
| \--.| \ |\\.//| / |.--/ |
| \---.|\ |\./| /|.---/ |
| \--.|\ |\./| /|.--/ |
| \ .\ |.| /. / |
| _ -_^_^_^_- \ \\ // / -_^_^_^_- _ |
| - -/_/_/- ^ ^ | ^ ^ -\_\_\- - |
| __________________________________|__
\_/____________________________________/


 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      01-27-2004

"Weyoun the Dancing Borg" <weyoun@removethis@@dancingborg.co.uk> wrote in
message news:VxoRb.11585$(E-Mail Removed)...
> X-No-Archive: yes
> Steve Pugh wrote:
>
>
> > Don't include the <marquee> element in your code.

>
> who invented that tag anyway,


Microsoft.

> and why did they ever think it would be
> useful?


Why do they do anything?

Cheers
Richard.


 
Reply With Quote
 
Weyoun the Dancing Borg
Guest
Posts: n/a
 
      01-27-2004
X-No-Archive: yes
rf wrote:

> "Weyoun the Dancing Borg" <weyoun@removethis@@dancingborg.co.uk>
> wrote in message
> news:VxoRb.11585$(E-Mail Removed)...
>> X-No-Archive: yes
>> Steve Pugh wrote:
>>
>>
>>> Don't include the <marquee> element in your code.

>>
>> who invented that tag anyway,

>
> Microsoft.


oh. well that answers that then



I think the second most stupid tag is <blink>.



 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      01-27-2004

"Weyoun the Dancing Borg" <weyoun@removethis@@dancingborg.co.uk> wrote in
message news:QPoRb.11592$(E-Mail Removed)...
> X-No-Archive: yes
> rf wrote:
>
> > "Weyoun the Dancing Borg" <weyoun@removethis@@dancingborg.co.uk>
> > wrote in message
> > news:VxoRb.11585$(E-Mail Removed)...
> >> X-No-Archive: yes
> >> Steve Pugh wrote:
> >>
> >>
> >>> Don't include the <marquee> element in your code.
> >>
> >> who invented that tag anyway,

> >
> > Microsoft.

>
> oh. well that answers that then
>
> I think the second most stupid tag is <blink>.


Invented by Netscape.

Cheers
Richard.


 
Reply With Quote
 
Kris
Guest
Posts: n/a
 
      01-27-2004
In article <VxoRb.11585$(E-Mail Removed)>,
"Weyoun the Dancing Borg" <weyoun@removethis@@dancingborg.co.uk>
wrote:

> > Don't include the <marquee> element in your code.

>
> who invented that tag anyway,


Marquee Mark.

--
Kris
<(E-Mail Removed)> (nl)
<http://www.cinnamon.nl/>
 
Reply With Quote
 
Marco Bakker
Guest
Posts: n/a
 
      01-27-2004
"Weyoun the Dancing Borg" <weyoun@removethis@@dancingborg.co.uk> wrote:

> X-No-Archive: yes
> Steve Pugh wrote:
>
>
> > Don't include the <marquee> element in your code.

>
> who invented that tag anyway, and why did they ever think it would be
> useful?


A lot of people in Asia like it. This is also the reason why the
developers of Safari decided to support it, as some prominent websites
overthere are using it.

--
marco
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transparent items marquee? UJ ASP .Net 0 04-25-2006 05:47 PM
MARQUEE =?Utf-8?B?TWFyZWsgRw==?= ASP .Net 1 02-20-2006 04:18 PM
how to use marquee in asp.net? =?Utf-8?B?RGFuaWVs?= ASP .Net 3 10-06-2005 08:28 PM
Marquee from database =?Utf-8?B?QWxp?= ASP .Net 1 04-06-2005 11:14 AM
Marquee with a dataset? et ASP .Net 1 10-17-2004 04:11 PM



Advertisments