-
19th April 2010
Post #1
Gold Member
July 2007
1,363 Posts
You guys know those window things that follow you as you scroll on a page, like an add or a thing to show you how much your current build for a computer costs? Firstly, what are they called so i can google them, and secondly, if anyone feels like it, can you tell me how to make one? Thanks alot :)
-
19th April 2010
Post #2
Gold Member
May 2008
2,521 Posts
You can either do it in javascript or use a css property.
position: fixed;
-
19th April 2010
Post #3
Gold Member
July 2007
1,363 Posts
Could you explain a bit better please? I know nothing of CSS.
-
19th April 2010
Post #4
Gold Member
May 2008
2,521 Posts
-
19th April 2010
Post #5
Gold Member
November 2006
378 Posts
-
20th April 2010
Post #6
Gold Member
October 2006
1,446 Posts
It's usually positioned with CSS, but there are also various methods to this. If it's animated (Like it has a delay and slowly scrolls with your scrolling) it's usually modified with javascript. I won't get much deeper into it though.
-
20th April 2010
Post #7
June 2008
224 Posts
Usually done with css as everyone said, but they are almost as bad as iframes in terms of annoyance. Try reading a blog with a fat sidebar hanging over the text. Not everyone has your screen resolution lol. And even if the smallest resolution viewing your website is 1024x768, that user may not maximize their browser.
tldr; css fixed positioning. But don't use the shit, its annoying. XD