View Full Version : it is my script challenge

05-05-2006, 02:51 PM
here is code
<div state="0">
<div style="cursor:pointer;" onMouseOver="initMenu(this);"><u>More text</u>
<div style="display:none;" state="0">
Go to <a href="http://www.google.com.au/" target="_new">google</a>

code above is used for show/hide text (src=a js file in <head>).
when user clicks More text, hidden text is shown.

now I want to add more text in same line as More text, so it looks like:
Please see More text or go to the Link.

I hope hidden text is shown only when user clicks on More text.
if user clicks Link, a new page will be displyed (as click on <a....>).

currently in my test, hidden text is shown if click on any part of the text bellow:
Please see More text or go to the Link.

how to do it?


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum