View Full Version : How do I reference document object, and find out active document

10-25-2003, 04:14 PM
I'm currently in the process of creating an online catalogue using Actinic, and recently came across a Javascript on javascriptkit.com that allows you to have a drop down box on a page and when you change the value an image changes to display a different image.

I've copied and pasted this into a single page html with a couple of example images, and it works fine. But when I try and put it into my catalogue I get an error stating document.mygallery..... object not found. As I'm quite new to scripting and html I'm unsure how actinic works.

How can I in javascript tell it to reference the document/frame where the combo box resides, as I think that I'm trying to reference a sub-page/frame.


I look forward to any help anyone can give me on this.

Thank You

Elfyn Jones

Willy Duitt
10-26-2003, 04:27 AM
Hi elfynfire;

Either a link to your page, an attached .txt file or posting
some of the relevant codes you are using would be helpful.

Just looking at the script at javascriptkit does not explain
how you have tried to use it, or what you may be doing wrong.

We know the script works. :)