By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,289 Members | 3,049 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,289 IT Pros & Developers. It's quick & easy.

did not work in mozilla!!

P: 53
Hello i have some code that runs nicely in internet explorer but doesn't work in mozilla. Following is my code:

[HTML]

<A HREF="sitemap.html" onMouseOver="status='Go to Site Map'; return true;">

[/HTML]

Can anybody help me with above code.Also on clicking this link it shows the acutal URL.. I need to show only the status value that i have given above while clicking also.

Thanks in advance
Mar 24 '08 #1
Share this Question
Share on Google+
3 Replies


P: 9
Hello i have some code that runs nicely in internet explorer but doesn't work in mozilla. Following is my code:

[HTML]

<A HREF="sitemap.html" onMouseOver="status='Go to Site Map'; return true;">

[/HTML]

Can anybody help me with above code.Also on clicking this link it shows the acutal URL.. I need to show only the status value that i have given above while clicking also.

Thanks in advance
try using java script

<script language="JavaScript">
<!--
var statusbarmessage="Status Bar message";
function statustype()
{
window.status = statusbarmessage;
}
-->
</script>

and then call this function in your anchor tag

may be it will help
Mar 24 '08 #2

P: 9
Hello i have some code that runs nicely in internet explorer but doesn't work in mozilla. Following is my code:

[HTML]

<A HREF="sitemap.html" onMouseOver="status='Go to Site Map'; return true;">

[/HTML]

Can anybody help me with above code.Also on clicking this link it shows the acutal URL.. I need to show only the status value that i have given above while clicking also.

Thanks in advance

hey hi,
I think i got the solution...
its the mozilla firefox setting...
try doing this...may be it will work...

go to tools option of mozilla firefox...
Tools -> Options -> Web Features -> Advanced and check the box ON for "Change status bar text"

(if web features options is not there then its content option)
then try it out..
i tried it and i got...
Mar 25 '08 #3

gits
Expert Mod 5K+
P: 5,352
just one note: this is bad practice -> when you hover a link the link's target should be displayed ... otherwise this may be considered as url-spoofing ... so the standard preference in moz/ff is set to OFF ... so even when you enable it in your browser ... it might fail in the users browsers ... just don't do this ...

kind regards
Mar 25 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.