Doh ... I thought of the solution 3 seconds later ... just add a class
that is defined in the css file instead of changing the actual style
On Oct 10, 12:37 am, bleen <[EMAIL PROTECTED]> wrote:
> I have this:
>
> $('#id').click( function(){ $(this).css('background
I have this:
$('#id').click( function(){ $(this).css('background-image','url(images/
img.jpg)'); } );
Problem is that I want to use a path (images/img.jpg) that is relative
to my CSS file, not to the current page... The obvious first question
will be "why not just put /path/to/images?" The ans
site in question: www.nypost.com (scroll down to "most emailed/most
popular" on bottom right or "classififeds search" on VERY bottom
right)
For some reason we keep getting this error:
Value undefined (result of expression elm.toSource) is not object.
Thoughts?
Alex
Are you saying that the markup (as it downloads form the server
(including your JS above)) is not validating? Or your markup AFTER the
JS has made its changes is not validating? I'm guessing its the
former. If it is, try putting all your JS in an html comment tag. like
this:
foreach( options as option){
do stuff
}
I found a trick burined inside the jqmodal example page ...
in your AJAX loaded content do this:
$().ready(function(){ });
This seems to work just like $(document).ready but inside AJAX loaded
content.
Here is my issue:
The js I use on the following page works great using jquery, jqmaps
and the google maps API to load up a map:
http://dev.c21hull.com/listings/map.htm?listing_id=GL-9027
Now, I want to load teh map in a modal window via an AJAX call so I
use jqmodal. When you click "mapit" the m
nevermind...
I was reusing a variable
I have a page with 2 AJAX requests that happen on document.ready...
here's what happens:
request1 goes out
request2 goes out
request2 receives response intended for request1
response comes in from request2, but does not get handled
What do I do about this?
--
Alex
I have a page with 2 AJAX requests that happen on document.ready...
here's what happens:
request1 goes out
request2 goes out
request2 receives response intended for request1
response comes in from request2, but does not get handled
What do I do about this?
--
Alex
http://www.nypost.com/testing/test_jquery_problem.htm
http://www.nypost.com/testing/test_jquery_noprob.htm
ideas??
--
Alex
If the function below (which is called in a mouseover event) is run
too many times, too quickly it doesn't work (i.e. the html in question
is not changed)
function loadedContentProcess(tab,result){
content[tab] = result;
$
("#popular_quicksearch_content").hide().html(content[tab])
I created a small widget with 4 tabs - rollover the tab and the
content below changes. In IE6 if I roll over the tabs with any kind
of speed (a def possibility for my users) the entire browser window
flashes before my new content loads. Thoughts?
var content = new Array();
$(document).ready(fu
13 matches
Mail list logo