Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not working in IE? 2

Status
Not open for further replies.

Not knowing which bit of functionality or which bit of code aside, you cannot have a variable called "close" (certainly within IE, anyway), as it is a method of the global window object. Rename this and see if that solves whatever problem you are having.

Hope this helps,
Dan

 
woops, i didnt realise that.

It says there is an object expected on line 709 char 1.

whats the object?
 
Well in FF there's an error that on lines 250 and 251, you didn't close two strings. These two lines should be closed somehow:
Code:
closemusic1 = "'[COLOR=red]"[/color];
loop='"[COLOR=red]'[/color];

"It is the mark of an educated mind to be able to entertain a thought without accepting it." - Aristotle
 
thats fixed. but now it doesnt work in firefox :S
 
The error in FF occurs at this line (254):
Code:
closed = ";} "
renaming that variable and then fixing all references to it should fix the problem.

"It is the mark of an educated mind to be able to entertain a thought without accepting it." - Aristotle
 

You are now using "closed" - which is also a reserved property of the global window object. Change this line:

Code:
closed = ";} "

to something like:

Code:
myClosed = ";} "

Dan

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top