Image linked to yui-ext Site - Ext JS
I was looking through Firebug and found that an image from a tree is linking to this site.
The code
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.
#
2
03-01-2007, 10: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 :
This can be either an absolute url or an relative url ("images/default/s.gif"for example)
#
3
03-01-2007, 10:42 AM
Ahhh. My fault. Thanks.
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>
</div>
<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.
#
2
03-01-2007, 10: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)
#
3
03-01-2007, 10:42 AM
Ahhh. My fault. Thanks.