help with ajax dynamic content load css
1) Script Title: ajax dynamic content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem: I ahve this script working with the exception that I cant load a styling sheet.
The link calls a page referncing a php variable.
This is the link code:
<tr><td><a href="javascript:ajaxpage('<?php echo $p1?>', 'contentarea';loadobjs('./includes/external.css'));"><img src="<?php echo "./images/".$book['pix']; ?>" border='0' width='80' height='100'alt="View Book details"/></a>
</td>
The css is very simple at present
.definition p{
border:1px;
text-align: left;
background-color:gray;
}
The external page is:
<div id="definition">
<h2>Achieving Lift Off</h2>
<h2>Allan Wilson</h2>
<p class="=definition">
"I'm stunned!.. This ebook is an aggregation of some of the most powerful marketing techniques being used on the Internet today not just by myself but other Internet Marketing Experts as well! Everything contained in this manual is enough to help anyone earn thousands per month on the internet. It's just up to you to do it. Highly recommended!" How To Make Your Own Ebooks Take The Short-Cut To Success With Reprint Rights Maximise Your Profits From Affiliate Programs How To Create Your Own Website Two Horror Stories About Webhosting and How You Can Avoid Them Discover How Easy It Is To Have A Third Party Merchant Account You Must Use Pay Per Click Search Engines You Must Build An Email List and Follow Up Your Contacts You Must Have Good Customer Service Free Traffic Generators To Get You Started How To Learn More About Internet Marketing Action Plan If You Are Completely New Action Plan For The More Experienced We Present a Summary of All The Expert Advice We Reveal the Best Multi Level Marketing Programs
</p>
</div>
</body>
</html>
This is a link to the page.
http://217.46.159.226/e_cart22/show_...?product_id=17