473,657 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need Help With Problems From Book

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...)
Sep 28 '05 #1
16 1634
ASM
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
Sep 28 '05 #2

"ASM" <st************ *********@wanad oo.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 .
Sep 29 '05 #3
ASM
ommadawn a écrit :
"ASM" <st************ *********@wanad oo.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
Sep 29 '05 #4
ASM
ommadawn a écrit :
"ASM" <st************ *********@wanad oo.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
Sep 29 '05 #5
ASM said the following on 9/29/2005 7:01 AM:
ommadawn a écrit :
"ASM" <st************ *********@wanad oo.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.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Sep 29 '05 #6

"Randy Webb" <Hi************ @aol.com> wrote in message
news:CL******** ************@co mcast.com...
ASM said the following on 9/29/2005 7:01 AM:
ommadawn a écrit :
"ASM" <st************ *********@wanad oo.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.javas cript 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.
Sep 29 '05 #7

"Randy Webb" <Hi************ @aol.com> wrote in message
news:CL******** ************@co mcast.com...
ASM said the following on 9/29/2005 7:01 AM:
ommadawn a écrit :
"ASM" <st************ *********@wanad oo.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.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly


Wrox techs opened it with no problem, though...
Sep 29 '05 #8
ASM
ommadawn a écrit :

"ASM" <st************ *********@wanad oo.fr.invalid> wrote in message
news:43**** *************** ***@news.wanado o.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
Sep 29 '05 #9
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.c om/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.
Sep 30 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
1646
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 program asks for a password, then asks for the user's name after the correct password has been supplied. The computers response will vary, # depending on the name inputted. print "Program Author: Nathan Pinno"
4
2744
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 hope that someone could help me out. As said in an earlier post I am new to c++, this is alot harder to do than VB. I am for the most part self taught with what I already know and looking to learn more. The book I am using to teach myself from...
3
2723
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): <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"> <!ENTITY chap1 SYSTEM "chap1.xml"> <Book><title>CS310 notes</title></BOOK>
41
3941
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 the way i am trying to. Could some one please tell me what i am doing wrong, or another way of doing the same thing. i am trying to use the variable like this.
5
4132
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 about books in every department. 2. There are a large number of developed reports that run queries like "select * from BOOK..." 3. We wish to have each Department only be able to see their books - without changing the existing reports.
3
2558
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 use the calculator. "document.Calculate.Input is null or not an object" Can someone please tell me why this is?
4
1936
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, O_RDWR) failed: Invalid argument (22) in W:\www\development\Projects\Learning Files\Book Project\movie1.php on line 3 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at...
19
4091
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 the code that implements managing unbound controls on forms given the superior performance of unbound controls in a client/server environment. I can easily understand a newbie using bound controls or someone with a tight deadline. I guess I need...
8
2686
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 want to become better at programming. I have just bought this book and it is full of examples in C. Can some one please let me know if this is a good book to start with.
0
8399
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8827
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8504
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6169
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1622
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.