Download this sweetcron theme for FREE
If you are a sweetcron user and looking for a theme like this, please take it as a gift from me. Just give me a link back thats all i ask. Thanks for visiting. Hoping to cya around.
If you are a sweetcron user and looking for a theme like this, please take it as a gift from me. Just give me a link back thats all i ask. Thanks for visiting. Hoping to cya around.
Here’s a quick example of an ajax request with Mootools. the code below is from sandmoose.com. However I have modified it to get the data using the twitter search api. So the script contains 4 functions, the first function ‘initializeContainer’ makes a new ajax request to our file, in this case ‘twitter.php’. The next function initialises the fade out effect, and tells the function that onComplete to trigger the function ‘updateContainer’. This function puts the data from our file ‘twitter.php’ into the div with and id of contain, once this is done it triggers the function ‘fadeinContainer’ which fades the contents of the div back in. You need to include the mootools framework, here’s the Google hosted link:
<script src="http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js" type="text/javascript"><!--mce:0--></script>
The Code:
function initializeContainer() { new Ajax('twitter.php', {update:'contain'}).request(); }
function ajaxRequest() { $('contain').effect('opacity',{duration:1000, fps:50, onComplete:updateContainer}).start(1,0); };
function updateContainer() { new Ajax('twitter.php', {update:'contain', onComplete:fadeInContainer}).request(); }
function fadeInContainer() { $('contain').effect('opacity',{duration:1000, fps:50}).start(0,1); }
We need to initialise the function onload.
<body onLoad="initializeContainer()">

Via: http://feedproxy.google.com/~r/AshleyFord-Papermashupcom/~3/dXC7UFk2DUM/
Submissions, geotagged, twitxr, geo:lat=41754959, geo:lon=735093474, Tutorials, Resources, php, Quick Tip / Trick, Design, Web Design, reblog, inspiration, Freebies, Wordpress, CSS, photoshop, Screencasts, ooopx, maldives, JavaScript, jquery, Web Development, illustrator, news, Inspiring, html, Graphic Design, Reviews, effect, How-To, Photography, downloads, photo, list, layer, tutorial, Technology, Featured, tools, video, Icons, nettuts, theme, download, twitter, Developers Toolbox, Webdesign, free, funny,