Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » Forum Usage » Forum How-To »

How to make HTML Code for "Back to Top" work in Firefox


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Sep 14, 2010, 10:46 PM
New WordPress Fan
 
137 posts · Jul 2010
How to make HTML Code for "Back to Top" work in Firefox

In IE, the following code placed at the bottom of a page (without more) works perfectly to take you back to the very top of the page:

<a href="#top">Back to Top...</a>

However, this does not work in Firefox. In Firefox, the bottom link works only when the following is added somewhere near the top of the page:

<a name="top"></a>

The bottom link then takes you back only up to the exact level on the page where the "<a name="top"></a>" code appears; not to the very top of the page. (This is the same for either Firefox or IE).

How could I get the "<a name="top"></a>" code up into the logo area of the header (rather than just at the top of the center column of text)? Or, is there another way to get just the bottom code to work in Firefox (without the top code) to take you to the very top of the page, as it does in IE?

Many thanks!

Using WordPress 3.0.1, Atahualpa 3.5.1
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
3.4.9 set the "HTML/CSS Inserts" back to wider editor darmanpurba@gmail.com New Versions, & Updating 3 May 16, 2010 04:26 AM
400 Bad Request on saving "Add HTML/CSS inserts" mptorr Header configuration & styling 10 May 15, 2010 09:30 AM
"lost" the atahualpa login/register widget. can I get it back easy? manyleaves Sidebars & Widgets 3 Jan 17, 2010 08:40 AM
Executing PHP Code in "HTML Inserts Header" Section twola Forum How-To 1 Sep 30, 2009 04:51 AM
[SOLVED] How should top level &quot;button&quot; work on a menu bar? Shepherd Jim Page & Category Menu Bars 2 Mar 14, 2009 02:30 PM


All times are GMT -6. The time now is 11:54 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.