Results 1 to 3 of 3

Thread: popup text

  1. #1
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default popup text

    I need help with this script:
    Code:
    <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?

  2. #2
    Join Date
    Aug 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  3. #3
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default

    thks but already figured it out.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •