Wrox Programmer Forums
|
BOOK: Beginning JavaScript and CSS Development with jQuery
This is the forum to discuss the Wrox book Beginning JavaScript and CSS Development with jQuery by Richard York; ISBN: 9780470227794
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaScript and CSS Development with jQuery section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 27th, 2011, 05:18 PM
Registered User
 
Join Date: Apr 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page 6 Source Code

When I purchase any computer book to learn a new technology, I always type in the example source code by hand. I purchase the Beginning JavaScript and CSS develpment with jQuery and typed in the 3 files that are on page 6 of the book. Of course I adjusted the path to find the jQuery.js file. I was unable to get the example to work properly. I then downloaded the files from the Wrox website and made the path chages to find the jQuery.js file and was still unsuccessful. I am using Explorer version 8. Does anyone have any information on the code that is found on page 6?
 
Old April 28th, 2011, 03:18 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

If you downloaded the code from the web site then you don't need to make any path changes. All the paths are relative.

However in IE you will probably get a security warning asking you to allow blocked content. This can be changed using the "allow active content to run in files on my computer" setting in the advanced options in IE, but this is obviously something you should be careful changing as it is a bit of a security risk (hence why the setting is not set by default).
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
 
Old April 28th, 2011, 05:28 AM
Registered User
 
Join Date: Apr 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page 6 Source Code

In the example 'Example 1-1.html' it directs you to load the jQuery file as such:

src='../../../Source Code/jQuery/jQuery/jQuery.js'

When I download the compressed jQuery framework, it downloads as:

jquery-1.2.6.min.js

I then change jQuery.js to jquery-1.2.6.min.js and it worked fine. Learning curve on my part. Thank you for the reply.
 
Old April 28th, 2011, 05:50 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Well jquery is included in the source code download, so you shouldn't have had to do that, but I'm glad you got it working.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to save html page source code? Jaymond Flurrie Access VBA 2 July 2nd, 2019 06:04 PM
DataList is Showing Up in Source Code, But Not On Web Page? kwilliams ASP.NET 3.5 Basics 10 January 20th, 2016 02:15 PM
sending image from source page to target page hinishant_13 General .NET 1 February 12th, 2011 08:58 AM
Need source code FrankBrown BOOK: Beginning Visual C++ 6 0 August 30th, 2010 06:53 PM
Code Source Geronimo Classic ASP Professional 1 December 22nd, 2003 05:16 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.