Hi, I'm going to use jQueryForDesigners's Simple jQuery Spy Effect that has been written using the jQuery 1.2.6, but I tried it and it works great with jQuery 1.4.2 but the problem is that, it does not work correctly with jQuery 1.4.3!
After some debugging, I reached some spot that seems to be the problem! And it's here:
// increase the height of the NEW first item $insert.animate({ height : height },1000).animate({ opacity :1},1000);
and as you can see, it is the animate method that seems to be broken!
I have created a JSFiddle for everyone to test the code both with jQuery 1.4.2 (The default one I selected) and jQuery 1.4.3 (Select it from the left panel and click the Run button again) below:
I load a JSON object from server using jQuery Ajax that has 3 string properties:
jObject.HTML
jObject.CSS
jObject.Javascript
I have a "contents" part in my page that should be dynamically updated at runtime...
The idea is that, I load the object, use the HTML to fill the container part, style it with the CSS and Set some event handlers and so using Javascript properties of my jObject.
The problem is that, I have no idea how to inject the CSS and Javascript into my page to be functional and does the jobs I need!