I just googled around, hacked at my function, etc.
For some reason I ended up trying this solution (i.e. setting
thisStory inside the getJSON callback instead of using the thisStory =
getJSON() way., and it works ALMOST:
//
Josh, thanks for your response - it helped clear up some of my
problems when I moved the var thisStory = $.getJSON("javascript/
test.js", function(json){etc.}); out of the $(document).ready();
block. Now at least the document.write is executing on the page...
But it's being written out as "undefi
Hi, I'm working on a page where graphics/content get loaded via server
side stuff and decided to try to use JSON to send the data.
But I'm having trouble with converting the JSON to a javascript object
when I use an external file.
This works:
http://dev.illovich.com/storigraphi5.html
==
I also tried
$(function(){
$('.frame3').click(function(){
$('#story').animate({ opacity: 'hide'},
'fast').css
('background-position' , '-0px -302px').animate({ opacity: 'show'},
'fast');
Hi,
I'm trying to get a basic sequence of events to work:
1) User clicks a link
2) two divs (not containing the link) fade out
3) the contents of one div's text and the background properties of the
other get changed
4) both divs fade in again.
I've tried to effect this a couple of different way
5 matches
Mail list logo