PDA

View Full Version : How do you use this?



Moh
19-05-2009, 10:46 PM
http://www.andreacfm.com/os/ajaxcontent

Its just not working for me...

Agnostic Bear
20-05-2009, 05:15 AM
Do you use jQuery with it?

Moh
20-05-2009, 10:41 AM
Do you use jQuery with it?

Yep, heres what I'm using:


<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.form.js"></script>
<script type="text/javascript" src="jquery.ajaxcontent.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.ajax').ajaxContent({
loaderType:'img',
loadingMsg:'loading.gif',
target:'#ajaxContent'
});
}
</script>
</head>

<body>
<a class="ajax" href="text.html">Text 1</a>
<div id="ajaxContent" style="min-height:100px;margin:10px 0;border:1px solid #CCCCCC;"></div>
</body>

All the files exist too :S

Moh
20-05-2009, 06:30 PM
hehe "jquery.ajaxContent.js" not "jquery.ajaxcontent.js"

Want to hide these adverts? Register an account for free!