Marquee on links

D

Dan

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.
 
S

Steve Pugh

Dan said:
How can I stop a marquee from appearing around a selected link on a webpage?

Don't include the said:
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
 
W

Weyoun the Dancing Borg

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|
|. |\./| .|
| \^.\ |\\.//| /.^/ |
| \--.|\ |\\.//| /|.--/ |
| \--.| \ |\\.//| / |.--/ |
| \---.|\ |\./| /|.---/ |
| \--.|\ |\./| /|.--/ |
| \ .\ |.| /. / |
| _ -_^_^_^_- \ \\ // / -_^_^_^_- _ |
| - -/_/_/- ^ ^ | ^ ^ -\_\_\- - |
| __________________________________|__
\_/____________________________________/
 
R

rf

Weyoun the Dancing Borg said:
X-No-Archive: yes
Steve Pugh wrote:



who invented that tag anyway,
Microsoft.

and why did they ever think it would be
useful?

Why do they do anything?

Cheers
Richard.
 
W

Weyoun the Dancing Borg

X-No-Archive: yes
rf said:
"Weyoun the Dancing Borg" <weyoun@removethis@@dancingborg.co.uk>
wrote in message


Microsoft.

oh. well that answers that then :)



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

rf

Weyoun the Dancing Borg said:
X-No-Archive: yes


oh. well that answers that then :)

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

Invented by Netscape.

Cheers
Richard.
 
M

Marco Bakker

Weyoun the Dancing Borg said:
X-No-Archive: yes
Steve Pugh wrote:



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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top