Need simple advice on putting a Javascript into a table.

CaptainBill

Senior member
Aug 16, 2001
436
0
0
Ok I have the following script and I need to put it in a table so it can be positioned where I want it on the page (on the side as a menu):

<script type='text/javascript'>

//HV Menu- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visit http://www.dynamicdrive.com for this script and more

function Go(){return}

</script>
<script type='text/javascript' src='exmplmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>
<noscript>Your browser does not support script</noscript>

Now whenever I put table tags around it it doesn't load. The place that I downloaded it at said to put it in between the <body></body>
tags...could that have something to do with it? Is it not possible to put this script in a table?
 

stndn

Golden Member
Mar 10, 2001
1,886
0
0
i had some problems with "empty" <SCRIPT> tags that read the source from external files...
what i end up doing is putting empty lines between the <SCRIPT> and </SCRIPT> tag on those...

try this instead...

<script type='text/javascript'>

//HV Menu- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visit http://www.dynamicdrive.com for this script and more

function Go(){return}

</script>

<script type='text/javascript' src='exmplmenu_var.js'>
<!--
// -->

</script>
<script type='text/javascript' src='menu_com.js'>
<!--
// -->

</script>
<noscript>Your browser does not support script</noscript>

see if that helps .....

-1019-
 

CaptainBill

Senior member
Aug 16, 2001
436
0
0
Got it figured out...This script coujldn't be put into a table cell like I was trying to do, but in the config file of the script there was the option to adjust the x and y coordinates to adjusts the position on the page...thanks for your reply as well stndn!