PDA

View Full Version : static object help




BakedBeans
Oct 19, 2005, 04:12 AM
im building a webpage and want to... huthum, "replicate" the static bar of http://www.dashboardwidgets.com/ (where the page scrolls but the banner stays where it is)

any pointers?



dornoforpyros
Oct 19, 2005, 10:08 AM
It's called a frame (http://www.w3.org/TR/REC-html40/present/frames.html).

I caution however they are rather looked down on because they are often mis-used. Not so much in the example that you pointed out but I'd say 95% of sites using frames have done a horrible job.

BakedBeans
Oct 19, 2005, 10:13 AM
It's called a frame (http://www.w3.org/TR/REC-html40/present/frames.html).

I caution however they are rather looked down on because they are often mis-used. Not so much in the example that you pointed out but I'd say 95% of sites using frames have done a horrible job.

thanks, since posting his i chose a totally different approach, i was really refering to how they did the shaping of the frame.. anyway. onward and upward

Rower_CPU
Oct 20, 2005, 01:51 AM
Actually, that's not a frame at all but a layer using CSS' fixed positioning (http://www.w3schools.com/css/pr_class_position.asp). It's a great way of achieving that effect without resorting to frames.