Thanks for the help.  With your much needed advice I have nearly completed
the bits and pieces that I wanted. The final part that I can't get round is
as follows:

a) Your onClick routine allows me to use the below js function to display an
image and a select box:

function ordering() {
parent.title.document.winloc.visibility = "show";
}

It simply displays the following bit of code without problems:

<span id="winloc" style="position:relative; visibility:hide">
<form name="winform">
<img src="gifs/seeme.gif">
<select name="seloc" size="1" onChange="javascript:warp()">
<option value="bestsellers.asp">best sellers</option>
<option value="boxes.asp">boxes</option>
</select>
</form>
</span>

The problem that I can't get past is that the onChange event on my <select>
menu generates a 'document.winloc.winform has no properties' NN Javascript
error every time I try to select an option.  The code for this function is
below:

function warp(){
parent.viewer.location=document.winloc.winform.seloc.options[document.winloc
.winform.seloc.selectedIndex].value
}

What I don't understand is that if I take the everything out of the <span>
tags and take 'winloc' out of the function warp it works fine.  Is it
something to do with the visibility of <span>?

Your help would be very much appreciated.

Regards


Robbie

[EMAIL PROTECTED]  [EMAIL PROTECTED]



Christopher Jahn <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> And it came to pass that Robbie wrote:
>
> >Hi All
> >
> >Can somebody please let me know why the following 2 bits of
> >code won't work in NN 4.7x:
> >
> (code snipped)
>
> >Can somebody please clarify where I am going wrong on this as
> >it is driving me mad.
> >
> >By the way, all this works perfect in IE 4 or greater.
>
> EVERYTHING shows in IE 4.
>
> Here's your answer;
> http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bardwells.co.uk%2F
>
>
>
> --
> }:-)       Christopher Jahn
> {:-(         Dionysian Reveler
>
> Is it just me or are all uncles either really cool, or child
> molestors?
>
> To reply: xjahnATyahooDOTcom



Reply via email to