jQuery jPicker path issues when used in WordPress Theme Options
Posted
by Scott B
on Stack Overflow
See other posts from Stack Overflow
or by Scott B
Published on 2010-03-20T12:51:43Z
Indexed on
2010/03/20
13:01 UTC
Read the original article
Hit count: 281
jQuery
Anyone with experience using jPicker colorpicker in a WordPress Custom Theme options panel. I believe that the default path for the jPicker resources is /jPicker/ relative to the location the js file appears, however, I'm not seeing the picker.gif icon, so I tried changing the path in the js file like so...
images:{clientPath:"../wp-content/themes/myTheme/images/"
Everything else appears to be working at first load. My bound input field's background color is the same as the currently selected color. However, the picker.gif icon is missing. Where it should appear, I've just got a 2px wide by 20px tall color element (looks like a div perhaps).
© Stack Overflow or respective owner