What do you get? What were you expecting?
Using $().load() to call in HTML will load only the raw HTML code so
you won't get any images, or styles. If you actually want google to
look and work like google then you'll probably need to load it in an
iframe.
On Aug 28, 9:12 am, ts
call :) thanks!
On Aug 27, 12:22 pm, Leonard Martin leonard.mar...@gmail.com wrote:
Have you also tried accessing your PHP page directly and copying it's
output intohttp://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be sure
Try accessing the target page directly in the browser and copying the
output into http://jsonlint.com. It sounds like there's an error in
the JSON output.
On Aug 28, 7:07 am, dalvir sainidal...@gmail.com wrote:
hi..
I'm using $.getJSON to get data from WCF service in the form om
json.
Have you also tried accessing your PHP page directly and copying it's
output into http://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be sure ;-)
On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote:
I would suggest using Firefox and
Have you also tried accessing your PHP page directly and copying it's
output into http://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be sure ;-)
On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote:
I would suggest using Firefox and
You will either need to use the live plugin as follows:
$('#thumbs a').live('click',function(){...});
Or move the binding of your 'click' inside the callback function of
your $.ajax call so it would then look like:
.appendTo('#thumbs').click(function(){...});
As it is you're trying to bind
Of course, just pure force of habit still makes me call it a plugin.
On Aug 26, 9:51 am, Paolo Chiodi chiod...@gmail.com wrote:
live is no longer a plugin, but core of jquery
Paolo
On Wed, Aug 26, 2009 at 10:14 AM, Leonard
Martinleonard.mar...@gmail.com wrote:
You will either need to
Looks like a case of asynchronous-itis. You're reading the val() of
the load()-ed div before the Ajax call has had a chance to respond.
What you'll want to do is add the fancyBox stuff to the callback
function for load() like this:
You're not actually setting the source once you've replaced it:
$('li.clickable').hover(function() {
$(this).find('img').attr('src', $(this).find('img').attr
('src').replace(_off,_over));
}, function() {
$(this).find('img').attr('src', $(this).find('img').attr
Yes, you (wheatstraw) just need to remember that attr('src') returns a
string and *not* a reference to the src attribute.
On Aug 26, 5:16 pm, amuhlou amysch...@gmail.com wrote:
I think keeping the source in a variable is the key here, try this:
$('li.clickable').hover(function() {
In this case you need to wrap the code inside the onclick in a
function:
onclick=function(){int=clearInterval(int);}
although obviously better would be to use $.click to bind the event:
$('button#foo').click(function(){int=clearInterval(int);});
You will probably also want to check that the
I've been trying to write an extension to the animate function to
allow the animation of elements along a parameterised path (in the
original motivation this was around the diameter of a circle) whilst
keeping use of things like $.easing and $().stop(). I've managed to
put something together that
Apologies, I missed the link:
http://in.tellig.net/jquery.animateparam/jquery.animateparam.js
and
http://in.tellig.net/jquery.animateparam/ for an example.
On Aug 19, 2:08 pm, Leonard Martin leonard.mar...@gmail.com wrote:
I've been trying to write an extension to the animate function
The trouble is that the $.post is run asynchronously so anything after
the $.post will be executed before the callback function.
If you want the returned data to be available outside the callback
then it will have to be inside a function which is called from within
your callback method.
e.g.
I think if you reverse the parameters you're passing to stop() then
that should achieve what you're after.
You want to clear the queue (true for first parameter) but stop the
animation where it is, not go to the end (false for second paramter).
On Aug 20, 3:16 pm, Xenongasman
I don't think so. I tried it with ClearType enabled and disbaled and
the effect was the same either way. It also seems not to affect MSIE,
only Gecko and Webkit.
On Aug 20, 2:49 pm, Liam Potter radioactiv...@gmail.com wrote:
Might have something to do with cleartype?
Leonard Martin wrote
:
Might have something to do with cleartype?
Leonard Martin wrote:
Apologies, I missed the link:
http://in.tellig.net/jquery.animateparam/jquery.animateparam.js
and
http://in.tellig.net/jquery.animateparam/for an example.
On Aug 19, 2:08 pm, Leonard Martin leonard.mar...@gmail.com wrote
. /geek
On Aug 20, 5:25 pm, Quang Ngo quang4...@gmail.com wrote:
On Thu, Aug 20, 2009 at 6:56 AM, Leonard Martin
leonard.mar...@gmail.comwrote:
I don't think so. I tried it with ClearType enabled and disbaled and
the effect was the same either way. It also seems not to affect MSIE,
only
18 matches
Mail list logo