1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Rep Power

    Javascript error

    I'm new to javascript, so please bare with me. I currently use javascript to handle navigation on my webpage which uses frames. This code is found in a page shown below called "links.html". I did not use standards links because I wanted a custom L & F. So, when a cell in a table in "links.html" is clicked a webpage is loaded into the "main" view. See attached file for an illustration.

    Here's the problem. Some of the pages that I need to load into the main view come from a different server than the page that contains the rest of my web site. The first time I load one of these pages (from the other server) into the main view, everything works fine, no errors. However, the next time I click one of my Javascript links for ANY page, I get an "Access is denied" error. See below.

    Line: 9
    Char: 4
    Error: Access is denied
    Code: 0
    URL: http://myWebSite.net/links.html

    Any ideas??? Is there some kind of scope for Javascript that get's messed up? Thanks in advance! I've included the relavent Javascript in the attachment also.
    Attached Files

IMN logo majestic logo threadwatch logo seochat tools logo