iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-23-2004, 01:54 PM
WebProWorld New Member
 
Join Date: Jul 2003
Posts: 18
SusieG RepRank 0
Default Frames problem

I'm having trouble with adding a page to a website with frames.

How do I link to a page where it displays all the frames? I want to link to a page with left frame, right frame and bottom frame in place. I have created the right frame as an html page but when I insert the link into index.htm as a href=htmlpage it doesn't show the frames just htmlpage on its own.

Can someone help?
Reply With Quote
  #2 (permalink)  
Old 06-23-2004, 03:21 PM
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Seattle, WA USA
Posts: 766
voodooboy RepRank 0
Default

The theory behind a framed page is so that one or more elements of the browser window can stay the same while soemthing else changes.

Are you trying to replace the content of one frame within the browser or change everything in every frame within the browser?
__________________
Scott Brinkerhoff - Art of Zen Studios
Web Design I Design Monk
© 2000-forever - All rights reserved by me - SO THERE!!
Reply With Quote
  #3 (permalink)  
Old 06-23-2004, 03:32 PM
WebProWorld New Member
 
Join Date: Jul 2003
Posts: 18
SusieG RepRank 0
Default

I am trying to link to this new page from the homepage. The way the site is setup is as follows:

The homepage has a top menu bar <MAP>, it's not a frame but all the menu items link to a framed page with left, right and bottom.

The rest of the site has a left menu bar ie the left frame. The links within this bar have target=rightframe so that's fine.

I thought I would be able to copy a link on the homepage but on seeing the code I'm confused.

Does this give you more of an idea?

Thanks for your help.
Reply With Quote
  #4 (permalink)  
Old 06-24-2004, 12:52 AM
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 447
HardCoded RepRank 0
Default

You can't do what you're asking with plain HTML. You'll need serverside with some code telling it to load the frameset with a specific page loaded in the right frame.

Alternatively, you could create a bunch of different frameset pages for each page in the right frame you want...but what an ass-pain that would be.
Reply With Quote
  #5 (permalink)  
Old 06-24-2004, 02:44 AM
smakyyy's Avatar
WebProWorld Pro
 
Join Date: Feb 2004
Location: US
Posts: 208
smakyyy RepRank 1
Default

Use front page- u can work with frames.
I personally advice you againse using frames - as even google does not crawl in frames properly and u will not be up in ranking. :-)
Reply With Quote
  #6 (permalink)  
Old 06-24-2004, 04:24 AM
WebProWorld New Member
 
Join Date: Jul 2003
Posts: 18
SusieG RepRank 0
Default

The situation is: I'm on a page with no frames, I want to link to a page that shows 3 frames. Surely this is possible.

I have yet to create the page that will appear in the right frame, the left frame and bottom (menus) already exist. Is there any code that I could put in the new page that will pick up the frames?

Thanks for your help.

Susie
Reply With Quote
  #7 (permalink)  
Old 06-24-2004, 08:20 AM
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Seattle, WA USA
Posts: 766
voodooboy RepRank 0
Default

Here you go:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<frameset rows="*,80" cols="*" frameborder="NO" border="0" framespacing="0">
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="leftpagehere.html" name="leftFrame" scrolling="NO" noresize>
<frame src="rightpagehere.html" name="mainFrame">
</frameset>
<frame src="bottompagehere.html" name="bottomFrame" scrolling="NO" noresize >
</frameset>
<noframes><body>
</body></noframes>
</html>
__________________
Scott Brinkerhoff - Art of Zen Studios
Web Design I Design Monk
© 2000-forever - All rights reserved by me - SO THERE!!
Reply With Quote
  #8 (permalink)  
Old 06-24-2004, 11:30 AM
WebProWorld New Member
 
Join Date: Jul 2003
Posts: 18
SusieG RepRank 0
Default

That looks good thank you.

I want the following 3 pages to appear as frames:
menu.htm left
info.htm right
bottom.htm bottom

Do I create a new page and paste the above code into it? If so what do I call this page? Should it be one of the above?

I'm not quite sure where to paste the code.
Reply With Quote
  #9 (permalink)  
Old 06-24-2004, 12:22 PM
WebProWorld New Member
 
Join Date: Jul 2003
Posts: 18
SusieG RepRank 0
Default

It's OK I got it. Thanks for all your help.

Last thing. When I click the menu now in the left frame it retains the page in the address bar, however the original pages that were there don't.

Have I done something wrong?
Any ideas?
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting 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



All times are GMT -4. The time now is 04:47 PM.



Search Engine Optimization by vBSEO 3.3.0