|
| |
|
|
LB
Posts: 5551 From: Montana USA Status: offline
|
bye bye On-click Outline - 8/11/2000 14:26:00
quote: Originally posted by Andy from Guam: I have a question. I'm working on a page that I designed triangle shaped buttons for the menu with mouseover effects. It looks cool when you move the mouse over it but when you actually 'click' on one of the buttons it creates that annoying 'grey outline of a square' that just ruins the whole effect. You know what I mean, the square box, like when you click on the 'outfront forums' logo above. Would I have to do some sort of image mapping to just make the button only outline a triangle? And would that work with the mouseover (I use Jbots)? Thank You
quote: answered by Andy from Spain: Hi Andy, Put this into your HEAD section<script language="JavaScript" type="text/javascript"> <!-- function ExplorerFix() { for (a in document.links) document.links [a].onfocus = document.links[a].blur; } if (document.all) { document.onmousedown = ExplorerFix; } // --> </script> I think it's what you are after. Cheers Andy ------------------ Internet Business Solutions S.L. (Spain)
Another tip: Be sure to copy and paste this code into Notepad and then copy/paste to FrontPage
|
|
|
|
MichaelMichael
Posts: 48 From: USA Status: offline
|
RE: bye bye On-click Outline - 9/11/2000 17:41:00
Have two questions:1. When people say "put this in your Head section, do they mean in the <head> and </head> part of the HTML? 2. As far as the code above: Will this affect display on MS Internet Explorer browser only? Can it mess up how the display will look in Netscape? Will putting this code in the header affect load time? Does using Javascript in anyway cause incapabilities in various browsers? I have tried to keep my site pretty much meat and potatoes to make it load fast across all browsers so I don't want to unnecessarily increase overhead but, LB, said, "It looks GREAT! For one final polishing touch I'd recommend this" and gave the link you're reading now. So, I'm just following her advice and looking into this. www.networkaction.com Thank you
|
|
|
|
Andy from Spain
Posts: 922 From: Ipswich Status: offline
|
RE: bye bye On-click Outline - 9/11/2000 17:53:00
Hi,1. Yep, between the head tags as you state. 2. The idea is that it is a fix for MSIE and will eliminate the ugly fine line box on image maps, NN will ignore it and it won't add anything significant to loading times. I would use it on your site (which looks very smart by the way) - as Linda says "to polish it off" Cheers Andy ------------------ Internet Business Solutions S.L. (Spain)
|
|
|
|
MichaelMichael
Posts: 48 From: USA Status: offline
|
RE: bye bye On-click Outline - 9/13/2000 20:06:00
I forgot to ask:When I "put it on my site;" do I just put it on the home page, or do I paste it into every page on the site, one at a time? If I paste it in the HTML of every page, is there any way to paste it on all the pages automatically in Frontpage 2000? Thank you. [This message has been edited by MichaelMichael (edited 09-13-2000).]
|
|
|
|
LB
Posts: 5551 From: Montana USA Status: offline
|
RE: bye bye On-click Outline - 9/13/2000 23:15:00
You'll need to paste it into each page. If you're using a template, you'll be able to put this into it.Andy might have some other ideas, but that's all I can think of. Linda ------------------ Outfront Communications Ruby Marketing
|
|
|
|
Andy from Spain
Posts: 922 From: Ipswich Status: offline
|
RE: bye bye On-click Outline - 9/13/2000 13:14:00
Hi,I suppose it's the type of thing you want to remember right from the start 'cos if not it's copy and pasting - hope it's a small site. Cheers Andy ------------------ Internet Business Solutions S.L. (Spain)
|
|
|
|
LB
Posts: 5551 From: Montana USA Status: offline
|
RE: bye bye On-click Outline - 9/13/2000 17:31:00
"Find" can make it easy. Just look for whatever is just before where you want to paste - say you have the FrontPage 4.0 tag line in there - each time it finds it use Control + v to paste in your code. If it's something you want to keep in the page, remember to arrow over first.  Linda ------------------ Outfront Communications Ruby Marketing
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|