Help me get rid of frames

This is a discussion on "Help me get rid of frames" within the Web Page Design section. This forum, and the thread "Help me get rid of frames are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 30th, 2007, 08:35
New Member
Join Date: Nov 2007
Location: Australia
Age: 38
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Help me get rid of frames

Hi everyone,

My site currently uses frames and I wish to get rid of these. Even sites with zero traffic are higher placed in google ( I suspect due to the frameset I have)

Currently there is a main HTML page, and a side navigation, the side navigation is also common to the forum ( VBulletin)

Here is my website www.mlptp.net

Click on any of that side navigation and youll be taken directly to forum.

I want to keep the side navigation, so it is fixed on all pages and that only the forum scrolls, not the whole page scrolling.

What is the best way to do this?.....

I read this thread on here about php includes

http://www.webforumz.com/css-forum/62185-framesets.htm

would that work?


I am looking for something that will mimic the frameset ( be that CSS and something else) but whatever it is, I would like it to be SEO friendly.

I am stuck with how to go about this, my members all use the side navigation on the forums and would be lost without it....

how can I fix this?

Many thanks

SS
Reply With Quote

  #2 (permalink)  
Old Nov 30th, 2007, 08:45
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help me get rid of frames

PHP includes will supply the "reuse your code" aspect of frames.

To make the sidebar fixed, you need the CSS { position: fixed }. This is not supported by IE6, however; and although you can hack around it, all of the hacks are nasty.
Reply With Quote
  #3 (permalink)  
Old Nov 30th, 2007, 08:50
New Member
Join Date: Nov 2007
Location: Australia
Age: 38
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help me get rid of frames

Thankyou Mike , the includes I shall look into.

Is there any other way around that, so it will work in IE6?

What I am trying to do is mimic the exact setup I have at the moment, without having to use frames...

do those hacks for IE do the trick, or anything else you may know of?

Thanks again
Reply With Quote
  #4 (permalink)  
Old Nov 30th, 2007, 08:59
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help me get rid of frames

There are several hacks for fixed positioning. You basically have four options:
  1. Don't use fixed positioning.
  2. Use it, but accept that IE6 will just use normal positioning.
  3. A smooth hack, with no scripting. Downside: it means absolute positioning won't work on your page.
  4. Use a horrible javascript hack that causes jerky page rendering.
That's my order of preference, with (1) being the best solution and (4) the worst. I've tried all four solutions, and I now use (1).
Reply With Quote
  #5 (permalink)  
Old Nov 30th, 2007, 21:05
New Member
Join Date: Nov 2007
Location: Australia
Age: 38
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help me get rid of frames

Thankyou Mike,

Im a little lost with how to recode things.....

Currently the index page of my site is coded like this:

Code: Select all
</HEAD>
<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script> 
<frameset cols=140,* border=0 frameborder="0">
<frame SRC="http://www.mlptp.net/1.html" frameborder="0" border=0 NORESIZE>
<frame SRC="http://www.mlptp.net/splash.html" scrolling="yes" frameborder="0" border=0 NAME="large" NORESIZE>
</frameset>
</HTML>
its coded for those frames,

Can you show me how I can recode that for the php includes?

Many thanks for your help
Reply With Quote
Reply

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Frames Help lithiumforce Starting Out 4 Jun 25th, 2007 10:39
Frames piratescotty Web Page Design 8 May 22nd, 2007 19:11
Nav Bar/Frames - Plz help!!! design4586 Graphics and 3D 2 Jun 14th, 2006 16:26
Frames Pointblank Web Page Design 7 Jan 27th, 2006 21:30
I need help with frames!!!! courtjester Web Page Design 2 Sep 20th, 2003 07:30


All times are GMT. The time now is 06:55.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43