I have a question that goes back a few posts, again about the centercolumn_footer_defines.php file.
It works 100% when using plain text. You can control how it looks with css. My question is, how can I add something more complicated to centercolumn_footer_defines.php? For example, I would like to call a script that parses rss feeds into my centercolumn footer. The html that calls the script is:
But when I add this as is to centercolumns_footer_defines.php, it breaks the cart and everything goes blank.PHP 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" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
/*Example CSS for the two demo scrollers*/
#pscroller1{
width: 650px;
height: 1.2em;
border: 1px dashed black;
padding: 5px;
background-color: lightyellow;
}
#pscroller2{
width: 650px;
height: 90px;
border: 1px solid black;
padding: 5px;
background-color: #F0F0F0;
}
.rssclass .rsstitle{
font-weight: bold;
}
.rssclass .rssdate{
color: gray;
font-size: 85%;
}
.rssclass a{
text-decoration: none;
}
</style>
<script type="text/javascript" src="rsspausescroller.js">
</script>
</head>
<body>
<script type="text/javascript">
//new rsspausescroller(RSS_id, divId, divClass, delay, linktarget, optionalswitch)
//1) RSS_id: "Array key of RSS feed in scrollerbridge.php script"
//2) divId: "ID of DIV to display ticker in. DIV is dynamically created"
//3) divClass: "Class name of this ticker, for styling purposes"
//4) delay: delay between message change, in milliseconds
//5) linktarget: Target of links inside RSS feed. Set to "" for current page.
//6) optionalswitch: "optional arbitrary" string to create additional logic for formatrssmessage() to use.
// By default, optionalswitch supports "date", or "date+description" to also show these parts of a RSS feed.
new rsspausescroller("cnn", "pscroller1", "rssclass", 3000, "_new")
document.write("<br />") //add a divider for demo
new rsspausescroller("dynamicdrive", "pscroller2", "rssclass", 3000, "", "date+description")
</script>
</body>
</html>
Any ideas?



