Sharing events


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Sharing events

  1. #1
    Gus Guest

    Sharing events


    Hi

    If you have a page that contains a frameset, how can you pass events from
    one page in the frameset to another page in the frameset. example:
    I am trying to make a gannt chart, my page contains a frameset that splits
    the page vertically in 2 (like windows explorer). my page in the left frameset
    contains a treeview thingy that is implemented as table. my page in the right
    frame also has a table (same no of rows as tree view, but used to display
    a timeline ). when the items in the treeview (left page) are displayed/hidden
    (i.e. rows displayed/hidden) I would like to pass the same event that caused
    the treeview to hide/display rows to the page on the right page (timeline).
    the result will hopefully be that the user can hide/dipsplay tasks and there
    corresponding timeline graphic will be synchronized with this.

    thanks

  2. #2
    Xin Li Guest

    Re: Sharing events


    I believe you should look up the topic cross frame scripting. it's the idea
    of accessing javascript methods and functions in a frame other than the one
    you are currently in. Then the idea is perhaps to capture the event in one
    of the frames, and simply pass the pertinent information on to a javascript
    function in the other relevant frames to have those javascript functions
    take some action. HTH

    Xin Li


    "Gus" <all4miller@lycos.com> wrote:
    >
    >Hi
    >
    >If you have a page that contains a frameset, how can you pass events from
    >one page in the frameset to another page in the frameset. example:
    >I am trying to make a gannt chart, my page contains a frameset that splits
    >the page vertically in 2 (like windows explorer). my page in the left frameset
    >contains a treeview thingy that is implemented as table. my page in the

    right
    >frame also has a table (same no of rows as tree view, but used to display
    >a timeline ). when the items in the treeview (left page) are displayed/hidden
    >(i.e. rows displayed/hidden) I would like to pass the same event that caused
    >the treeview to hide/display rows to the page on the right page (timeline).
    >the result will hopefully be that the user can hide/dipsplay tasks and there
    >corresponding timeline graphic will be synchronized with this.
    >
    >thanks



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