[Javascript] stationary buttons

Chris Tifer christ at saeweb.com
Wed Oct 1 09:45:29 CDT 2003


I don't have the exact code, but first you have to detect when the page
scrolls. Fire an event that determines how far it scrolled (using some form
of offset) and place your button there. Once you get a little further, if
you have syntax problems, let us know where. We can help.

Chris Tifer

----- Original Message ----- 
From: "Russell Scheinberg" <rscheinberg at lrk.com>
To: <javascript at LaTech.edu>
Sent: Wednesday, October 01, 2003 9:53 AM
Subject: [Javascript] stationary buttons


> I am looking for some help in finding how to create a button (most
> probably in a layer, I guess) that will remain stationary in position on
> a page as the page scrolls down, so that it never moves out of sight
> along with the other elements on the page. I have seen this effect
> somewhere recently with ads, but have not been able to find it since. Is
> there a combination of DHTML, Javascript, and CSS2 that will get what I
> want? I am afraid that this can only be accomplished with flash, but
> that doesn't seem right. I need this to be a button that can submit a
> form on the page. I have searched extensively for a tutorial or a page
> where I can see this again and possibly look at the code, but with no
> luck.
>
> Any help with locating an example, provding some pointers, or, better
> yet, a tutorial would be really appreciated. By the way, I have
> Dreamwever Studio MX, but have not been able to find a reference to this
> in the documentation there. If you know how to do this in Dreamweaver,
> that would help too. Thanks.
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list