Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2003
    Thanked 0 Times in 0 Posts

    Angry How do I reference document object, and find out active document

    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

  • #2
    Join Date
    Sep 2003
    Thanked 0 Times in 0 Posts
    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.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts