PC Review


Reply
Thread Tools Rate Thread

Best practice - frames?

 
 
Iain
Guest
Posts: n/a
 
      14th Oct 2009
All,

I need to embed page at the top of my site that stays fixed, so when the
user scrolls up & down the page the button(s) remain at the top of the
page.

Frames seems the way to go, butI've read some negative comments
regarding using frames.

Comments/suggestions welcome!

TIA
Iain
 
Reply With Quote
 
 
 
 
Göran Andersson
Guest
Posts: n/a
 
      14th Oct 2009
Iain wrote:
> All,
>
> I need to embed page at the top of my site that stays fixed, so when the
> user scrolls up & down the page the button(s) remain at the top of the
> page.
>
> Frames seems the way to go, butI've read some negative comments
> regarding using frames.
>
> Comments/suggestions welcome!
>
> TIA
> Iain


The drawback with using frames is that it's harder to link to the page.
Unless you add extra code in the frameset so that you can specify a page
in the query string, you can only link to the start page.

Search engines will tend to link to the content pages, where the
information is, rather than the frameset. People will land either on a
page without navigation, or on a page with only a few buttons that
doesn't work...

You can very easily accomplish something quite similar using css. For
example something like:

<div style="position:relative">
<div style="position:fixed;left:0;top:0;height:50px">
Buttons go here
</div>
<div style="margin-top:50px">
Content goes here
</div>
</div>

(The CSS would of course rather go in a style sheet than inline.)

--
Göran Andersson
_____
http://www.guffa.com
 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      14th Oct 2009

"Göran Andersson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Iain wrote:
>> All,
>>
>> I need to embed page at the top of my site that stays fixed, so when the
>> user scrolls up & down the page the button(s) remain at the top of the
>> page.
>>
>> Frames seems the way to go, butI've read some negative comments regarding
>> using frames.
>>
>> Comments/suggestions welcome!
>>
>> TIA
>> Iain

>
> The drawback with using frames is that it's harder to link to the page.
> Unless you add extra code in the frameset so that you can specify a page
> in the query string, you can only link to the start page.
>
> Search engines will tend to link to the content pages, where the
> information is, rather than the frameset. People will land either on a
> page without navigation, or on a page with only a few buttons that doesn't
> work...
>
> You can very easily accomplish something quite similar using css. For
> example something like:
>
> <div style="position:relative">
> <div style="position:fixed;left:0;top:0;height:50px">
> Buttons go here
> </div>
> <div style="margin-top:50px">
> Content goes here
> </div>
> </div>
>
> (The CSS would of course rather go in a style sheet than inline.)
>
> --
> Göran Andersson
> _____
> http://www.guffa.com



I think that you'll probably find more people advocating CSS over frames,
but even so, I do belive that frames can work in many situations, just fine.
And, that they may be a better choice when the audience could be using any
browser. Since browsers do vary in their compliance for CSS, frames could
work out to be better.

Solving the linking problem that Goran mentions can be done easily with a
simple JavaScript.

In my experience, the people that have bad things to say about frames have
always tended to be the ones that either didn't understand them properly or
saw someone using them improperly.

-Scott


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frames..Changing multiple frames using one link 116 Microsoft Frontpage 0 28th Mar 2009 06:40 PM
Inline frames, insert content, DWT, frames- what's best? =?Utf-8?B?SmFjcXVpZUND?= Microsoft Frontpage 1 27th Nov 2005 09:38 AM
Re: Search Engine Fiendly - Frames or No Frames? middletree Microsoft Frontpage 0 28th Jul 2003 03:54 PM
Re: Search Engine Fiendly - Frames or No Frames? Jeff Microsoft Frontpage 0 28th Jul 2003 01:47 PM
my documents, my computer, etc., frames open as explorer frames Derek Windows XP Internet Explorer 0 2nd Jul 2003 09:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:40 AM.