Another Frame Question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Another Frame Question

Hybrid View

  1. #1
    Micah Nasarow Guest

    Another Frame Question

    Greetings,

    I am having difficulties refreshing a frame that is not the parent of the
    frame that I am calling the script from.

    My Doc is like this

    -----------------
    | menu frame |
    ----------------
    | Body Frame |
    | |
    -----------------

    The menu Frame has menu options that load into the Body of the document.
    Then one of those HTML documents creates the List and Info Frame..in the
    Body Frame like this...

    -----------------
    | menu frame |
    ----------------
    | List | Info |
    | | |
    -----------------

    Based on what gets changed in the Info Frame I want to Refresh the Menu
    Frame to reflect the changes.

    However, the menu frame is no longer the Parent to the Info Frame. I can
    only seem to reference the List frame and the Info frame itself.

    So how can I make a call to the Menu Frame to refresh it?

    Tips in VBscript or Javascript is fine.

    Thanx

    micah



  2. #2
    Micah Nasarow Guest

    Re: Another Frame Question

    Ya know...this always happens..I write out my problem and in doing so I tend
    to figure it out

    My call will be Top.frames.menu.location.reload
    This works...
    I was soo stuck on using parent.document.blah..blah..blah..

    Micah

    "Micah Nasarow" <micahn@shakaware.com> wrote in message
    news:3b86e56d$1@news.devx.com...
    > Greetings,
    >
    > I am having difficulties refreshing a frame that is not the parent of the
    > frame that I am calling the script from.
    >
    > My Doc is like this
    >
    > -----------------
    > | menu frame |
    > ----------------
    > | Body Frame |
    > | |
    > -----------------
    >
    > The menu Frame has menu options that load into the Body of the document.
    > Then one of those HTML documents creates the List and Info Frame..in the
    > Body Frame like this...
    >
    > -----------------
    > | menu frame |
    > ----------------
    > | List | Info |
    > | | |
    > -----------------
    >
    > Based on what gets changed in the Info Frame I want to Refresh the Menu
    > Frame to reflect the changes.
    >
    > However, the menu frame is no longer the Parent to the Info Frame. I can
    > only seem to reference the List frame and the Info frame itself.
    >
    > So how can I make a call to the Menu Frame to refresh it?
    >
    > Tips in VBscript or Javascript is fine.
    >
    > Thanx
    >
    > micah
    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center