-
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
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks