To main page | Opera Unite HowTo's
Notifications (Growl'esque) Notifications in Opera Unite:
widget.showNotification('This is awesome!');
Doesn't need to be inside of URLs or window.onload.
The second parameter - function is quite mysterious.
All I can find now is that Opera devs use it like this:
widget.showNotification(msg, function() { opera.postError(msg)} );
On further investigation - it does what advertised (opens URLs on click):
widget.showNotification('This is awesome!', function(){
widget.openURL('http://opera.com/');
});
(It doesn't have to open URLs, but without event object - you don't have much to choose).
|