Forum Moderators: open

Message Too Old, No Replies

Questions about using Opera

         

peterinwa

1:26 am on Dec 1, 2003 (gmt 0)

10+ Year Member



I downloaded Opera to further check my webpages. I found and corrected two things though they didn't bother IE or N.

One was that opera was hanging on the "&" character used as text in <select option... The other was that where I forgot to specify width and height for some graphics it initially displayed them condensed then expanded them. Quite a visual effect!

I have three calculators and each is coded in Frames and JavaScript. Two work fine, but one fails in Opera.

When it fails I get a blank white screen and I have never been able to get any error descriptions in the JavaScript Console.

Also curious as that once the failure occurs if I put a new URL in the address box and click on Go nothing happens. Opera is dead.

But most curious is that this same webpage/calculator works fine from my hard drive. This failure only occurs over the Internet.

Mostly I am asking if anyone can explain Opera seeming to die, display a white screen and not give error messages. But just in case it gives a clue I will explain what is happening when it fails.

Initially the calculator loads and operates fine. But it calculates nutrition, and I can load a variety of different food lists, e.g., McDonald's or Wendy's.

Since the data for all the food lists won't fit in memory at one time, to load another list I store the list number in a cookie and then reload the calculator. In reloading it conditionally loads the selected food list from a .js file.

It is at this point that it fails over the Internet, though this all works fine from my hard drive.

Thanks for any ideas, Peter

tedster

8:42 pm on Dec 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



fails over the Internet, though this all works fine from my hard drive

That's the fact to focus on. Sounds like the essential code works, but there's a reference in there that is to your local machine. I'd start by checking references to the frames.

PS - I moved this thread to the Javascript Forum from Browsers

peterinwa

5:34 am on Dec 2, 2003 (gmt 0)

10+ Year Member



Tedster, I don't know if this could be related but your post made me think it might be worth mentioning.

Though all three of my JS calculators run fine with Netscape, they all get error messages if I look into the JS Console.

The message is "parent.create has no properties"

There are two children frames, image and create.

Image has a default image that says the calculator is loading. Create reads cookies and then assembles the calculator accordingly... re-writing the image frame.

So create does all the work but the user is always looking at image.

When a calculator action calls a JS function it does it via parent.create.functionName().

It's almost as if something's trying to call a function in create before it has been created.

Thanks, Clueless