My client has just let me know that there are javascript errors on all his pages - I have checked it out and it’s where the sequence timer is being implemented.
All I have are 3 large images that rotate… would anyone know what would be causing the error?
Currently the JS is in an external file, but even when I brought it inline the error was still there.
Hi Nathan,
The javascript on that page is looking through the page and any
framesets to locate target elements to animate. The issue is that you
have an iframe that houses content from another domain (http://www.meteoralimited.com/quotes.php
). As JavaScript cannot run over domain boundaries the browser throws
an error.
Ideally the action should be aware of this but for the moment try and
consolidate the iframe content either into the main page or bring the
included quotes page onto the same domain as the main page.
Regards,
Tim.
On 3 Feb 2010, at 14:09, Nathan Garner wrote:
My client has just let me know that there are javascript errors on
all his pages - I have checked it out and it’s where the sequence
timer is being implemented.
All I have are 3 large images that rotate… would anyone know what
would be causing the error?
Currently the JS is in an external file, but even when I brought it
inline the error was still there.
Excellent - thank you for spotting that. I will try and get the php into the main page.
Thanks again Tim.
Nathan Garner
Creative Director
Austin Wells Design Limited
One Elmgate Drive - Littledown - Bournemouth BH7 7EF
t 01202 301271 e email@hidden w http://www.austinwellsdesign.co.uk
Member of NAPP | Zen Affiliate | Dorset Business Member | YEC
On 3 Feb 2010, at 14:18, Tim Plumb wrote:
Hi Nathan,
The javascript on that page is looking through the page and any framesets to locate target elements to animate. The issue is that you have an iframe that houses content from another domain (http://www.meteoralimited.com/quotes.php). As JavaScript cannot run over domain boundaries the browser throws an error.
Ideally the action should be aware of this but for the moment try and consolidate the iframe content either into the main page or bring the included quotes page onto the same domain as the main page.
Regards,
Tim.
On 3 Feb 2010, at 14:09, Nathan Garner wrote:
My client has just let me know that there are javascript errors on all his pages - I have checked it out and it’s where the sequence timer is being implemented.
All I have are 3 large images that rotate… would anyone know what would be causing the error?
Currently the JS is in an external file, but even when I brought it inline the error was still there.