SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    Spam Can Kill!!! Disk-t's Avatar
    Join Date
    Jul 2001
    Location
    n/a
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need Urgent Assistance!

    I need to replace the location of "right_frame" using location.replace(). top.right_frame.location.replace doesn't work! Help!

  2. #2
    JavaScript Guru (Big Ego) Arielladog's Avatar
    Join Date
    Jul 1999
    Location
    SC, USA
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey,

    Did you try:

    top.right_frame.location.href = "newPage.html"

    But:

    top.right_frame.location.replace("newPage.html")

    Should work. Could you show us the frameset code and the code you are using with this JavaScript?

    aDog

  3. #3
    Spam Can Kill!!! Disk-t's Avatar
    Join Date
    Jul 2001
    Location
    n/a
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It already works, it seems that I forgot to mention a frame, top.thepage.right_frame


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
  •