I was wondering if someone here can help me with a problem I'm having.
I'm working my way through the 'Beginning JavaScript' (2'nd Edition) book by
Wrox Press.
As I get further into the book, it seems the scripts are not working as
well.
I have 2 in particular that have me baffled; the code that I downloaded from
the site is also not running-maybe it's a browser issue?
I am not so sure how my browser settings should be configured to best run
these scripts, while still maintaining a secure environment.
The techs at Wrox say the code runs fine for them, but I have no luck, plus
the rest of the book is built on this code.
I am using IE 6 and Netscape 7 (Netscape seems to be less tempermental.)
(I am running windows XP.)
I can post the code or direct someone to the site where the code is posted,
(not sure how I should do this...) 16 1611
ommadawn a écrit : I was wondering if someone here can help me with a problem I'm having. I'm working my way through the 'Beginning JavaScript' (2'nd Edition) book by Wrox Press.
[...] I can post the code or direct someone to the site where the code is posted, (not sure how I should do this...)
when you are on the site on the page with this code
you copy the url (in location bar)
and you past it here
it becomes a link easily clickable
without this code no help
--
Stephane Moriaux et son [moins] vieux Mac
"ASM" <st*********************@wanadoo.fr.invalid> wrote in message
news:43**********************@news.wanadoo.fr... ommadawn a écrit : I was wondering if someone here can help me with a problem I'm having. I'm working my way through the 'Beginning JavaScript' (2'nd Edition) book by Wrox Press.
[...] I can post the code or direct someone to the site where the code is posted, (not sure how I should do this...)
when you are on the site on the page with this code you copy the url (in location bar) and you past it here
it becomes a link easily clickable
without this code no help
-- Stephane Moriaux et son [moins] vieux Mac
These are on the site as a zip file; not sure how to show you this.
The example uses frames, so there is one page inside another.
If you want to try, it's on this page: code samples for chapter 7 http://www.wrox.com/WileyCDA/WroxTit...load_code.html
The file is called 'TriviaQuiz.htm.
ommadawn a écrit : "ASM" <st*********************@wanadoo.fr.invalid> wrote in message news:43**********************@news.wanadoo.fr...
ommadawn a écrit :
I was wondering if someone here can help me with a problem I'm having. I'm working my way through the 'Beginning JavaScript' (2'nd Edition) book by Wrox Press.
If you want to try, it's on this page: code samples for chapter 7 http://www.wrox.com/WileyCDA/WroxTit...load_code.html
The file is called 'TriviaQuiz.htm.
Yes, got it.
What is your question ?
--
Stephane Moriaux et son [moins] vieux Mac
ommadawn a écrit : "ASM" <st*********************@wanadoo.fr.invalid> wrote in message news:43**********************@news.wanadoo.fr...
ommadawn a écrit :
The file is called 'TriviaQuiz.htm.
I don't know how works XP
if it is sensible with case in names of files
the demo can't work because few files names are not correctly spelled
(some characters in lower case would have to be in upper case)
you can go here to get a soft to rename files and their links http://www.xlanguage.com/products/rename.htm
but, probably, it'll not rename files called in javascript ...
So, you have to open each file of this exercise
to verify and correct if needed all names of files called in :
- links
and
- javascript functions
--
Stephane Moriaux et son [moins] vieux Mac
ASM said the following on 9/29/2005 7:01 AM: ommadawn a écrit :
"ASM" <st*********************@wanadoo.fr.invalid> wrote in message news:43**********************@news.wanadoo.fr...
ommadawn a écrit :
The file is called 'TriviaQuiz.htm.
I don't know how works XP if it is sensible with case in names of files
XP is not case sensitive with names. No version of Windows ever has been
and I hope they never are.
the demo can't work because few files names are not correctly spelled (some characters in lower case would have to be in upper case)
It is spelling sensitive though.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
"Randy Webb" <Hi************@aol.com> wrote in message
news:CL********************@comcast.com... ASM said the following on 9/29/2005 7:01 AM:
ommadawn a écrit :
"ASM" <st*********************@wanadoo.fr.invalid> wrote in message news:43**********************@news.wanadoo.fr...
ommadawn a écrit :
The file is called 'TriviaQuiz.htm.
I don't know how works XP if it is sensible with case in names of files
XP is not case sensitive with names. No version of Windows ever has been and I hope they never are.
the demo can't work because few files names are not correctly spelled (some characters in lower case would have to be in upper case)
It is spelling sensitive though.
-- Randy comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Don't think this is the problem, though, because the folks at Wrox said they
were immediately able to take the quiz and grade it.
"Randy Webb" <Hi************@aol.com> wrote in message
news:CL********************@comcast.com... ASM said the following on 9/29/2005 7:01 AM:
ommadawn a écrit :
"ASM" <st*********************@wanadoo.fr.invalid> wrote in message news:43**********************@news.wanadoo.fr...
ommadawn a écrit :
The file is called 'TriviaQuiz.htm.
I don't know how works XP if it is sensible with case in names of files
XP is not case sensitive with names. No version of Windows ever has been and I hope they never are.
the demo can't work because few files names are not correctly spelled (some characters in lower case would have to be in upper case)
It is spelling sensitive though.
-- Randy comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Wrox techs opened it with no problem, though...
ommadawn a écrit : "ASM" <st*********************@wanadoo.fr.invalid> wrote in message news:43**********************@news.wanadoo.fr. ..
>ommadawn a écrit :
The file is called 'TriviaQuiz.htm.
the demo can't work because few files names are not correctly spelled (some characters in lower case would have to be in upper case)
Don't think this is the problem, though, because the folks at Wrox said they were immediately able to take the quiz and grade it.
The folks at Wrox can write wrong names of files so ...
But it's true : all seem to run fine for me.
What, where, your trouble happens ?
--
Stephane Moriaux et son [moins] vieux Mac
On 28/09/2005 23:48, ommadawn wrote: I was wondering if someone here can help me with a problem I'm having. I'm working my way through the 'Beginning JavaScript' (2'nd Edition) book by Wrox Press.
Sorry to be the bearer of bad news, but most books on the subject of
client-side scripting are notoriously bad.
As I get further into the book, it seems the scripts are not working as well.
It's looking as though your book is another that should, in service to
users everywhere, be burnt.
I have 2 in particular that have me baffled; the code that I downloaded from the site is also not running-maybe it's a browser issue?
Possibly, but you never did state what exactly the problem is as you
perceive it. The general quality of both markup and code is extremely
poor, and it should not be presented as learning material to anyone.
This group has only recommended one book, as shown in the FAQ
(<URL:http://www.jibbering.com/faq/#FAQ3_1>). However, I feel more can
be learnt through participation in this newsgroup than using any book.
[snip]
Mike
--
Michael Winter
Prefix subject with [News] before replying by e-mail.
ommadawn wrote in message news:ga***************@newsread3.news.atl.earthlin k.net...
[...] Wrox techs opened it with no problem, though...
Ok, forgive me, but this seems more a "Wrox - ommadawn" problem than
a comp.lang.javascript problem.
Nonetheless here are a few thoughts:
1. did you extract all the files from the zipped file?
2. did you run the TriviaQuiz.htm file in your browser?
3. what browser are you using?
4. is JavaScript enabled? (I know, stupid question, but /is it/?)
Why am feeding these thoughts?
Well, because I did download the zipped file, and instead of running
TriviaQuiz.htm I loaded QuizPage.htm and it didn't work, then I looked
at the code and found out that it is [frameset] dependent (yuck!)
anyway, after loading TriviaQuiz.htm (remember, all files need to be
in the same directory) everything worked.
HTH
"Michael Winter" <m.******@blueyonder.co.uk> wrote in message
news:gO*******************@text.news.blueyonder.co .uk... On 28/09/2005 23:48, ommadawn wrote:
I was wondering if someone here can help me with a problem I'm having. I'm working my way through the 'Beginning JavaScript' (2'nd Edition) book by Wrox Press.
Sorry to be the bearer of bad news, but most books on the subject of client-side scripting are notoriously bad.
As I get further into the book, it seems the scripts are not working as well.
It's looking as though your book is another that should, in service to users everywhere, be burnt.
I have 2 in particular that have me baffled; the code that I downloaded from the site is also not running-maybe it's a browser issue?
Possibly, but you never did state what exactly the problem is as you perceive it. The general quality of both markup and code is extremely poor, and it should not be presented as learning material to anyone.
This group has only recommended one book, as shown in the FAQ (<URL:http://www.jibbering.com/faq/#FAQ3_1>). However, I feel more can be learnt through participation in this newsgroup than using any book.
[snip]
Mike
-- Michael Winter Prefix subject with [News] before replying by e-mail.
Yes, I'll try again, but I cannot seem to get it to work, even with all the
files in the same directory. Probably stupid problem...
JRS: In article <CL********************@comcast.com>, dated Thu, 29 Sep
2005 13:52:30, seen in news:comp.lang.javascript, Randy Webb
<Hi************@aol.com> posted : XP is not case sensitive with names. No version of Windows ever has been and I hope they never are.
That could be misleading.
When Windows is using the name to refer to a file, the case of letters
A-Z does not matter (I don't know whether it matters for other letters).
But the following are not equivalent unless /i is added :-
dir /b | find "Astro"
dir /b | find "astro"
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk DOS 3.3, 6.20; Win98. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demon.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demon.co.uk/batfiles.htm> - also batprogs.htm.
Dr John Stockton said the following on 9/30/2005 12:48 PM: JRS: In article <CL********************@comcast.com>, dated Thu, 29 Sep 2005 13:52:30, seen in news:comp.lang.javascript, Randy Webb <Hi************@aol.com> posted :
XP is not case sensitive with names. No version of Windows ever has been and I hope they never are.
That could be misleading.
When Windows is using the name to refer to a file, the case of letters A-Z does not matter (I don't know whether it matters for other letters).
But the following are not equivalent unless /i is added :- dir /b | find "Astro" dir /b | find "astro"
That is not Windows, that is DOS which Windows resides over the top of
and executed through command.com, even when run in a Windows DOS Prompt
Box. And even then, it is find that is case sensitive, not Windows.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Randy Webb wrote: Dr John Stockton said the following on 9/30/2005 12:48 PM:
JRS: In article <CL********************@comcast.com>, dated Thu, 29 Sep 2005 13:52:30, seen in news:comp.lang.javascript, Randy Webb <Hi************@aol.com> posted :
XP is not case sensitive with names. No version of Windows ever has been and I hope they never are. That could be misleading.
When Windows is using the name to refer to a file, the case of letters A-Z does not matter (I don't know whether it matters for other letters).
But the following are not equivalent unless /i is added :- dir /b | find "Astro" dir /b | find "astro"
That is not Windows, that is DOS which Windows resides over the top of and executed through command.com, even when run in a Windows DOS Prompt Box. And even then, it is find that is case sensitive, not Windows.
Actually, it's the file system that may or may not be case-sensitive.
Traditionally, Unix file systems are case-sensitive, and Windows file
systems are not, but the systems themselves simply pass it through.
--
John W. Kennedy
"Compact is becoming contract,
Man only earns and pays."
-- Charles Williams. "Bors to Elayne: On the King's Coins"
JRS: In article <SJ********************@comcast.com>, dated Fri, 30 Sep
2005 18:24:00, seen in news:comp.lang.javascript, Randy Webb
<Hi************@aol.com> posted : Dr John Stockton said the following on 9/30/2005 12:48 PM:
JRS: In article <CL********************@comcast.com>, dated Thu, 29 Sep 2005 13:52:30, seen in news:comp.lang.javascript, Randy Webb <Hi************@aol.com> posted :
XP is not case sensitive with names. No version of Windows ever has been and I hope they never are.
That could be misleading.
When Windows is using the name to refer to a file, the case of letters A-Z does not matter (I don't know whether it matters for other letters).
But the following are not equivalent unless /i is added :- dir /b | find "Astro" dir /b | find "astro"
That is not Windows, that is DOS which Windows resides over the top of and executed through command.com, even when run in a Windows DOS Prompt Box. And even then, it is find that is case sensitive, not Windows.
After Windows 3.11, it ceased to be true that Windows actually runs on
top of DOS. The whole lot, including command.com and find.exe, is
supplied and installed as part of the Windows product. Therefore your
pedantic but inaccurate reply is irrelevant to my statement of the
potentially misleading nature of your words.
Actually, command.com itself is case-sensitive in part : try
if A==a echo xxx
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk DOS 3.3, 6.20; Win98. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demon.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demon.co.uk/batfiles.htm> - also batprogs.htm.
Dr John Stockton said the following on 10/1/2005 12:06 PM: JRS: In article <SJ********************@comcast.com>, dated Fri, 30 Sep 2005 18:24:00, seen in news:comp.lang.javascript, Randy Webb <Hi************@aol.com> posted :
Dr John Stockton said the following on 9/30/2005 12:48 PM:
JRS: In article <CL********************@comcast.com>, dated Thu, 29 Sep 2005 13:52:30, seen in news:comp.lang.javascript, Randy Webb <Hi************@aol.com> posted :
XP is not case sensitive with names. No version of Windows ever has been and I hope they never are.
That could be misleading.
When Windows is using the name to refer to a file, the case of letters A-Z does not matter (I don't know whether it matters for other letters).
But the following are not equivalent unless /i is added :- dir /b | find "Astro" dir /b | find "astro" That is not Windows, that is DOS which Windows resides over the top of and executed through command.com, even when run in a Windows DOS Prompt Box. And even then, it is find that is case sensitive, not Windows.
After Windows 3.11, it ceased to be true that Windows actually runs on top of DOS.
Fair enough, but open to debate. Win95 ran on top of DOS, they just
wouldn't admit it.
The whole lot, including command.com and find.exe, is supplied and installed as part of the Windows product.
True.
Therefore your pedantic but inaccurate reply is irrelevant to my statement of the potentially misleading nature of your words.
There was nothing misleading about my words, or the nature of them. XP
is not case-sensitive with file names. Windows never has been and
probably never will be. DOS wasn't either.
Name a file:
ALLCAPS.BAT
And then do a :
dir "allcaps.bat"
And it will find it, case aside.
Actually, command.com itself is case-sensitive in part : try if A==a echo xxx
True, and that still is not the Windows file system.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nathan Pinno |
last post by:
Hi all,
I need help figuring out how to fix my code. I'm using Python 2.2.3, and
it keeps telling me invalid syntax in the if name == "Nathan" line. Here is
the code if you need it.
#This...
|
by: kazack |
last post by:
I posted a similiar question in this newsgroup already and got an answer
which I already knew but didn't get the answer I was looking for so I am
reposting the code and question differently in the...
|
by: Dr. Laurence Leff |
last post by:
I am having trouble doing the basics with xmlto on Redhat to convert
DocBook XML into the various files.
I believe the problem is the first line on the files:
Here is starter file (notes.xml):...
|
by: Psykarrd |
last post by:
I am trying to declare a string variable as an array of char's. the
code looks like this.
char name;
then when i try to use the variable it dosn't work, however i am not
sure you can use it...
|
by: Anon |
last post by:
We are attempting to implement security on top of a shrink-wrapped software
package and are trying to get row-level security. Here's the scenario:
1. Table dbo.BOOK contains all the information...
|
by: Sean McCourt |
last post by:
Hi I am doing a JavaScript course and learning from the recommed book
(JavaScript 3rd Edition by Don Gosslin)
Below is one of the exercises from the book. I get this error message
when I try to...
|
by: racin_vegas |
last post by:
I am learning how to program with PHP however in the middle of a tutorial I am receiving the following error messages:
Warning: session_start(): open(:\tmp\sess_383eaaaf47de15d6e8ce2e65d873201e,...
|
by: James Fortune |
last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't
understand why people who know how to write code to completely replace
a front end do not write something that will automate...
|
by: pereges |
last post by:
I need to learn C from the hardware perspective and some other details
like linkers, loaders, compilers etc. Basically stuff that the
standard won't cover but you are expected to know it if you...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |