[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: onmouseover routines (fwd)

Hello again,

Can anyone check out my page at http://www.NETural.coom/~ccamel and see 
why my table of contents page, which is called contents.html, is not 
working right ?
I tried to put my links in a form to group them but when i press on the 
'jump' button that i made which is supposed to take you to whatever you 
chose in the form and put it in the 'main' window is not working 
properly. Does anyone know why? Well here is my code:

<script language=JavaScript >

function openNewUrl( frameWindow, whichForm ) {

  var maxLength = document.forms[whichForm].ThisType.length

  for (var i = 0; i < maxLength; i++) {
     if (document.forms[whichForm].ThisType.options[i].selected == true )
         urlAddress =
document.forms[whichForm].ThisType.options[i].value  //set url

  if ( frameWindow == "_top" )
     top.open( urlAddress, frameWindow )        // overwrite old window
     parent.open( urlAddress, frameWindow )     // in frame
<body bgcolor="#000000" text="#FFFFFF" link="#008040" vlink="#008040"
<img align=center src="./pix/new.gif" alt="NEW!" width=100><hr><p>
<base target="main">
<tr><td align="center">
<select name="ThisType">
<option selected value="http://www.ecn.bgu.edu/users/urhendel";>Robert
<option value="http://www.NETural.com/~thekind/";>Adam Dace
<tr><td align="center">
<input type="button" value="Jump to" onClick="openNewUrl('main',1)">

||                           |                                       ||
||    Aymeric Grassart       |         ccamel@NETural.com            ||     
||   Technical Support       |    http://www.NETural.com/~ccamel     ||
||  NETural Communications   |  http://www.ecn.bgu.edu/users/muaag4  ||

This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.