Posts: 501
Location: Memphis, TN, USA
|
Hi, I'm having some problems that are really killing me. I've been trying to fix this for over 7 hours now and I have tried EVERYTHING that I can think of. I need more brain power :P. Perhaps I can borrow some of yours.
Heres the problem. I'm trying to call some js into my html document so that i can easily change links around sitewide with one edit. The thing is i really need to send a couple of files for you to understand the problem. I'll cut and paste everything here I suppose..
Here is my main index file:
Quote:
<SCRIPT src="js/cts.jsp" langauge="javascript"></script>
<SCRIPT src="js/navigation.jsp" langauge="javascript"></script>
</HEAD>
<BODY BGCOLOR=#FFFFFF background="images/bgb.gif" text="#000000" link="#666666" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="MM_preloadImages('images/websites.gif','images/Graphics.gif','images/Templates.gif',
'images/Testimonials.gif','images/Contact-Us.gif','images/Hosting.gif','images/Home.gif','images/About-Us.gif','images/Services.gif','images/Contact-Us-top.gif')">
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> <img src="images/banner.jpg" width="778" height="173" alt="website designer tennessee - Memphis web page design, hosting, marketing and promotion"></td>
</tr>
</table>
<script language="javascript">navigation()</script>
<table width="778" border="0" cellspacing="0" cellpadding="0" height="13">
<tr>
<td><img src="images/3_10.gif" width=778 height=13 alt="about - memphis webpage designer"></td>
</tr>
</table>
|
where the js function 'navigation' is from this jsp file:
Quote:
function navigation()
{
<table width="778" border="0" cellspacing="0" cellpadding="0"><tr><td width="89"><a href="../index.html"><img src="../images/3_02.gif" alt="tennessee designer" width=89 height=28 border="0"></a></td><td width="85"><img src="../images/3_03.gif" width=85 height=28 alt="designer memphis"></td><td width="195"><img src="../images/3_04.jpg" width=195 height=28 alt="website"></td><td width="59"><a href="../index.html" onMouseOver="MM_swapImage('Image6','','../images/Home.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/3_05.gif" alt="" name="Image6" width=59 height=28 border="0" id="Image6"></a></td><td width="81"><a href="../aboutus/aboutus.html" onMouseOver="MM_swapImage('Image7','','../images/About-Us.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/3_06.gif" alt="" name="Image7" width=81 height=28 border="0" id="Image7"></a></td><td width="80"><a href="../Services/Services.html" onMouseOver="MM_swapImage('Image8','','../images/Services.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/3_07.gif" alt="" name="Image8" width=80 height=28 border="0" id="Image8"></a></td><td width="80"><a href="../contactus/contactus.html" onMouseOver="MM_swapImage('Image9','','../images/Contact-Us-top.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/3_08.gif" alt="" name="Image9" width=80 height=28 border="0" id="Image9"></a></td><td width="109"><a href="../Testimonials/Testimonials.html" onMouseOver="MM_swapImage('Image10','','../images/Testimonials.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../images/3_09.gif" alt="" name="Image10" width=109 height=28 border="0" id="Image10"></a></td></tr></table>'
}
|
thats all one massive line..
and then the other js on the page works fine.
The problem is that i dont see my navigation in any broswer, its just not there! help pleeease!
if you want all of the code please contact me because i havent uploaded this
__________________
Please login or register to view this content. Registration is FREE
Custom Tailored Solutions designs the best looking, most functional customized marketing solutions from web design to brochures with a 100% satisfaction guarantee, all for a price that fits your budget.
Last edited by TaylorAtCTS; 12-08-2004 at 12:07 AM..
Reason: overstretched
|