Permalink
Browse files

jQuery update and bug fixes.

  • Loading branch information...
1 parent 9a9520c commit 43bb4c8a76bedc8192b951feeb3619219aa1f577 @codysherman committed Feb 9, 2011
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered
View
@@ -58,7 +58,6 @@ var transparency = response.transparency;
if (stbb == "dual"){
var imgURL=chrome.extension.getURL("arrows/dual/"+arrow+".png");
-var imgURL2=chrome.extension.getURL("arrows/dualdown/"+arrow+".png");
}
else{
var imgURL=chrome.extension.getURL("arrows/"+arrow+".png");
@@ -148,9 +147,9 @@ else if ((location == "BC") && (stbb == "dual")) {
if(stbb=="dual"){
$("body").prepend('<img id=STTBimg2 />');
- //$("#STTBimg2").rotate(-180);
+ $("#STTBimg2").rotate(-180);
STTBimg2.style.opacity = transparency;
-STTBimg2.src=imgURL2;
+STTBimg2.src=imgURL;
STTBimg2.style.position = 'fixed';
STTBimg2.style.width = size;
STTBimg2.style.height = 'auto';

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,6 +1,6 @@
{
"name": "Scroll to Top Button",
- "version": "4.6.3",
+ "version": "4.7",
"description": "Adds a scroll to top/bottom button.",
"icons": {"16": "icons/icon16.png",
"32": "icons/icon32.png",
@@ -9,7 +9,7 @@
"options_page": "options.html",
"background_page": "background.html",
"content_scripts": [
- { "matches": ["<all_urls>"], "js": ["libraries/jquery-1.4.4.min.js", "libraries/jquery.easing.js", "libraries/jQueryRotate.js", "jquery.scroll.pack.js", "content_script.js", "libraries/shortcut.js"] }
+ { "matches": ["<all_urls>"], "js": ["libraries/jquery-1.5.min.js", "libraries/jquery.easing.js", "libraries/jQueryRotate.js", "jquery.scroll.pack.js", "content_script.js", "libraries/shortcut.js"] }
],
"permissions": [
"tabs"
View
@@ -3,7 +3,7 @@
<link rel="stylesheet" type="text/css" href="/style.css">
-<script type="text/javascript" src="/libraries/jquery-1.4.4.min.js"></script>
+<script type="text/javascript" src="/libraries/jquery-1.5.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
</style>
<script type="text/javascript">
@@ -285,7 +285,7 @@
<li>Bug fixes</li></ul></strong>
<p><center><a href="http://scrolltotopbutton.tumblr.com/" target="_blank">Keep up to date on new features here!</a></center></p>-->
</div>
-<p><strong>Please <a href="https://chrome.google.com/webstore/detail/chiikmhgllekggjhdfjhajkfdkcngplp" target="_blank">rate this extension</a> if you enjoy it! Or request a new feature! The feedback really means a lot to me!</strong></p>
+<p><strong><center>Please <a href="https://chrome.google.com/webstore/detail/chiikmhgllekggjhdfjhajkfdkcngplp" target="_blank">rate this extension</a> if you enjoy it!<br/>The feedback really helps others find this extension!</strong></center></p>
<p>
Button Mode:
<select id="stbb" onChange="save_options();textChange();report(7)">
@@ -395,17 +395,17 @@
<button id="restore" onClick="defaults()"></button>
<button id="author" onClick="authorsettings()"></button>
<p id="status" style="float:left; font-size:.9em; line-height:.5; padding:3px 0 0 10px;"></p>
-<p style="padding-top:60px;">Press Alt+T/Alt+B or Home/End on a page to scroll with just your keyboard!</p>
-<p><strong>Do you speak multiple languages? Please help me translate this extension! <a href="mailto:sttb@codysherman.com">Email me!</a></strong></p>
+<p style="padding-top:50px;"><strong><center>Press Alt+T/Alt+B or Home/End on a page to scroll with just your keyboard!</center></strong></p>
+<!--<p><strong>Do you speak multiple languages? Please help me translate this extension! <a href="mailto:sttb@codysherman.com">Email me!</a></strong></p>-->
<div id="bottomNav">
<a href="http://scrolltotopbutton.tumblr.com/" target="_blank"><div id="release"></div></a>
<a href="http://github.com/codysherman/Scroll-to-Top-Button-Extension" target="_blank"><div id="source"></div></a>
<a href="http://codysherman.com/" target="_blank"><div id="cody"></div></a>
</div>
<div style="border:1px #434b52 solid;height:60px;">
-<div style="float:left;padding-left:3px;width:440px;padding-top:3px;">A fan of Scroll to Top Button? Donate! You can donate whatever amount you would like, and I would appreciate anything I can get to help pay for college and stuffs :) <a href="http://scrolltotopbutton.tumblr.com/donate" target="_blank">Need convincing?</a></div>
+<div style="float:left;padding-left:3px;width:440px;padding-top:3px;">A fan of Scroll to Top Button? Donate! You can donate whatever amount you would like, and I would appreciate anything I can get to help pay for college and stuffs :) <a href="http://scrolltotopbutton.tumblr.com/STTBdonate" target="_blank">Need convincing?</a></div>
<div style="padding-top:12px;padding-left:10px;float:left;">
-<a href="http://scrolltotopbutton.tumblr.com/donate-amount-check"><img src="/images/donate.png" alt="Donate"/></a>
+<a href="http://scrolltotopbutton.tumblr.com/STTBdonate"><img src="/images/donate.png" alt="Donate"/></a>
</div>
</div>

0 comments on commit 43bb4c8

Please sign in to comment.