Wednesday, May 14, 2008 at 11:35 AM
A new gadget by Benjamin Schirmer is featured on the Inside Google Desktop blog. See the post Featured gadget: Thesaurus.

main.xml within the <view> element.<button height="30" name="button" image="image.png"Step 2: Now paste the following code into
opacity="200"
onmouseout="makeTransparent()"
onmouseover="makeOpaque()"/>
main.js.function makeTransparent() {
button.opacity = 200; //transparent (0 would be invisible)
}
function makeOpaque() {
button.opacity = 255; //completely opaque
}I used this technique in my Expression Tools, Windows Dock, and Fast Shutdown gadgets.
0
comments
Permalink
Links to this post
Labels: Developers, Tips

To remedy this, open the URL using JavaScript and the<a target="_blank" href="http://www.google.com">Go to Google</a>
onclick event.This executes the<a target="_self" href="#"
onclick="window.external.openUrl('http://www.google.com');">
Go to Google</a>
openUrl method on the external object with the parameter of the URL you want to visit. What does this external object look like? Here is the JavaScript code that defines the external object and assigns it to the details view. This should be run before the details view is opened.Now all your links will be opened in the default browser. Just don't forget to escape the URL!var externalObject = new Object();
externalObject.openUrl = function(url) {
framework.openUrl( url );
};
mydetailsview.external = externalObject;
1 comments
Permalink
Links to this post
Labels: Developers, Tips
var obj = new ActiveXObject('WScript.Shell');
obj.run('http://desktop.google.com/');Those days are over, as the latest Google Desktop release added an API for opening a URL in a browser: framework.openUrl('http://desktop.google.com/');This is documented in the 5.5 release notes, but we wrote this tip in case you missed it. :)
0
comments
Permalink
Links to this post
Labels: Tips