On Sun, Dec 18, 2005 at 12:02:53PM -0600, Penguin Lover John Jolet squawked:
> javascript is, in fact, not java.  typically, in the context of web  
> sites, java is run server-side and essentially returns html for your  

Not quite. Java applets are mostly run client side, with possibly
a server-side counterpart for communications. 

> browser to interpret.  javascript, on the other hand, was, I believe,  
> developed by netscape, not sun.  they just called it that because it  
> has some similarities with java.  it is client-side, like microsoft's  
> proprietary activex technology.  Their response was probably fine,  
> since there is, in fact, no java in javascript, despite the name.  :)
> 
> Oddly enough, I had no problems with the smith and noble website with  
> firefox on my gentoo laptop...but that was a few months ago.
> 

Also, I can reproduce the error on 
 http://www.smithandnoble.com/sn/photoGalleryDetail.jsp?catID=-14150
with firefox 1.0.7-r2 and mozilla-1.7.12-r2

Javascript Console on both shows the following:

  Error:  document.frm_bundle.heroImage has no properties
  SourceFile: 
http://www.smithandnoble.com/sn/photoGalleryDetail.jsp?catID=-14150  line 114

For what it's worth, I believe those people reporting "success" might
be trying the wrong page. The website redirects all deep-links to the
front page. 

To reproduce the error, go to the frontpage of smith and noble, on the
left hand side, click Photo Gallery. Choose an arbitrary gallery from
the right when it appears, open up javascript console from
"Tools->Javascript console" in Firefox or "Tools->Web
development->Javascript Console" in Mozilla. Click on one of the
thumbnails on the right (the hyperlink should say
"javascript.switchImage(2)"), and see the image fail to load. 

To the OP: that might also be one of the reasons your bug was marked
invalid. They cannot reproduce the error from the description you
gave. 

>From my limited knowledge of javascript, I can't tell whether it is
a badly written javascript that parses in IE but not in Firefox, or
Firefox not supporting the full "standard", or perhaps the
site-designer used some IE-only extensions. 

I haven't tried Opera or Konqueror (don't have either installed). Any
input?

W
-- 
"`The first ten million years were the worst,' said Marvin, 
`and the second ten million, they were the worst too. The 
third ten million I didn't enjoy at all. After that I went 
into a bit of a decline.'" 

- Marvin reflecting back on his 576,000,003,579 year 
career as Milliways' car park attendent. 
Sortir en Pantoufles: up 36 days, 12:54
-- 
[email protected] mailing list

Reply via email to