PDA

View Full Version : Help with Frames pages


VisionPhoto
Mar-14-2007, 07:01 PM
My whole site is built on a frames infrastructure. It's fairly simple with static header and footer frames and a center frame with content. I open the window via an extra click on entry to maintain an exact window size so the formatting all stays aligned.

When I click on the link from my footer page to bring in my SmugMug home page, the page starts in the correct frame and then expands and takes over the entire page.

How can I keep the page in my assigned frame? I may have further complications with this that I can work around later, but if I can get past this seemingly simple issue than I can progress to bigger issues.

Thanks in advance! Steve
http://www.VisionPhoto.cc

Andy
Mar-14-2007, 07:36 PM
try appending ?AllowFrames=1 to your urls

and you should probably put this in your Smug Site's Javascript box:

framesWarning = false;

http://www.dgrin.com/showpost.php?p=288580&postcount=5

VisionPhoto
Mar-20-2007, 06:14 PM
try appending ?AllowFrames=1 to your urls

and you should probably put this in your Smug Site's Javascript box:



http://www.dgrin.com/showpost.php?p=288580&postcount=5

Thanks for the quick reply Andy! I've done quite a lot of work since then, but I still have a couple of persistent issues. Your tip to use "framesWarning = false;" worked great to bring my SmugMug home page, galleries, and photos. However, when I click on the "multiple photos" icon or the "cart", those pages jump to full page again - and with no way to link back into my frames site. How can I make that "framesWarning = false;" command more persistent?

Also, I wonder how to reduce the margin at the top of some pages. Without a header, the content doesn't start until many pixels down. Space is an issue on my site because I force a new window of a specific size that cannot be resized. This makes for some very definite problems at times, but the reward is a very cool site (I.M.H.O.) that will retain it's aesthetic integrity. You can check it out at http://www.VisionPhoto.cc.

Thanks again for your help!

Peace, Steve