Go Back   UltraGuest Forum > UltraGuest Forums > Guestbook Support

Closed Thread
 
Thread Tools Display Modes
Old 09-10-2004, 04:22 AM   #1
Cugel
 
Join Date: Aug 2004
Posts: 19
Question 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
Cugel is offline  
Old 09-10-2004, 06:21 AM   #2
Cugel
 
Join Date: Aug 2004
Posts: 19
Lightbulb 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.
Cugel is offline  
Old 09-10-2004, 06:24 AM   #3
Cugel
 
Join Date: Aug 2004
Posts: 19
Default 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?
Cugel is offline  
Old 09-10-2004, 06:32 AM   #4
Cugel
 
Join Date: Aug 2004
Posts: 19
Default 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.
Cugel is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:03 PM.


Page generated in 0.03054 seconds with 11 queries