Reputation: 40671
Is it possible to create dynamically addressed LIKE button in XUL ?
Need to place it on XUL OVERLAY toolbar.
My idea is about IFRAME addressing like_button.html in chrome:// and changing src param inside. But there is javascript interaction with button, which can be problem, isn't it?
Thanks
Upvotes: 2
Views: 249
Reputation: 1939
as far as I know there won't be any problem in changing the parameters inside or outside using JavaScript and XUL. Using DOM you can manipulate anything & you can create any elements dynamically in XUL JavaScript.
https://developer.mozilla.org/en/Dynamically_modifying_XUL-based_user_interface https://developer.mozilla.org/en/XUL_Tutorial/Document_Object_Model https://developer.mozilla.org/en/XUL_Tutorial/Modifying_a_XUL_Interface http://mb.eschew.org/15
These links will be more helpful for you to go on!!!!
Upvotes: 2