WSN Gallery
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support
Using a Frameset
Using a Frameset
By Paul

Note that frames are bad for search engine ranking, which is why they're normally only used in the admin panel. Nonetheless, some people who don't need to worry about SEO may wish to use them on the user-side.

The direct approach of putting the frameset code in the wapper would be problematic since you don't want each page to create a new sub-frameset. To get around this you need to put the frameset in a custom template. Create a custom template with this content:
<html>
<head>
<title>{PAGETITLE}</title>
</head>
<frameset frameborder="1" border="1" cols="15%,85%">
<frame src="http://scripts.webmastersite.net/wsngallery/manual/index.php?custom=yes&TID=leftframe" name="frameleft">
<frame src="http://scripts.webmastersite.net/wsngallery/manual/" name="frameright">
<noframes>Your browser must support frames to use this site.</noframes>
</frameset>
</html>


You could link to that directly with wrapper suppression (index.php?custom=yes&TID=yourtemplate&usewrapper=no), but you'll probably want to use the custom template anywhere hack (be sure to change the usewrapper value to 'no' there).

You can avoid having to update any links to the directory by moving everything into a subdirectory of where it currently is, then depositing your index.php from the custom template anywhere into the original directory, and having the frameset call the subdirectory's index.php.

Rating:


0/5 based on 0 votes. The median rating is 0.

Submitted: 05/22/07 (Edited 09/25/07)

Description: How to place your entire site in frames.

Views: 80 views. Averaging 0 per day.
In the most recent 30 day period, there've been 1 views.

Previous Article | Next Article

Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support