hello20109876
05-05-2006, 08:51 AM
here is code
------------------------------------------
<div state="0">
<div style="cursor:pointer;" onMouseOver="initMenu(this);"><u>More text</u>
</div>
<div>
<div style="display:none;" state="0">
Go to <a href="http://www.google.com.au/" target="_new">google</a>
</div>
</div>
</div>
------------------------------------------
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?
.
------------------------------------------
<div state="0">
<div style="cursor:pointer;" onMouseOver="initMenu(this);"><u>More text</u>
</div>
<div>
<div style="display:none;" state="0">
Go to <a href="http://www.google.com.au/" target="_new">google</a>
</div>
</div>
</div>
------------------------------------------
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?
.