Hey Guys
I am a new member of the dynamic drive forums and I need some help.
The reason for this message is in response to the post below titled 'Mouse cursor and trailing' (I thought id start a new thread although I also posted it as a response below)
I noticed John was very helpful in his response and I was wondering if anyone would be so kind as to help my with a similar dillema that I am having with JavaScript...
Basically I have created a website and I have employed a menu system using javascript (along with other javascripts in the same page.) These all work fine but when I attempt to incorporate a mouse trailer javascript code, it simply does not work as there seems to be a conflict with the other javascript scripts in the webpage, whereas the other scrips work fine.
I tried the links and the tutorial provided by jscheuer1 in the post below but they do not apply to me as I am not using an onLoad script within the body tag of my webpage. (except onLoad=set() to display the date)
My question is in regard to the following quote:
QUOTE
One other approach that works in both situations is to put one script in a borderless iframe. It will look like it is on the same page but, since it really is on a separate page, conflicts are no longer an issue.
UNQUOTE
My question therefore is:
How can I get the javascript coding in the IFRAME of my webpage to work / execute on all other pages? As the javascript seems to be executed in the IFRAME only and not the main page where I want it to work. Bascially the mouse trailer now works in the IFRAME and not the main page of the website so I want to 'pull' in the javascript from this IFRAME into the main pages of the website so that there will no longer be a conflict of scripts as the IFRAME is on a separate page technically.
I thought you guys would be the best to ask this question, as you all seem to know your stuff.
Any answer to this question or help on solving this would greatly be appreciated.
Kind Regards
DJM



Reply With Quote

Bookmarks