I'm trying to change around a photo gallery so that the images are in a middle frame that is scrollable from left to right, the top frame would hold the navigation that would remain static and the bottom frame has the sitefooter.
Ok, so, the way i have it now, I have a page that passes the variable in the url so that the proper gallery loads. See below.
/album.php?catid=foliage
The correct page would load with the proper images from the database.
BUT, now i have this frameset, with a main title called album_set.php and the 3 frames called album_top.php, album_new.php (that's the middle for images), and album_btm.php
What I can't figure out is how/where to pass the catid so that the middle frame file will load with the proper data.
This is what i have now for the album_set.php file.
<frameset rows="180,*,80" frameborder="no" border="0" framespacing="0">
<frame src="album_top.php" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frame src="album_new.php" name="mainFrame" id="mainFrame" title="mainFrame" />
<frame src="album_btm.php" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
</frameset>
I've tried including all the php code and mysql query in various places in the different files, but none seem to work.
Can anyone assist?