[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

[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 k3liu...@gmail.com 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

[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
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.

[jQuery] Re: Hover Area - Change image

2009-08-26 Thread wheatstraw
,_over));}, function() {        $(this).find('img').attr('src', $(this).find('img').attr ('src').replace(_over,_off)); }); It might be worth setting a variable to $('li.clickable').find('img') as well since it's used 4 times in there, just to reduce overhead. On Aug 26, 4:44 pm, wheatstraw

[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(){

[jQuery] Re: Hover Area - Change image

2009-08-25 Thread wheatstraw
element within the context of 'this' to perform the actions to it. wheatstraw wrote: 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