Forum Moderators: open

Message Too Old, No Replies

Making a framed page scroll like a regular page

How can I control the scrolling?

         

WallaceCleaver

3:26 am on Aug 7, 2004 (gmt 0)

10+ Year Member



I am planning on co-branding with a site. They will be giving me a URL for the co-brand site that looks a little something like this: [theirsite.com...]

Ugly and hard to remember in my opinion. I would, therefore, like to frame that page. I know, I know. Frames are the last thing anyone wants, but hey it's that or a hard-to-remember URL that no one will ever type in.

Anyway, is it possible to make a framed page in which it looks like a normal page? By that I mean that the bottom frame doesn't scroll while the top stays put. I want it to scroll like a regular old page where the top disappears when you scroll to the bottom. I hope someone gets the idea of what I'm talking about.

Please provide me with the code, an explanation, or an example of how this can be done.

Also, any suggestions as an alternative to the horror of horrors that is a framed page would be appreciated.

Thanks!

tedster

4:18 am on Aug 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you begin your frameset this way:

<frameset rows="0%,100%">

...then the screen will behave as you want - no portion appearing stuck, the whole thing scrolling with one scrollbar.

The only obvious evidence that this is a frame will be that the url in the location bar does not change when links are followed.

kaled

10:20 am on Aug 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's worth pointing out too that users will only be able to bookmark the primary page.

Kaled.

WallaceCleaver

2:46 pm on Aug 7, 2004 (gmt 0)

10+ Year Member



Do you mean their bookmark will be to the long ugly URL?

kaled

4:42 pm on Aug 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The bookmark will use the url in the type-in editbox. I presume that this will be the pretty url (not the ugly one).

Frankly, unless you have a good reason, I would not worry about the url. If you feel you want a more memorable url, or a future-proof one, you would probably be better off using a redirect rather than a frameset.

Kaled.