|
09-10-2004, 04:22 AM | #1 |
Join Date: Aug 2004
Posts: 19
|
Linking to Javascript routines
Hi
Is it possible to link to an external Javascript source? The web page I am placing the guestbook on has an animated part which need to pick up mouse locations. As the guestbook is being displayed in a frame, I need a javascript to be running to send the mouse details back to the parent. I have tried adding this by including the appropriate code in the HTML view of the guestbook settings, but although the code seems to be accepted, when I view the guestbook I get a "permission denied" error. What I don't know is if that is a fault with the guestbook, or with my web host not allowing remote linking to the file. Any thoughts? Cheers Cug |
09-10-2004, 06:21 AM | #2 |
Join Date: Aug 2004
Posts: 19
|
Re: Linking to Javascript routines
Hmmm. I'm guessing it's not a remote linking issue. The JS file was only small, so I pasted it directly into the HTML for the guestbook settings. Still doesn't work - permission denied.
I think I'll do a couple of basic tests to confirm this. |
09-10-2004, 06:24 AM | #3 |
Join Date: Aug 2004
Posts: 19
|
Re: Linking to Javascript routines
Hmm. It's not blocking Javascript - I changed the forum to have a simple Javascript alert, and that worked fine.
Back to the drawing board then to try and work out what is actually causing the problem. Maybe it's sending parameters to the parent that is causing problems? |
09-10-2004, 06:32 AM | #4 |
Join Date: Aug 2004
Posts: 19
|
Re: Linking to Javascript routines
The problem seems to be in retrieving a variable from the parent - I get a permission denied. Not sure what is causing that problem.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|