View Full Version : Image linked to yui-ext Site

1 Mar 2007, 8:27 AM
I was looking through Firebug and found that an image from a tree is linking to this site.

The code

<li class="x-tree-node">
<div class="x-tree-node-el folder x-tree-node-collapsed">
<span class="x-tree-node-indent"/>
<span unselectable="on">Automotive</span> (#)
<ul style="display: none;" class="x-tree-node-ct"/>

It didn't copy that well from Firebug, but you can see that it's in a tree node.

I can't find where in the css or js files that it references the image from the site. I don't believe it is intended to do so, but I can't be 100% sure either.

1 Mar 2007, 8:31 AM
Read the docs and the sourcecode, it's explained there.

You can set this URL yourself by setting it in the global Ext namespace :

Ext.BLANK_IMAGE_URL = <url>;

This can be either an absolute url or an relative url ("images/default/s.gif" for example)

1 Mar 2007, 8:42 AM
Ahhh. My fault. Thanks.