SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Feb 2001
    Location
    Central Kentucky
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey there folks, one question, it is probably so simple I could smack myself, but I am very new to java. I have the code worked out, I just need to know how to call it from a hyperlink on an existing page. The code is as follows:

    <script>
    window.open('http://www.mysite.net/chat.htm', 'DummyName', 'height=350,width=520', false);
    </script>

    This works fine on a page by itself, but it opens the "chat.htm" page, as well as one before it that runs the code. It would be much better to just run it from a hyperlink button from the main page and not load the first unnecessary page in the first place. Thanks for any and all help. I know this has to be something very simple that I just haven't caught/stumbled onto yet.
    Last edited by palerider; Feb 10, 2001 at 17:36.
    --==PaleRider==--


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
  •