I have a question that I hope has an answer. I'm working on a website project which I can't talk about until the project is launched, but, my client wants to have all of the buttons on the page push when the mouse is clicked (rollover down) and that is generated in Java Script. Now he also wants to include a live news ticker on one of the pages.
My problem is that this is also Java Script and the instructions for the news ticker say to put it between the header tags which is where the script for the buttons lives. So on my pages without the news ticker the buttons light up and push just as they are supposed to. But when I paste in the news ticker script it cancels out the movement of the buttons. The links still work but the buttons no longer push. The news ticker works just fine but the buttons are now static. I am a graphic designer and not a programmer so I have no idea if there is something I can do to alleviate this problem. Is there a simple fix for this situation.
Thank you,
David Griffith
david@graphyx.com
503.254.8312
Graphyx Media Design and Digital Illustration
<head>
<title>Welcome To xxxxxxx.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ImageReady Preload Script (NewFront1f-1.psd) -->
<script type="text/javascript">
<!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var preloadFlag = false;
function preloadImages() {
if (document.images) {
home_down = newImage("images/home-down.jpg");
about_ann_down = newImage("images/about-ann-down.jpg");
conservative_issues_down = newImage("images/conservative-issues-down.jpg");
faq_down = newImage("images/faq-down.jpg");
web_security_down = newImage("images/web-security-down.jpg");
contact_us_down = newImage("images/contact-us-down.jpg");
subscribe_down = newImage("images/subscribe-down.jpg");
american_news_down = newImage("images/american-news-down.jpg");
american_blogs_down = newImage("images/american-blogs-down.jpg");
conservative_editorials_down = newImage("images/conservative-editorials-dow.jpg");
veterans_assistance_down = newImage("images/veterans-assistance-down.jpg");
terrorism_watch_down = newImage("images/terrorism-watch-down.jpg");
christian_resources_down = newImage("images/christian-resources-down.jpg");
preloadFlag = true;
}
}
// -->
</script>
<script language="javascript">
//Specify the marquee's width (in pixels)
var marqueewidth="300px"
//Specify the marquee's height
var marqueeheight="200px"
//Specify the marquee's speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1
//Absolute positioning
var yCoord=400
var xCoord=200
</script>