[Chameleon] last of my button troubles?
bartvde at xs4all.nl
bartvde at xs4all.nl
Mon May 10 08:26:24 EDT 2004
Hi Paul (cc list),
I did get the button parameters working in Mozilla, but not in IE.
Why does the makeButton function always prepend a "null" as the first
parameter value?
I had to adapt my function to insert a dummy first parameter in order to
get it working:
function openPreview(dummy, format)
Also the makeButton function adds its own quotes around the string, so I
had to remove those in my makeButton call (layout instead of 'layout').
<?php echo makeButton( 'download', layout, 'GeoservicesPrint',
'images/icon_save.png', trim($oMLT->get("23", "Download")),
trim($oMLT->get("23", "Download")), array( 'width' => 75 )); ?>
As I said in Mozilla it works, but in IE not. I have 2 buttons which call
the same js function, but with a different parameter (layout and map). The
second button does not hover and cannot be clicked in IE.
Any thoughts, this must be something pretty deep in the button core?
Thanks in advance.
Best regards,
Bart
More information about the Chameleon
mailing list