[thelist] onClick="open problem

Hugh Blair hblair at hotfootmail.com
Wed Feb 5 05:48:01 CST 2003


I'm trying to 'wrap' an image with an onClick action
that opens an html file, but I'm getting a 500 server
error even though I know the path is correct. Holding
the mouse over the image shows:
"http://www.domain.com/cgi-bin/store/html/images/1014.html"
just like it should.

So I see this as one of two problems and I don't know
which one and if either can be resolved:

1 - I can't serve html pages inside the /cgi-bin directory,
    (I don't buy this one because other html files are
     accessed inside the /cgi-bin area)
2 - the onClick action can't serve an html file.

I'm stumped. Below is a snip from the page that causes
the problem. BTW, I've tried setting the permissions on
the html file to 755 and 777 - no change. The /images
directory and those under it are set at 755.

(This *is* on one line. I've used "~" to show that the
line continues...)

<a href="html/images/1014.html" title="Larger image"  ~
target="view" onClick="open('html/images/1014.html',  ~
'view', 'width=420,top=50,left=50,scrollbars=yes,     ~
resizable=yes')"><img src="/1014.jpg" border="0"></a>

Any ideas? What am I missing here?

--
   Hugh




More information about the thelist mailing list