PDA

View Full Version : how to keep on top


exasko
08-31-03, 04:39 AM
alright... i will try my best not to be confusing, so please bare with me...

lets say i want to have a header on the top of every page i make on my site. but when you scroll down you loose the title, well i want to make it so when you scroll down, the title on top of the page will not move, for example:

http://www.dynamicdrive.com/dynamicindex1/sm/index.htm

you see how that java script always stays on top even when you scroll down the page, i want that, but i just want to have a header instead of a navagtion...

could any of you help me out? thank you in advance

Chicken
08-31-03, 06:15 AM
I hope you don't mind me asking this, but... why? When the page loads, people can see the title of your page. Why is it that you feel the need to remind them if they scroll a few inches down? Why do they always have to see the title and why do you want it to cover up content?

I ask because, to be honest, I find that type of moving object on a page rather annoying and distracting. If you have a strong need for a fixed header, then I'd probably stick to frames.

net-trend
08-31-03, 07:19 AM
Like chicken mentioned, using FRAMES will be the thing to do in your case.

exasko
08-31-03, 08:33 AM
there has to be another way then just frames, i dont want to use frames

Dave
09-01-03, 02:28 AM
You can try to edit that code at Dynamic Drive.