Forums
This topic is locked
Passing parameters to multiple frames
24 Sep 2003 10:38:45 Q Qwerty posted:
For a site of a photographer I'm currently developing, I'm using a frameset, consisting of two frames. There's a mainframe which displays the image and also contains the navigation. Second, there's a bottomframe which contains thumbnails of the selected category of images.Now I need to pass the parameters from the navigation buttons to the mainframe, but also to the bottomframe. For example: when I click a category from the navigation called landscapes, the bottomframe needs to load the images from that category (that works fine by the way), but also a default image from that category should load into the mainframe.
In other words, is there a way to pass a parameter to multiple frames? I was thinking of using some kind of session where the parameters are stored, but I don't have the slightest idea how to do this.
I would really appreciate any help on this one!
Replies
Replied 03 Oct 2003 16:50:54
03 Oct 2003 16:50:54 Marcellino Bommezijn replied:
A solution could be to create a nested frameset thet represents the mainFrame and bottomFrame, so you could reload your nested frameset (main+bottom) with parameters when going to a new category.
This means that you have to create a recordset in your nested frameset page that handles the parameters.
This means that you have to create a recordset in your nested frameset page that handles the parameters.