Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you create a frame within in a frame?

Status
Not open for further replies.

drift3r

Technical User
May 30, 2007
2
US
So i been trying to build a website for my online portfolio and i initially created the layout/look of the site in photoshop then just sliced certain pieces up to use as image links/buttons but i could not get the frames to work in Golive so i just did a basic layout box and just placed each image in the positions i wanted and then linked them to their respective html pages...only problem was when i tested the site out its taking too long to load because each time i clicked on a link all the images would have to be redownloaded... after some reading, i managed to get the frames working and now everythings moving quite fast...

now here comes the next problem... within my "portfolio.html" site i wanna add a 3 section frame so that i can have the left hand side of the frame set to display the navigation links, the bottom piece to showcase the thumbnails of my work, and then the main body section to display the larger images after someone clicks on the thumbnails.. so heres what i did, under portfolio.html, i created the 3 section frameset, set the border size to 0 and border to none for all 3 sections, then in photoshop i cut up the content box image (where everything is displayed inside) into 3 different sections so that when pieced together through the 3 section frame set it would look like just 1 complete/frameless image, and then from there i would just throw my image links on the navigation html page and do all the required links and targetings..BUT!!!... when i tested the idea out but laying each of the content box pieces in the correct positions, there seems to be a gap between the navigation section and the display section of the 3 section frame set... and then when i added the image for the bottom section of the frame, that part doesnt even appear.... I know this is alot and would be better if i had images to explain it with, but i dont really know the terminology for this.. but what i essentially want to do is create a frameset within my initial frameset so that download time can be minimized
 
First of all, once a graphic has been downloaded it becomes cached on the local computer and any further use of it won't result in it being downloaded again. I don't understand why all the images would download again each time they clicked a link.


I don't fully understand the layout your trying to achieve. Being able to see your site would really help me help you. I do know that most browser won't support a frameset within a frameset.

You need to either redesign your frameset to have all the frames you need or maybe you could use an iframe (inline frame) inside your main content frame.

Personally, i don't like framesets. Too many search engine, bookmarking and other problems with them.
 
yeah i was surfing the net last night and came upon inline frames so im trying to make that work for now,

as for the images being redownloaded, thats what i thought it would do too but apparently it does redownload them all and its really really slow... i dont know if its because all the images are put down on every new html file that im linking to or not but...it still redownloads them when i go from portfolio page to home page to contact page etc... after ive gone through every single one of them and redownloaded all the images within each html file then it doesnt have to redownload all the images again when i go back to each page

anyways, what would you suggest using instead of framesets then? I always thought frames would provide quick downloads but then im not a web designer..
 
How big are your graphics files? The general rule of thumb is that your page and contents shouldn't add up to more then 70kb.

Since your site is a portfolio i would expect your pages to be a bit bigger and slower, but still not more then about 120kb.

If the first page has this graphic in it src="pic1.jpg" and subsequent pages, whether they are in frames or not won't reload pic1.jpg unless the browser has caching turned off.

I've seen sites created by various MS programs where instead of saving one graphic and reuse it they create a separate images for each page, even though they all look the same.

It'd be really helpful if i could see your pages. Perhaps you could create an odd named dir and place a couple in it for me to see.
 
Our university has a ban on frames for any websites for all departments (and there are hundreds of sites). Hmmm...that tells you how uncooperative they can be. It might be time to learn another design technique before it's too late!

cat.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top