[jQuery] Re: lightbox overlay pushed to bottom of page

2009-10-05 Thread Chrazy
Guess you should start by using Firebug to see if you have any colliding css rules. On 4 Okt, 00:48, neridaj wrote: > I'm trying to add the lightbox plugin to a page and when the image is > clicked the overlay and corresponding image are pushed to the bottom > of the page wit the image below the

[jQuery] Re: something missing from my code?

2009-10-02 Thread Chrazy
When you write: $('a projTwo').click(function() { You want to identify the correct a by its class name (projTwo). So you would want to write it as: $('a.projTwo').click(function() { Notice the difference? On 2 Okt, 15:00, Glen_H wrote: > Hey guys, Im n

[jQuery] Re: Can't load a page from a loaded page.

2009-10-01 Thread Chrazy
You have to use the live() event. So instead of: $("#clickme2").click(function(){ $("#mainview").load("page03.html"); }); You write: $("#clickme2").live('click', function(){ $("#mainview").load("page03.html"); }); Functions will just work

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread Chrazy
>From the looks of it, why don't you use the $.ajax function and do your stuff on success? Seems like an easier way to structure things. Sometimes a variable used in a function that you want to use elsewhere has to be stored somewhere as it won't be recognized globally. Check http://docs.jquery.c