04 May 2012, 13:28
Generic-user-small

Camden Kid (1 post)

I have the P4.0 version of the book

The Creating Pop-up Windows section (Tip 2) is all over the place and the download examples do not match.

(1) “When you look at AwesomeCo’s human resource page”

Where is that?

(2) <a href=’#’ onclick=”window.open(‘holiday_pay.html’,WinName,’width=300,height=300’);”> Holiday pay

It should be ‘WinName’ (in single quotes)

holiday_pay.html is in the folder ‘help’, it should be help/holiday_pay.html

(3) <a href=’holiday_pay.html’ onclick=”window.open(this.href,WinName,’width=300,height=300’);”> Holiday pay

This has the same errors as (2) but also does not do what we want as the calling page also displays the holiday pay text.

(4) example_3

Does not work and there is no inclusion of jQuery.

25 May 2012, 00:27
Bphogan_pragsmall

Brian P. Hogan (127 posts)

Have you added these to the errata for the book? I can get these fixed for the next printing.

  You must be logged in to comment