SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast COMpWiZkEv's Avatar
    Join Date
    Jul 2002
    0 Post(s)
    0 Thread(s)

    Question Frame Location Change

    Let's say I have a page divided up into 2 frames (I know frames aren't the best choice 99% of the time, but that's beside the point ):

    I'm looking for a way for frame 1 to be notified when frame 2's location (url) changes. However, frame 2 cannot call any function to frame 1 to notify - in other words, frame 2 cannot actively notify frame 1 whenever it changes.

    probably a dumb idea...
    If I need to add a 3rd "hidden" frame to control this and do the location checking, that would be OK.

    I'm looking for the most stable method to go about doing this.

    Thanks for your help!
    Javascript Newbie
    Last edited by COMpWiZkEv; Jan 26, 2007 at 00:56. Reason: Clarification

  2. #2
    SitePoint Enthusiast saadatshah's Avatar
    Join Date
    Jul 2002
    Lahore, Pakistan
    0 Post(s)
    0 Thread(s)
    You can do it in first frame. Add a timer function to check for the url of 2nd frame.

    try this url to get an understanding of timer.
    Traffic School - Driver Ed - Defensive Driving
    Texas Defensive Driving - Online Traffic School
    Real Estate License
    Science is organized knowledge. Wisdom is organized life.


Posting Permissions

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