Forum Moderators: open

Message Too Old, No Replies

Two scrollable frames

         

seloh

3:37 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



I have a site <sorry, no example links> which has a ticker in the header. The site is one page that reloads with every click and with every click the ticker restarts.
The way to get rid of that problem is to the header in a frame and put the rest of the page in a seperate frame. The thing then is that the site isn't scrollable as one page.

I tried to put a NULL-frame around a framepage but that didn't work.
You can't use Iframe because with every click the page reloads and so does the ticker.

Basically I need to scroll a framed site.

[edited by: tedster at 5:55 pm (utc) on June 18, 2003]

ncsuk

3:39 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



In the main frame holder page you need to put the tag.

scrolling=no

On all the relevant frames and that should solve the problem.

AT the moment you have;

<FRAME SRC="pages/index.asp" NAME=null SCROLLING=yes NORESIZE>

this should be

<FRAME SRC="pages/index.asp" NAME=null SCROLLING=no NORESIZE>

seloh

4:31 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



I need a scrollbar there, it's the underlying page that is te problem, that page hasn't been split into frames yet.
Click on the site and you'll see that the ticker restarts with every click.

futureX

4:38 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



just make one iframe;

Put the ticker at the top of index.html or whatever, and then put an iframe below that with width 100% containing index.asp :)

seloh

4:53 pm on Jun 18, 2003 (gmt 0)

10+ Year Member



Tried that too!
The bottom IFRAME cuts the page at a certain point and doesn't show the rest of it.
<sorry, no example links>

[edited by: tedster at 5:56 pm (utc) on June 18, 2003]

tedster

6:21 pm on Jun 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't think you can resolve this with frames or iframes. How about using onUnload to capture the present position of the ticker, and pass that information to the next page so you can restart the ticker right where it was (or maybe just a bit earlier)?

The javascript would take a bit of work, but then the site will behave exactly as you wanted.