6 replies to this topic
Posted 17 June 2012 - 07:01 AM
Posted 19 June 2012 - 08:20 AM
Wheres your code?
Posted 19 June 2012 - 09:11 AM
The code is on page 20 of the book. It appears that the alert box occupies the entire browser window. In Firefox and Opera it is positioned near the center of the browser window and has a not so light, gray background. When you click the OK button the alert box disappears (as expected) and the background returns to its default value. There is no mention of this in the book.
The same thing happens when I run the code for irock3 directly from the zipped files.
It may be "fixable" with some styling, but I'm not going to waste time trying. I'm just going to move along!
Posted 19 June 2012 - 10:35 AM
I dont get that with firefox, chrome, or IE. That's why i wanted to see your code.
Posted 20 June 2012 - 11:22 AM
Posted 20 June 2012 - 11:28 AM
Here is the code for just the alert box. I copied it from the zipped files for Chapter 1.
<title> iRock - The Virtual Pet Rock</title>
<body onload="alert('Hello, I am your pet rock.');">
Posted 22 June 2012 - 06:11 AM
I tried Chrome and IE and the problem went away. With these two browsers, the alert box has a definite "Windows" structure. I'm using Firefox V13.0.1 and Windows XP Professional and have no plans to change. Thanks for your input.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users