Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Targeting prob

  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Targeting prob

    I am trying to change the mainpage(parent) from a iframe
    it is the idee that the mainpage loads a other page
    without the iframes.

    this is wat i tryed:

    <body onload="javascript: parent.location('nav.php?id=logout&loggie=2')">

    but it doesnt work wy?

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's not a function, it's a property.

    Code:
    <body onload="parent.location.href='nav.php?id=logout&loggie=2';">
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #3
    New Coder
    Join Date
    Aug 2002
    Posts
    22
    Thanks
    1
    Thanked 0 Times in 0 Posts

    thx

    it works now thx for the help


  •  

    Posting Permissions

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