How to create a "stationary button" ?

Posted on 2002-07-17
Last Modified: 2010-04-09
I have seen a few pages where as you scroll down, a button "follows" you down the pages as if it floats along with the scroll.
The button needs to have the same functionality as if the user had pressed the "back" button.
Code Please?
Java if necessary.
Question by:rbend
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 12

Expert Comment

ID: 7159605
<input type="button" style="position:fixed;"/>
LVL 53

Expert Comment

ID: 7159810
position:fixed is Netscrap 6 and opera only.

For cross-browser you have to script it.  I don't know why anyone would take the time to script it it for a low point question when the history of the questioner shows only 4 A grades in the last 10.  

LVL 18

Accepted Solution

bruno earned 50 total points
ID: 7159821
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 12

Expert Comment

ID: 7160248
i think ive used position:fixed inIE6 too(not very sure).

but cd&'s made a good point, the user doesn't have a good questioning history...

Author Comment

ID: 7160309
Hey...there's an 'A'
Thanks for the pointers.

LVL 18

Expert Comment

ID: 7160349
Glad I could help, certainly hope that pointed you in the right direction!


Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question