O'Reilly Forums: Chapter 1 - Doesn't Return Data From Server - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 1 - Doesn't Return Data From Server

#1 User is offline   mikener 

  • New Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 01-July 08

Posted 21 April 2011 - 09:01 AM

When I run the code from chapter 1. I get the following error message [object Error] when I click on a thumbnail (the picture does display, so this is a server error of some kind).

I am not sure what this error means. Can anyone explain that error to me. In addition I would like to know if I need to install anything (i.e. php)? I am running on Windows XP.

Thanks

ps. The book mentions an appendix I to get help with the server. There is no appendix I.
0

#2 User is offline   gourav 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 20-August 11

Posted 20 August 2011 - 10:02 PM

Hi Friend,
I think you should check your browser properties.There might b javascript debugging has been disabled.As i think issue is releated to javascript.you do not need to install php as is used for server side contents to display.if as u just said u are not able to view images then it means.some issues with javascript.
Regards,
Gourav Bansal
0

#3 User is offline   mikelv 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 25-June 14

Posted 25 June 2014 - 09:59 PM

thumbs = document.getElementById("thumbnailPane").getElementsByTagName("img");

should be:

thumbs = document.getElementById("thumbnailPanel").getElementsByTagName("img");

they dropped the "l" in Panel
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users