1 austriaco Jul 30, 2008 17:40
3 austriaco Jul 30, 2008 18:41
Oh, Nein! One day lost for not looking before starting to code :(
On the other hand, I'll give it a try and see how it works.
4 afwas Jul 30, 2008 20:03
Hi Austriaco,
Don't get disappointed to much. I had the same with the Sorted Bloglist plugin and that still lives happily side by side with some AM thing.
I looked at your code. Please do use require_js and require_css and add_headline for the code in the header:
function AdminEndHtmlHead( & $params )
{
$the_url = $this->get_plugin_url( true );
require_js( $the_url . 'wick_0.1/sample_data.js', true );
require_css( $the_url . 'wick_0.1/wick.css', true );
return true;
}
Check those functions in the docs.
To solve your problem with the float change lines 212 and 213 in wick.js to:
siw.floater.style.left = x+'px';
siw.floater.style.top = y+'px';
I'd say it's a Gecko bug. If no dimensions are provided px is presumed. So don't ask me why this occured.
Anyway nice job.
Good luck and have fun
5 yabba Jul 30, 2008 20:16
Ahhh mate, yer months behind, try and keep up :roll:
Now I'm gonna have to go download your code and have a nosey :p
¥
6 austriaco Aug 06, 2008 15:59
Thanks Afwas, that in fact corrects the problem. I'll release the plugin anyway someday and see if anybody likes it more than the AM Predicting Tags :)
http://waffleson.co.uk/2008/04/predicting-tag ;)