Internet Explorer scripting question
All  1  2-7

Previous
Next
 From:  BurrMan
3325.2 In reply to 3325.1 
try putting your js files in a subdirectory named scripts in the MoI root.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3325.3 In reply to 3325.1 
Hi Dave, well it's pretty hard to say just from a general description of the problem....

Is it possible for you to make some kind of example that I could try over here to repeat the problem?

Maybe it has something to do with cross-domain security though, although if you're using a relative path like that in src="" then I would think you shouldn't run into that. But most moi pages use the moi:// protocol which is a pluggable protocol that looks in the ui folder to find files. If something else is getting loaded with some other protocol like file:// or something like that maybe you could be hitting cross-domain security.

Maybe the other possibility is the tools you are working with may require standards-mode (with a DOCTYPE declaration) rather than quirks mode which is what MoI happens to use instead?

Do the standalone projects in IE8 work if you remove the doctype declarations from the top of the pages so that they're in quirks mode?

You could also try adding a doctype to your problem page as well, like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> at the very top.

If you can boil it down to the smallest possible example that I can try over here though, maybe I could take a look at it and see if anything jumps out.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Dave Morrill (DMORRILL)
3325.4 In reply to 3325.3 
OK, thanks for the input. I'll look into the protocol and doctype angles more. I know one of the packages dynamically builds a web page in Javascript within an <iframe> and includes a doctype at the beginning (along with some comments in the code saying that certain settings are to avoid some kind of an IE8 problem).

I guess I was hoping there was a flag somewhere I could set that says all errors should be logged rather than silently ignored.

I'll see if I can boil it down to a simple example for you. Thanks...

- Dave Morrill
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3325.5 In reply to 3325.4 
Hi Dave,

> I guess I was hoping there was a flag somewhere I could
> set that says all errors should be logged rather than silently ignored.

You may be able to find some things in the debug log - hold down Ctrl and click on the "MoI" text label in the upper-right corner of the window, and then pick "Show Log" on the menu that pops up.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3325.6 In reply to 3325.1 
Hi Dave, also do you know if the stuff you are trying to do works ok in MoI on a system with IE7 installed?

If so then that could point me to some extra security measure that was new in IE8 which I may need to disengage.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Dave Morrill (DMORRILL)
3325.7 In reply to 3325.6 
I didn't see anything in the log file.

I'll have to see if I have any machines with IE7 still installed. I know in the past it has been pretty hard to do a down-level install of IE, but maybe they've fixed that. I'll let you know if I find anything...

- Dave Morrill
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1  2-7