Skip to content

Commit

Permalink
jQuery update and bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
codysherman committed Feb 9, 2011
1 parent 9a9520c commit 43bb4c8
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 179 deletions.
Binary file removed arrows/dualdown/arrow_black.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_blue.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_blue2.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_green.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_grey.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_only_blue.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_only_grey.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_orange.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_pink.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_pixel_blue.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_purple.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_red.png
Binary file not shown.
Binary file removed arrows/dualdown/arrow_yellow.png
Binary file not shown.
5 changes: 2 additions & 3 deletions content_script.js
Expand Up @@ -58,7 +58,6 @@ var transparency = response.transparency;


if (stbb == "dual"){ if (stbb == "dual"){
var imgURL=chrome.extension.getURL("arrows/dual/"+arrow+".png"); var imgURL=chrome.extension.getURL("arrows/dual/"+arrow+".png");
var imgURL2=chrome.extension.getURL("arrows/dualdown/"+arrow+".png");
} }
else{ else{
var imgURL=chrome.extension.getURL("arrows/"+arrow+".png"); var imgURL=chrome.extension.getURL("arrows/"+arrow+".png");
Expand Down Expand Up @@ -148,9 +147,9 @@ else if ((location == "BC") && (stbb == "dual")) {


if(stbb=="dual"){ if(stbb=="dual"){
$("body").prepend('<img id=STTBimg2 />'); $("body").prepend('<img id=STTBimg2 />');
//$("#STTBimg2").rotate(-180); $("#STTBimg2").rotate(-180);
STTBimg2.style.opacity = transparency; STTBimg2.style.opacity = transparency;
STTBimg2.src=imgURL2; STTBimg2.src=imgURL;
STTBimg2.style.position = 'fixed'; STTBimg2.style.position = 'fixed';
STTBimg2.style.width = size; STTBimg2.style.width = size;
STTBimg2.style.height = 'auto'; STTBimg2.style.height = 'auto';
Expand Down
168 changes: 0 additions & 168 deletions libraries/jquery-1.4.4.min.js

This file was deleted.

16 changes: 16 additions & 0 deletions libraries/jquery-1.5.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions manifest.json
@@ -1,6 +1,6 @@
{ {
"name": "Scroll to Top Button", "name": "Scroll to Top Button",
"version": "4.6.3", "version": "4.7",
"description": "Adds a scroll to top/bottom button.", "description": "Adds a scroll to top/bottom button.",
"icons": {"16": "icons/icon16.png", "icons": {"16": "icons/icon16.png",
"32": "icons/icon32.png", "32": "icons/icon32.png",
Expand All @@ -9,7 +9,7 @@
"options_page": "options.html", "options_page": "options.html",
"background_page": "background.html", "background_page": "background.html",
"content_scripts": [ "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": [ "permissions": [
"tabs" "tabs"
Expand Down
12 changes: 6 additions & 6 deletions options.html
Expand Up @@ -3,7 +3,7 @@




<link rel="stylesheet" type="text/css" href="/style.css"> <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"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
</style> </style>
<script type="text/javascript"> <script type="text/javascript">
Expand Down Expand Up @@ -285,7 +285,7 @@
<li>Bug fixes</li></ul></strong> <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>--> <p><center><a href="http://scrolltotopbutton.tumblr.com/" target="_blank">Keep up to date on new features here!</a></center></p>-->
</div> </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> <p>
Button Mode: Button Mode:
<select id="stbb" onChange="save_options();textChange();report(7)"> <select id="stbb" onChange="save_options();textChange();report(7)">
Expand Down Expand Up @@ -395,17 +395,17 @@
<button id="restore" onClick="defaults()"></button> <button id="restore" onClick="defaults()"></button>
<button id="author" onClick="authorsettings()"></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 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 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> <!--<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"> <div id="bottomNav">
<a href="http://scrolltotopbutton.tumblr.com/" target="_blank"><div id="release"></div></a> <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://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> <a href="http://codysherman.com/" target="_blank"><div id="cody"></div></a>
</div> </div>
<div style="border:1px #434b52 solid;height:60px;"> <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;"> <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>
</div> </div>


Expand Down

0 comments on commit 43bb4c8

Please sign in to comment.