opening new child without changing parent
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: opening new child without changing parent

  1. #1
    Join Date
    Aug 2002
    Location
    PA
    Posts
    36

    opening new child without changing parent

    so i've got an onClick that looks like this:

    onClick="openNew()"

    on an imagemap.

    the function code is below:

    function openNew()
    {
    window.open("contact.asp");
    }

    when i click on the image it does like i want and opens up another window with "contact.asp" in it, but it also changes the content of the current window to "contact.asp". how can i stop the latter from happening??

    i know this is easy...but i can't see it.

    thanks,
    b

  2. #2
    Join Date
    Aug 2002
    Location
    PA
    Posts
    36
    nevermind...i had an href in there where it shouldn't have been.

    i feel like a moron.

    in fact, i think i am a moron...

    b

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center