TreePanel not functioning - Ext JS

The TreePanel was broken by me yesterday doing clean up. I have uploaded a new zip (same location) with a hot fix.

Sorry for any inconvenience.
  # 2  
02-19-2007, 12:10 PM

Thanks a lot, that fixed the problem I had with closing branches 8)
  # 3  
02-19-2007, 01:05 PM

i have the examples local running, the tree expamples dont show me the tree-pics (s.gif).
Under the pic property in firefox the pic url ist yui-ext.com/s.gif.
Anyone with the same problem?
  # 4  
02-19-2007, 01:09 PM

That's only an empty placeholder gif. Most likely the css link is wrong (yui-ext.css instead of ext-all.css).
  # 5  
02-19-2007, 01:14 PM

Take a look at the docs under Ext.BLANK_IMAGE_URL. It the url of a blank image file Ext can use to create inline image with css background images.
  # 6  
02-19-2007, 01:21 PM

i think it have something to do with core/ext.js BLANK_IMAGE_URL: "http://www.yui-ext.com/s.gif".
the css urls (../images/default/s.gif) are all ok.

ah, got it : http://www.yui-ext.com/forum/viewtopic.php?t=2829
  # 7  
02-19-2007, 01:27 PM

The reason it isn't specified as a standard css path is because the correct path depends on what page it is running in. Ideally, it should be set to an absolute path.
  # 8  
02-19-2007, 01:54 PM

Quote:
Originally Posted by jacksloc
The reason it isn't specified as a standard css path is because the correct path depends on what page it is running in. Ideally, it should be set to an absolute path.
By "absolute" you mean root relative, right?

Root relative:
/images/s.gif
instead of absolute:
http://mydomain.com/images/s.gif
  # 9  
02-19-2007, 01:59 PM

Yes, that would work too.
  # 10  
02-19-2007, 02:06 PM

The only reason I mention is that the absolute path will cause issues for users who have apps that switch in and out of SSL mode.

你可能感兴趣的:(PHP,css,ext,firefox,yui)