This is a discussion on "Back to the top link" within the JavaScript Forum section. This forum, and the thread "Back to the top link are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Back to the top link
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Back to the top link
Hi,
Im using the following piece of code to make a back to the top button, but there is an issue:
Firefox and Opera are fine. Is there a better method - I don't want to use the method which targets a div and adds #divname to the url. thanks |
|
|
|
||||
|
Re: Back to the top link
Why don't you want to use an ID?
|
|
|||
|
Re: Back to the top link
Because it will add the #top to the end of the url which I don't like.
so, www.mysite.co.uk/index.htm will become www.mysite.co.uk/index.htm#top Not too nice, there must be a decent Javascript alternative? |
![]() |
| Tags |
| back to top, javascript |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Back buton - several pages back - in HTML ? | attila001122 | Web Page Design | 1 | Dec 9th, 2007 15:51 |
| Tutorial / Article writers, link back to site | cammarata123 | Job Opportunities | 0 | Dec 1st, 2007 08:49 |
| Why Directory sites doesnt show as back link? | anil99rst | Search Engine Optimization (SEO) | 6 | Sep 28th, 2007 19:02 |
| link back to webforumz | alexgeek | Webforumz Cafe | 13 | Aug 31st, 2007 08:39 |
| Free Directory with no link back needed | One Cloud | Link Building and Link Sales | 0 | Sep 22nd, 2006 09:02 |