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 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
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()},
img').attr
> ('src').replace("_off","_over"));}, function() {
>
> $(this).find('img').attr('src', $(this).find('img').attr
> ('src').replace("_over","_off"));
>
> });
>
&g
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()
$(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
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
7 matches
Mail list logo