Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
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?
Reply With Quote
  #2 (permalink)  
Old April 28th, 2011, 03:18 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,133
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?
Reply With Quote
  #3 (permalink)  
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.
Reply With Quote
  #4 (permalink)  
Old April 28th, 2011, 05:50 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,133
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?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 12:02 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.