[jQuery] Re: jQuery Pagination - Return to top of screen

2009-11-12 Thread wheatstraw
Works great, thank you. On Nov 12, 4:30 pm, Andrei Eftimie wrote: > > would anyone have any ideas on how to force > > the window scroll back to the top on click? > > function pageselectCallback(page_index, jq){ >        var new_content = $('#hiddenresult > div.result:eq('+page_index+')').clone();

[jQuery] jQuery Pagination - Return to top of screen

2009-11-12 Thread wheatstraw
jQuery Pagination works great, but when you click for the next set of results the window does not return to the top (if you have to scroll to get to the pagination). would anyone have any ideas on how to force the window scroll back to the top on click? - function pageselectCallback(page_i

[jQuery] Delay keyup

2009-10-20 Thread wheatstraw
Hello In the following code, I would like it delay the "keyup". Does anyone have an idea? $("#search_query").bind("keyup", function(e){ $("#quickresults").slideDown("fast"); $.post("http://www.wesbite.com";, {search_query: $(e.target).val()},

[jQuery] Re: Hover Area -> Change image

2009-08-26 Thread wheatstraw
img').attr > ('src').replace("_off","_over"));}, function() { > >        $(this).find('img').attr('src', $(this).find('img').attr > ('src').replace("_over","_off")); > > }); > &g

[jQuery] Re: Hover Area -> Change image

2009-08-26 Thread wheatstraw
OK! we're close... If I attach this to a variable and echo it out, it give's me the correct string. The _off is replaced with _over and the other way around. As I have it below, on hover, the image will not change, no errors (firebug), just doesn't do anything. $('li.clickable').hover(function()

[jQuery] Re: Hover Area -> Change image

2009-08-25 Thread wheatstraw
      $(this).children("img").attr("src", > $(this).attr("src").split("_off").join("_over"));}, function() { > >         $(this).children("img").attr("src", > $(this).attr("src").split("_over").join(&q

[jQuery] Hover Area -> Change image

2009-08-25 Thread wheatstraw
What I want to have happen is when you hover over the li it: 1) allows you to click the who area (this works) 2) The image swap. Right now the image will only swap when hovering over the image not the rest of the li. Any help would be appreciated! $(document).ready(function(){ $('li.cli