Thank you for your suggestion. I have tried it but no luck. Here's what I have:
the master.htm (my file is actually called contentnews.php - presumably there's no problem with linking to a PHP file?)
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>contentnews</title>
</head>
<body>
<div class="contentdiv">
<div align="center">
<a href="#" target="_new">
<img src="images/tech_images/net2.gif" alt="" width="140" height="100" />
<br />
<strong>will this work</strong></a></div>
Hoping to get this data from this external file to display in the main page... <a href="#" target="_new"> [read more]</a>
</div>
<div class="contentdiv">
<div align="center">
<a href="#" target="_new">
<img src="images/tech_images/filing_230x126.jpg" alt="" width="140" height="100" /><br />
<strong>Lots of news today</strong></a></div>
yes there is a lot of news to display today, if it will display at all...<a href="#" target="_new"> [read more]</a>
</div>
<div class="contentdiv">
<div align="center">
<a href="#" target="_new">
<img src="images/wmm_1.jpg" alt="" width="140" height="100" /><br />
<strong>Worth his salt</strong></a></div>
ddadmin is a very generous dude to help others' with their coding issues...<br />
<a href="#" target="_new"> [read more]</a>
</div>
</body>
</html>
And for the code on the main page
Code:
<link rel="stylesheet" type="text/css" href="styles/contentslider.css" />
<script type="text/javascript" src="scripts/contentslider.js">
/***********************************************
* Featured Content Slider- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<h3>Latest News:</h3>
<!--content ticker courtesy of www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm-->
<div id="slider1" class="contentslide">
</div>
<script type="text/javascript">
//Define: ContentSlider("slider_ID", [autorotate_miliseconds], [custompaginatelinkstext], [customnextlinktext])
//Auto rotate slider every 5 seconds
ContentSlider("slider1", 5000, "", "", "", "contentnews.htm")
</script>
And finally, I used your JS file, just as you said, without any mods.
Should the script on the main page be in the master.htm file?
What am I missing here?
TIA
Bookmarks