PDA

View Full Version : popup text


benslayton
08-02-2006, 05:04 PM
I need help with this script:
<FORM METHOD="post">

<INPUT TYPE="button" VALUE="Click me!"

OnClick = "hint_wnd = window.open(
'', 'hint_wnd', 'width=50, height=60, resizable=no, scrollbars=no' );

hint_wnd.document.write( 'Hello there!' );
return true;">

</FORM>

Instead of it being a button I need it to be text. Any clues?

tca
08-02-2006, 07:12 PM
Here you go:

<a href="#" OnClick = "hint_wnd = window.open(
'', 'hint_wnd', 'width=50, height=60, resizable=no, scrollbars=no'); hint_wnd.document.write( 'Hello there!' ); return true;">
Click Me</a>

TC

benslayton
08-02-2006, 07:15 PM
thks but already figured it out.