diff options
Diffstat (limited to 'gallery/js/main.js')
| -rw-r--r-- | gallery/js/main.js | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/gallery/js/main.js b/gallery/js/main.js index 953e346..d97fab0 100644 --- a/gallery/js/main.js +++ b/gallery/js/main.js @@ -1,10 +1,23 @@ -var title_choices = [ +$(function(){ + $("b").addClass("pulsate_and_grow"); + $(".sorting-options").click(function(){ + + $(".sorting-options").click(function(){ + if ($(this).hasClass("pulsate_opacity")){ + $(this).removeClass("pulsate_opacity"); + } + $(this).addClass("pulsate_opacity"); + + }); + }); +}); + ZeroClipboard.setMoviePath( 'http://asdf.us/swf/ZeroClipboard10.swf' ); var clip = new ZeroClipboard.Client(); clip.glue( 'd_clip_button' ); -var Dump = - { + +var Dump = { pick: function () { Dump.pickUrl( $(this).attr("src") ) @@ -47,7 +60,8 @@ var Dump = { window.location.href = '?"""+back_QS+"""' } - } +} + function applyTag(tagname){ tag_regex = /&tag=[^&]*/; if (document.URL.match(tag_regex)){ @@ -123,22 +137,9 @@ var Main = Dump.clear() } } - 'Keep on pickin\' on..', - 'Pickolaus Pickleby by Charles Pickens!', - 'You pick potato and I pick potahto...', - 'Take your piq!', - 'Show em what you got', - 'I sure know how to pick \'em', - 'Jus pick somethin already!', - 'You can\'t pick your friends...', - 'Select your image my liege', - 'There\'s a time to choose...', - 'gimme a choice! gimme lil\' choice-a-that...', - 'You choose you lose', - 'novels by James CHOICE...', - 'Choose away, chooser-man...', -] -document.title = title_choices[Math.floor(Math.random() * title_choices.length)] + + + $(function(){ var imagedata = [ """ //needs a synchronous call here for (var i=0; i< (imagedata.length - 1); i++){ |
