OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Undefined Javascript Error

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Undefined Javascript Error
Page: [1]
 
stephenjames716

 

Posts: 2
Joined: 3/23/2009
Status: offline

 
Undefined Javascript Error - 3/23/2009 17:52:09   
Hello,

I am having an issue with internet explorer 6.0, and a undefined javascript error. The link to my page is the following:

http://testsite.staging.cnpstudio.com/magazine/

In firefox and safari the magazine loads fine, in IE 6.0 the magazine never loads, and I receive the following error:

Line: 2
Char: 1
Error: 'flippingbook' is undefined
Code: 0

If anyone has any suggestions I would greatly appreciate it.

Thanks,
Steve

TexasWebDevelopers

 

Posts: 722
Joined: 2/22/2002
From: Dallas, TX
Status: offline

 
RE: Undefined Javascript Error - 3/23/2009 19:05:33   
I just had this problem with another javascript and it took forever to track down this IE behavior.
Essentially Firefox and other browsers allow commas to end a javascript but NOT IE.
So this example is good for ALL browsers:
function blah() {
whatever.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_resizing : true
});
}

But the ending comma in this colored example chokes IE but still works in other browsers:
function blah() {
whatever.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_resizing : true,
});
}

I am betting that in the flipbook.js file there is a comma where it shouldn't be.

_____________________________

:)

Follow us on TWITTER

(in reply to stephenjames716)
stephenjames716

 

Posts: 2
Joined: 3/23/2009
Status: offline

 
RE: Undefined Javascript Error - 3/24/2009 9:18:21   
hello,

thank you for your reply. I have taken a look through the code in my file but didn't see anything out of the ordinary. If you would be so kind to take a look for me I would appreciate it.

http://testsite.staging.cnpstudio.com/wp-content/themes/TealGray/read_magazine/js/flippingbook.js

thanks!


(in reply to TexasWebDevelopers)
TexasWebDevelopers

 

Posts: 722
Joined: 2/22/2002
From: Dallas, TX
Status: offline

 
RE: Undefined Javascript Error - 3/24/2009 9:24:27   
nothing jumps out at me...so there is probably an interaction between scripts (you have a lot of them). Start by creating a test page and loading the javascripts one at a time and then view them with IE so you can narrow down the one that is causing the error. Start with the flipping page script on its own and then add the others one by one until an error occurs...that will give you some more code to check.

_____________________________

:)

Follow us on TWITTER

(in reply to stephenjames716)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Undefined Javascript Error
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts