Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: menu trouble


Message #1 by sdanckaarts@h... on Fri, 23 Mar 2001 11:23:45
Hi there,

I've got this menu i want to use on our site. However something goes 
wrong. It won't display. As you'll see i want to put it in a .jsp file. 
I'll put the code here under Could someone please tell me what i am doing 
wrong because it is killing me !!!

Thanks in advance,

Sylvia




<html>
<head>
<title></title>
</head>

<%
	Content backGround 	= thisPage.getContent ("ATR_backGround");
	Content picture_Large_A = thisPage.getContent
("ATR_Picture_Large_A");
	Content picture_Large 	= thisPage.getContent("ATR_Picture_Large");
	Content picture_Small_1 = thisPage.getContent
("ATR_Picture_Small_1");
	Content picture_Small 	= thisPage.getContent("ATR_Picture_Small");
	Content flash1 		= thisPage.getContent("ATR_Flash_Movie");
	Content poweredbyBMS	= thisPage.getContent("ATR_PoweredbyBMS");

	String	homeLink	= webstore.getURL ("Main/home.jsp");
%>

<center>

<body>





  <table width="100%" border="0" cellspacing="0" cellpadding="0" 
height="86%" bgcolor=#FFFFFF>
    <tr>
      
<td width="10%" rowspan="4" valign="top" align="center"> 
        
      </td>

      <td width="100%"> <div align="center">
		<BR> <!-- To have room for the javascript menus to 
dropdown, but not go behind the Flash movie -->
		<BR>

 

		<BR> <!-- To have room for the javascript menus to 
dropdown, but not go behind the Flash movie -->
		<BR>
      </td>
      <td height="51" width="14%"> </td>
    </tr>
    <tr>

      <td width="80%" rowspan="3" valign="top" align="center"> 
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->


<script language="JavaScript1.2" src="HM_Loader.js" 
type='text/javascript'></script>

<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->



</td>
      <td width="10%"> 
        <div align="right"> <img src="<%=picture_Small_1.getPath()%>"> 
</div>
      </td>
    </tr>
    <tr> 
      <td width="14%" height="163"> 
        <div align="center"> <a href="<%=homeLink%>" target="_blank"> <img 
src="<%=picture_Small.getPath()%>" border="0"></a> 
        </div>
      </td>
    </tr>
    <tr> 
      <td width="14%" height="163"> 
        <div align="center"> </a> 
        </div>
      </td>
    </tr>
 <tr> 
      <td align="center"> 
      </td>
    </tr>

  </table>

</center>
</body>
</html>

  Return to Index