Hi…I’m working on a website and am having trouble figuring out where I can add/edit the text for the navigation buttons, HOME, ABOUT, CONTACT, etc. There is a rollover.js file and the rollover effect works fine, I just can’t figure out where to put the text for the navigation buttons and after a week of trying different things I thought I’d come here and try to get it working. My meager JS knowledge isn’t enough. I started this website from a template in case you’re wondering.
Here’s some of the code starting with where the images are preloaded then a few lines farther on are the onmouseover and onmouseouts.
<body id=“page_1” onload=“MM_preloadImages(‘images/bt_2_sel.jpg’,‘images/bt_3_sel.jpg’,‘images/bt_4_sel.jpg’,‘images/bt_5_sel.jpg’)”>
<div class=“main”>
<!–==========header=========== –>
<div id=“header”>
<div class=“logo”><h1>DesignStudio</h1></div>
<div class=“menu”><img src=“images/bt_1_sel.jpg” alt=“” width=“133” height=“53” /><a href=“options.php” onmouseout=“MM_swapImgRestore()” onmouseover=“MM_swapImage(‘Image2’,‘’,‘images/bt_2_sel.jpg’,1)”><img src=“images/bt_2.jpg” title=“options” alt=“” width=“158” height=“53” id=“Image2” /></a><a href=“port.php” onmouseout=“MM_swapImgRestore()” onmouseover=“MM_swapImage(‘Image3’,‘’,‘images/bt_3_sel.jpg’,1)”><img src=“images/bt_3.jpg” alt=“” width=“164” height=“53” id=“Image3” /></a><a href=“about.php” onmouseout=“MM_swapImgRestore()” onmouseover=“MM_swapImage(‘Image4’,‘’,‘images/bt_4_sel.jpg’,1)”><img src=“images/bt_4.jpg” alt=“” width=“151” height=“53” id=“Image4” /></a><a href=“contact.php” onmouseout=“MM_swapImgRestore()” onmouseover=“MM_swapImage(‘Image5’,‘’,‘images/bt_5_sel.jpg’,1)”><img src=“images/bt_5.jpg” alt=“” width=“163” height=“53” id=“Image5” /></a></div>
</div>
<!–========//header=========== –>
Are the mousseovers DHTML and not js I assumed they were js and were connected by the external rollover.js file. If anyone can look at this and point me in the right direction I would appreciate it.