Javascript Question.

NBK*Twitch

Seasoned Veteran
Joined
Mar 5, 2009
Messages
2,969
Reaction score
8
FP$
86
Alright I am trying to learn more about javascript so here is a question.

How do i make a simple div or table follow you when you scroll?
 
I'm trying to find a forum that has this. If you have firebug, inspect the element of the following message.
 
Yeah I have firebug and I even looked at the efloating bar mod for smf.

However I am not understanding how it all goes down.

That is what I am more looking forward to learn.

Besides anyone could just copy code I wanna learn that copied code 😉.
 
Networking said:
Thats annoying as **** learn the basics for yourself

Downright negative comments with no constructive value are not welcome on Forum Promotion.
 
Would the position:fixed work? Example:

Code:
<div style='position:fixed;'>Content!</div>

Or do you want it to have a slight lag and then follow you like that (annoying) welcome box which I believe forumotion has?
 
Cosmic said:
Would the position:fixed work? Example:

Code:
<div style='position:fixed;'>Content!</div>

Or do you want it to have a slight lag and then follow you like that (annoying) welcome box which I believe forumotion has?
Correct.
 
Back
Top Bottom