Author |
Topic |
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 16 September 2003 : 20:50:47
|
Don't know if this i the right forum, bu t I'll try anyways *S*
My question is? How do I write in simple Html some code on my Hyperlinks that will change the statusbar message to whatever i like, I have a tutor system on my website with alt of pop_up windows with Javascript and in the status bar the code "javascript pop_up etc.etc." is shown, and I think it look's kinda amateur and would like to change this. Can somebody help, is there a simple code line (tag thing) to do this? |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 16 September 2003 : 21:27:22
|
<a href="http://www.someplace.com" onMouseOver="(window.status='Your words here');">Some link</a> |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
Edited by - Nikkol on 16 September 2003 21:27:34 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 16 September 2003 : 21:32:59
|
You'll want to consider an onMouseOut as well so you don't leave orphaned messages...
<a href="http://www.someplace.com" onMouseOver="(window.status='Your words here');" onMouseOut="(window.status='');">Some link</a> |
|
|
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 16 September 2003 : 22:13:15
|
Okay, I'll try this
And thanks for the quick reply ;-) |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 16 September 2003 : 22:58:08
|
Hi again
Can't seem to get it to work, I have a code like like this
<a href="javascript:popUp('popup_akkorder/popup_Adur.htm')" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('durakkorder_r2_c1','','Images/akkordskema/durakkorder_r2_c1_f2.gif',1)"><img name="durakkorder_r2_c1" src="Images/akkordskema/durakkorder_r2_c1.gif" width="167" height="130" border="0" alt="">
I cant seem to figure out where exactly to put it, Please help :-)
|
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
Edited by - acoustika on 16 September 2003 22:59:05 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 16 September 2003 : 23:11:37
|
<a href="javascript:popUp('popup_akkorder/popup_Adur.htm')" onMouseOut="MM_swapImgRestore();(window.status='');" onMouseOver="MM_swapImage('durakkorder_r2_c1','','Images/akkordskema/durakkorder_r2_c1_f2.gif',1);(window.status='Your words here');"><img name="durakkorder_r2_c1" src="Images/akkordskema/durakkorder_r2_c1.gif" width="167" height="130" border="0" alt=""></a> |
|
Edited by - dayve on 16 September 2003 23:12:53 |
|
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 16 September 2003 : 23:28:57
|
I thougt so too, but I have tried that, and again and it keeps writing javascript:popUp('popup_akkorder/popup_Adur.htm') in the statusbar???????
this is my new line
<a href="javascript:popUp('popup_akkorder/popup_Adur.htm')" onMouseOut="MM_swapImgRestore();(window.status='');" onMouseOver="MM_swapImage('durakkorder_r2_c1','','Images/akkordskema/durakkorder_r2_c1_f2.gif',1);(window.status='Your words here');"><img name="durakkorder_r2_c1" src="Images/akkordskema/durakkorder_r2_c1.gif" width="167" height="130" border="0" alt=""></a> |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 16 September 2003 : 23:38:45
|
And by the way The frame this link is in, is in a Iframe, don't know if this has anything to do with it?? |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 16 September 2003 : 23:51:58
|
wooops, forgot a very important part...
<a href="javascript:popUp('popup_akkorder/popup_Adur.htm')" onMouseOut="MM_swapImgRestore();(window.status='');return true;" onMouseOver="MM_swapImage('durakkorder_r2_c1','','Images/akkordskema/durakkorder_r2_c1_f2.gif',1);(window.status='Your words here');return true;"><img name="durakkorder_r2_c1" src="Images/akkordskema/durakkorder_r2_c1.gif" width="167" height="130" border="0" alt=""></a>
|
|
|
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 16 September 2003 : 23:58:50
|
Whew that did it ;-), many thanks. May I ask why it did work, If you got the time ;-) |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
|
Topic |
|