Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Would you use iframes or layer for portfolio?

Would you use iframes or layer for portfolio?
Thread Tools
Mac Elite
Join Date: Jan 2000
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Dec 21, 2004, 12:08 AM
 
So I'm finally getting around to rehasing my website and its portfolio of stuff. The previous site (http://www.avenirex.com/v5/work.php) uses iframes for the portfolio. Pick a topic (Design, photo, etc) > Pick a project in the right iframe, then view it in the left.

I'm debating turning it all over to layers, eg: clicking "design" turns on the "design projects" layer, and selecting a project turns on that specific project's layer (and hides any others).

I only need scrolling in the layer with the project listing, no the project itself, and I found this to help me out with the div scrolling, so I don't really need iframes.

I like that php can dynamically load what I want within a frame if specified in the link, however, I am considering burning my site onto CD for handing out to firms, and so php would stop working and I'm not going to be able to rely on it.

So, anyway, long question short: if you were building the site, would you suggest I stick with iframes, or dive into the unknown world (I'm up for learning) if hiding and showing stacked divs via links.

==========

EDIT: In thinking about this just now, I'd imagine that the browser would load all the images at the same time for all project pages, not including those hiddes. That means 5 thumbnails times several dozen individual projects equals quite a large loading time. Unless this isn't the case, this doesn't sound like a good think, as I only want thumbs to load when the user picks a specific project (to cut load time)...

I think I just answered my own question, and I'll stick with iframes and multiply individual pages (not so bad to organize I guess), unless someone has advice otherwise (or a method other than iframes and divs that I'm completely missing)
(Last edited by Avenir; Dec 21, 2004 at 12:21 AM. )

spike[at]avenirex[dot]com | Avenirex
IM - Avenirx | ICQ - 3932806
     
Dedicated MacNNer
Join Date: Nov 2004
Location: Stockholm, Sweden
Status: Offline
Reply With Quote
Dec 21, 2004, 02:25 AM
 
Originally posted by Avenir:
I only need scrolling in the layer with the project listing, no the project itself, and I found this to help me out with the div scrolling, so I don't really need iframes.
you can just use overflow: scroll in a div, rather than all that code.
     
Avenir  (op)
Mac Elite
Join Date: Jan 2000
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Dec 21, 2004, 02:30 AM
 
Originally posted by Phil Sherry:
you can just use overflow: scroll in a div, rather than all that code.
that's true, forgot about it. I still like being able to control what the scroll looks like, because honestly, a giant, shiny, bulbuous aqua bar doesn't look so nice

spike[at]avenirex[dot]com | Avenirex
IM - Avenirx | ICQ - 3932806
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:02 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2