Hi, I realise this must have been asked tons of times (a quick search of the forums confirms this statement!).
Is there anywhere in the docs (a forum post suggested, checking the code, and the docs, which I have done to limited success
)
which explains *why* it defaults to http://www.yui-ext.com/s.gif, when s.gif exists locally in the Resources/Images/<default/aero/etc>/s.gif ?
Does it have to be an absolute path to a server? (it seems to work ok for me with a relative path)
I apologise again if I'm missing something useful/obvious/well-documented, and if someone could point me to the relevant docs I'm happy to go and read
[/quote]
Is there anywhere in the docs (a forum post suggested, checking the code, and the docs, which I have done to limited success
Quote:
* URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images. (Defaults to * "http://www.yui-ext.com/s.gif" and you should change this to a URL on your server). |
which explains *why* it defaults to http://www.yui-ext.com/s.gif, when s.gif exists locally in the Resources/Images/<default/aero/etc>/s.gif ?
Does it have to be an absolute path to a server? (it seems to work ok for me with a relative path)
I apologise again if I'm missing something useful/obvious/well-documented, and if someone could point me to the relevant docs I'm happy to go and read

[/quote]

#2
![]() |
![]() hi
the best reponse i can figure out for that is that the library is loaded in a dynamic way and could be anywhere (ex: /lib/ext-1.0alpha3/ext-all.js or just ./ext-all.js) there is no need you to load the css files (you can just to load the ext-all.js file) but the blank image is needed to render some thinks like the tree and other visual stuff anyway what i do is: 1 load the ext lib 3 load the css 2 set the BLANK_IMAGE_URL in the initialization to a path i know it is there ex: <script type="text/javascript" src="./ext-all.js"></script> <link rel="stylesheet" type="text/css" href="./ext-all.css"></script> <script type="text/javascript"> Ext.BLANK_IMAGE_URL = "./resources/images/default/s.gif"; </script> ![]() |
#3
![]() |
![]() Jack uses iframes as "shims" for modal dialogs to block out z-index unfriendly elements, like select boxes. I think that in-order for those iframs to render, you need to provide them a src attribute, so he provides that url as the src of the iframe. You can configure where that image will live in your docroot via that constant.
![]() |
#4
![]() | |
![]() Quote:
Thanks! ![]() |