Web Hosting Talk







View Full Version : iframe Question


LordBob
05-30-2005, 06:31 PM
Does it make any sense to put a menu (actually, a long list of links) in an iframe and then have the parent page change depending on the link chosen? Or should it be the other way around? I don't want the iframe to have to reload for each link.

Have a look here, please:

http://www.happypuppy.com/platform.php?platform_id=ps2

In the upper left part of the page, under Games, you'll see a long menu list of game titles. Clicking on a title changes the content of the page.

I want to accomplish the same thing using an iframe for the menu list.

Is that an ideal way to do it? Is there a better way?

Thanks!

Nyture
06-01-2005, 03:31 PM
To accomplish what you need, youll want to put the content in the iframe and have ur links on the main page. That way when u click a link, the entire page doesnt reload. However, I recommend not using iframes, but rather php,javascript,div tags and CSS to accomplish what u need. but thats IMO

Ackoo-jt
06-01-2005, 05:03 PM
I would just use a normal form menu and use cache. It won't have to load them persay again. But you arn't talking about alot of data anyway with this. I wouldn't worry about it too much.