PrinBrando
07-31-2003, 05:59 PM
What is the code to make a image stay on the screen as you scroll it scrolls with you??Not the background just an image.
Thxs
Thxs
|
Click to See Complete Forum and Search --> : Image stay with screen?? PrinBrando 07-31-2003, 05:59 PM What is the code to make a image stay on the screen as you scroll it scrolls with you??Not the background just an image. Thxs Khalid Ali 07-31-2003, 08:54 PM with Mozilla based browsers(NS6+) you can use css property.. position:fixed; for IE browsers until MS supports CSS you will need towrte some JavaScript code ... pyro 07-31-2003, 10:26 PM I've written up a page that does exactly what Khalid said. It uses position:fixed for Moz/NN and JS for IE... http://www.infinitypages.com/research/staticmenu.htm PrinBrando 07-31-2003, 10:51 PM isnt there a easier way?? Like smaller code. I just want it for an image. I dont need the floating box just a floating image. thx PeOfEo 07-31-2003, 10:55 PM Its going to look about the same no matter what the element... If you want it on the top like that you might consider using a frame. PrinBrando 07-31-2003, 10:57 PM like with this page they have ballons stay with you while you scroll. but I dont need thembouncing around(even though it would be cool to know) thx again PeOfEo 07-31-2003, 11:04 PM sounds like a job for some hard core dhtml scripting, I have never gotten into dhtml though so dont ask me.... webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |