[wp-hackers] image URL of JavaScript

Frank Bueltge frank at bueltge.de
Tue Oct 28 09:33:10 GMT 2008


A very nice feature of wordpress is to use the javascripts and
libraries of the core.
i include for a examble the thickbox-lib.

I have one problem - the image-path are not correctly

var tb_pathToImage = "../wp-includes/js/thickbox/loadingAnimation.gif";
var tb_closeImage = "../wp-includes/js/thickbox/tb-close.png";

Please it is possible to set the install-path with http:// - maybe
bloginfo('wpurl')
This is very easy and give many features for users to use the librarys.

Now i must set the vars in a script.

Thanks! and sorry for my bad english


More information about the wp-hackers mailing list