inherit
8275
0
Apr 8, 2024 11:05:50 GMT -8
M³
SF 49ers
2,120
March 2003
madmastermind
|
Post by M³ on Nov 21, 2012 3:40:45 GMT -8
Hmmmm, just tried that but didn't work. LOL, it worked all along. I Wasn't expecting it to be where it is .. vs the drop down window .. but it'll do.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 21, 2012 3:58:31 GMT -8
Hmmmm, just tried that but didn't work. LOL, it worked all along. I Wasn't expecting it to be where it is .. vs the drop down window .. but it'll do. Did you mean my code? Which code are you on about? I posted 2, 1 for you, and 1 for someone else.
|
|
#FF6600
16715
0
1
Nov 30, 2024 18:26:34 GMT -8
Patrick [ASE]
Ancient Geek
46,300
November 2003
allseeingeyes2
|
Post by Patrick [ASE] on Nov 21, 2012 10:04:59 GMT -8
Easiest to do <center> <a href="#top">Back to top!</a></center>That's better thanks Patrick, just need to increase the font size now, as the words look lost at the bottom of the board. You can use <font size="6">Back To Top</font> where the text is To also make it bold <font size="6"><b>Back To Top</b></font> Change the 6 to what size you want
|
|
inherit
8275
0
Apr 8, 2024 11:05:50 GMT -8
M³
SF 49ers
2,120
March 2003
madmastermind
|
Post by M³ on Nov 21, 2012 10:12:01 GMT -8
I'm using the one below and actually like it. Is there a way to color the button? <script> $(function(){ $("div.controls ul.options_menu").each(function(){ var clone = $(this).find("li:first").clone(); clone.find("a").click(function(){ $.scrollTo(0); }).html("Back To Top"); clone.find("span").remove(); $(this).append(clone); } }); </script>
|
|
Former Member
inherit
guest@proboards.com
134807
0
Dec 1, 2024 16:11:30 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 21, 2012 10:18:37 GMT -8
That's better thanks Patrick, just need to increase the font size now, as the words look lost at the bottom of the board. You can use <font size="6">Back To Top</font> where the text is To also make it bold <font size="6"><b>Back To Top</b></font> Change the 6 to what size you want That's much better, thanks Patrick - no one will miss it now! wellies.freemessageboards.com/
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 21, 2012 11:31:46 GMT -8
I'm using the one below and actually like it. Is there a way to color the button? <script> $(function(){ $("div.controls ul.options_menu").each(function(){ var clone = $(this).find("li:first").clone(); clone.find("a").click(function(){ $.scrollTo(0); }).html("Back To Top"); clone.find("span").remove(); $(this).append(clone); } }); </script> You can add whatever CSS you like. Could even attach a class if you prefer. Here's an example of how to set the background color. Just find and replace that part of the code. clone.find("a").click(function(){ $.scrollTo(0); }).html("Back To Top").css({ "background-color": "red" });
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Jan 15, 2013 8:06:28 GMT -8
Hi PeterIs there a way to make it so that if this sort of thing happens the back to top button is next to the dropdown menus? I'm using the script in the global headers. Thanks
|
|