I am having problems getting my onmouseover to work
This is what I have in the external.js file:
The tips "theTips1" should be invisable when the page opens
but they are not.
and then lower down I have this:
Interestingly the "Guidance Notes" does not show up in red,
so something is pretty badly wrong, but I can not see what
it is
Also the mouseover/mouseout don't do anything.
Can anyone see what I've done wrong ?
thanks
This is what I have in the external.js file:
The tips "theTips1" should be invisable when the page opens
but they are not.
Code:
function start(){ document.getElementById("theTips1").style.visibility = "hidden"; document.getElementById("ticker").style.visibility = "hidden"; } // end of function function show_tips(targetID) { document.getElementById(targetID).style.visibility = "visible"; } // end of function function hide_tips(targetID) { document.getElementById(targetID).style.visibility = "hidden"; } // end of function This code is in the body <body onload="start();externalLinks();">
Code:
<div id="theTips1" class = "tips" style='width:400px; text-align:left; position:absolute;left:400px; top:450px;'> <b>Writing your Product Description.</b> <br> Write as much as you can - the more you write the better your advert will look. Your format will be kept; so you can use the enter key to make seperate paragraphs to build an attractive advert.<br> <br> Your first sentences will be displayed in the listing as well as on your main advert so<br> make these first sentences interesting and inviting. <br> <br> </div> <div class="page_name"> Control Panel </div> <!-- End div: page_name --> <div class="pg_whole"> <span class="pg_head">Add a New Product.</span> <span id="readthis" style="font-size: 8pt; font-color: red;" onmouseover="show_tips(theTips1)" onmouseout="hide_tips(theTips1)">Guidance Notes</span> </div>
so something is pretty badly wrong, but I can not see what
it is
Also the mouseover/mouseout don't do anything.
Can anyone see what I've done wrong ?
thanks
Comment