Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 101
Search took 0.01 seconds.
Search: Posts Made By: czambran
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 July 11th, 2006, 06:33 PM
Replies: 13
Views: 1,808
Posted By czambran
Nicholas, Wouldn't the code on your last...

Nicholas,

Wouldn't the code on your last post return a reference to a function rather than executing the anonymous function and therefore returning the value of the variable a?

Christian
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 July 11th, 2006, 06:26 PM
Replies: 13
Views: 1,808
Posted By czambran
Nicholas, What I meant was that if you used...

Nicholas,

What I meant was that if you used the function constructor *everytime* you wanted to define a function you wouldn't be able to do it.

If I take your code from the last post and change...
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 July 11th, 2006, 05:28 PM
Replies: 13
Views: 1,808
Posted By czambran
Nicholas, So closures can't be created if...

Nicholas,

So closures can't be created if you only use the Function constructor to create new functions.

Is there a situation where using the contructor is better?

Thanks

Christian
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 July 11th, 2006, 04:23 PM
Replies: 13
Views: 1,808
Posted By czambran
Nicholas, Is there a reason why on AGS'...

Nicholas,

Is there a reason why on AGS' example the function defined with the Function Constructor cannot access the variable 'myVar'?

Christian
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 July 7th, 2006, 02:29 PM
Replies: 13
Views: 1,808
Posted By czambran
Nicholas, Why then, on AGS example, the...

Nicholas,

Why then, on AGS example, the second function can not access myVar?

Thanks a lot guys for all your help,

Christian

Christian
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 July 7th, 2006, 02:17 PM
Replies: 13
Views: 1,808
Posted By czambran
In other words, you can't create closures using...

In other words, you can't create closures using the Function constructor, right?

Christian
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 July 7th, 2006, 02:08 PM
Replies: 13
Views: 1,808
Posted By czambran
And you can create closures using both methods,...

And you can create closures using both methods, right?

Thanks

Christian
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 July 7th, 2006, 10:57 AM
Replies: 13
Views: 1,808
Posted By czambran
Functions

On page 89 there is the following code:
var oCar = new Object;
oCar.color = “red”;
oCar.showColor = function () {
alert(this.color); //outputs “red”
};

I was wondering if there is any...
Forum: BOOK: CSS Instant Results June 30th, 2006, 09:19 AM
Replies: 2
Views: 2,260
Posted By czambran
Richard, First of all I would like to say I...

Richard,

First of all I would like to say I enjoyed your first book a lot, and I always keep it on my desk, and I am enjoying this second book as much as the first one.

I really appreciate you...
Forum: BOOK: CSS Instant Results June 29th, 2006, 12:26 PM
Replies: 2
Views: 2,260
Posted By czambran
How did u know?

Richard,

On page 10 you say the following:


The declaration the paragraph above is referring to is :
[s]

How did you know you needed to displace the li elements 3 more pixels if you...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 10th, 2005, 08:22 PM
Replies: 2
Views: 1,066
Posted By czambran
they appear fine on my pc! What is the size of...

they appear fine on my pc! What is the size of your screen?

Christian
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 9th, 2005, 10:33 AM
Replies: 3
Views: 2,004
Posted By czambran
which means that if a contained element has:...

which means that if a contained element has: width: 100%, and the containing element had: width: 200px;, it will assign to the contained element a width: of 200 px and not as much as space available,...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 9th, 2005, 01:34 AM
Replies: 3
Views: 2,004
Posted By czambran
Chapter 16

Richard,
table.recipe {
width: 100%;
margin-bottom: 5px;
}

On page 442 you have the following explanation for the above rule:


I have been unsure about what widht: 100% actually does, is...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 7th, 2005, 11:22 AM
Replies: 2
Views: 1,352
Posted By czambran
Thanks for the analogy, I think I now understand...

Thanks for the analogy, I think I now understand how the relative positioning works.

Christian
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 6th, 2005, 07:41 PM
Replies: 2
Views: 1,352
Posted By czambran
Position: relative;

Richard, on the book you say: "Unlike in absolute positioning, relatively positioned elements are not removed from the flow of a document", but it seems that they are taking of the flow of the...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 6th, 2005, 07:20 PM
Replies: 6
Views: 1,682
Posted By czambran
I have been following the TJ site allong the...

I have been following the TJ site allong the chapters, I even decided to type all the code, because after every single change I will try to find the reason for that change,at the end it looked awsome...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 6th, 2005, 05:00 PM
Replies: 6
Views: 1,682
Posted By czambran
Richard, I didn't mean to criticize your work. I...

Richard, I didn't mean to criticize your work. I think u have done a fantastic job. I love the book.

Christian
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 6th, 2005, 12:31 AM
Replies: 6
Views: 1,682
Posted By czambran
Final JT's dinner menu.

Richard, is there any reason why the website will not display correctly on opera 7.5? The menu gets weirdly displayed on IE, but my guess is that happens because of the bad css support of IE, but I...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 3rd, 2005, 09:12 PM
Replies: 4
Views: 3,208
Posted By czambran
Thank u for your prompt reponses. The link...

Thank u for your prompt reponses. The link provided made me see that FF is actually doing the right thing, and that IE like always wasn't. Visually it would seem the other way around though.


...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 3rd, 2005, 04:54 PM
Replies: 4
Views: 3,208
Posted By czambran
Richard, Thanks for the example, but if u look...

Richard,
Thanks for the example, but if u look at the page produced by the code you provided above, you will see that on IE the middle span actually looks like its in the middle while in FF it...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 April 2nd, 2005, 12:15 AM
Replies: 4
Views: 3,208
Posted By czambran
Another chapter 10 question.

On page 336, you have the following Code:
p {
padding: 0;
margin: 10px;
font-size: 40px;
border: 1px solid red;
}
span {
background: white;
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 March 31st, 2005, 03:11 PM
Replies: 10
Views: 1,943
Posted By czambran
Everything makes much more sense now. Thanks...

Everything makes much more sense now.

Thanks for your thorough explanations.



Christian
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 March 31st, 2005, 11:46 AM
Replies: 10
Views: 1,943
Posted By czambran
Like if I didn't have enough things to worry...

Like if I didn't have enough things to worry about, this margin collapse has my head spinning, specially when it involves a floating element.

On page 317, the second paragraph is flushed against...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 March 31st, 2005, 11:07 AM
Replies: 10
Views: 1,943
Posted By czambran
Richard here is another one for you: On page...

Richard here is another one for you:

On page 310, 4th line from the bottom you say:
Therefore, only 20 pixels separate the text of the first paragraph from the bottom of the browser window.
...
Forum: BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 March 30th, 2005, 08:29 PM
Replies: 10
Views: 1,943
Posted By czambran
Here it is: <!DOCTYPE html PUBLIC...

Here it is:
<!DOCTYPE html PUBLIC "-/pp/W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<style type="text/css">
html, body{
border: thin solid...
Showing results 1 to 25 of 101

 


All times are GMT -4. The time now is 06:44 AM.


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