View Full Version : How do you use this?
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?
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
hehe "jquery.ajaxContent.js" not "jquery.ajaxcontent.js"
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.