Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, I have the following line in my PHP file. echo"<a class='menu' href='http://www.royallays.co.uk' target='_top'>Royal Lays</a>"; How can I change it, so that instead of displaying the web url in Internet Explorers status bar (bottom left), it displays something more meaningful like "Royal Lays (UK SITE)"? Thanks, Mark
Post Follow-up to this messageMark wrote: > I have the following line in my PHP file. > > echo"<a class='menu' href='http://www.royallays.co.uk' > target='_top'>Royal Lays</a>"; > > How can I change it, so that instead of displaying the web url in > Internet Explorers status bar (bottom left), it displays something > more meaningful like "Royal Lays (UK SITE)"? > > By using a small bit of java script: echo "<a class='menu' href='http://www.royallays.co.uk' onmouseover='status=\"Royal Lays (UK SITE)\"; return true' onmouseout='status=\"\"; return true' target='_top'>Royal Lays</a>"; JW
Post Follow-up to this message"Janwillem Borleffs" <jw@jwscripts.com> wrote in message news:416d84d8$0$46396$cd19a363@news.euronet.nl... > Mark wrote: > > By using a small bit of java script: > > echo "<a class='menu' href='http://www.royallays.co.uk' > onmouseover='status=\"Royal Lays (UK SITE)\"; return true' > onmouseout='status=\"\"; return true' > target='_top'>Royal Lays</a>"; > > > JW > That works a treat - thanks very much :-) Thanks, Mark
Post Follow-up to this messageWhat about Mozilla, and Netscape Browsers it seems to ignore the status completely when using this example? > Mark wrote: > > By using a small bit of java script: > > echo "<a class='menu' href='http://www.royallays.co.uk' > onmouseover='status=\"Royal Lays (UK SITE)\"; return true' > onmouseout='status=\"\"; return true' > target='_top'>Royal Lays</a>"; > > > JW
Post Follow-up to this messageRon wrote: > What about Mozilla, and Netscape Browsers it seems to ignore the > status completely when using this example? > IE understands that with 'status', 'window.status' is implied. Gecko engine based browsers do not, so 'window.status' should be used instead. JW
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.