[Project_owners] Changing Mouse pointer and Opening Links in new tab
thaths at openscroll.org
Sat May 15 16:46:42 EDT 2004
I have some questions:
1. How do I change the mouse pointer to busy state on some event and
change it back to normal state later on using JS?
I tried the following:
(a) win = document.getElementsByTagName("window");
'b' gives me a JS error that there is no such method or property and 'a'
sets the cursor fine but I am unable to set it back to normal by doing
2. My application shows a bunch of links in an iframe inside the XUL
application. When the user clicks on a link, I want to open that link
in a new tab. Is this possible through HTML? Through some sort of JS
magic? I know it is a bad idea. But I am asking for this sort of
feature not for web sites but for XUL applications intalled in the browser.
3. My XUL application is overlaid on the Tools menu. When the user
lanyches the application, the XUL file is opened up in a new tab. The
new tab shows 'chrome://habarixenu/content/habarixenu.xul' as the title
of the tab. Even though habarixenu.xul sets the title attribute in the
window tag, this never shows up as the title of the tab. How do I set
the text that shows up on the tab? Also, how do I make the tab show
something like a Site Icon next to the title?
4. How do I add an icon to my application's entry in the Tools menu? I
like how this is done by ChromeEdit. I can't figure out how this is
being done in ChromeEdit.
5. How do I programatically open the bookmarks editor in response to a
menu item selection in my application?
"The most terrifying fact about the universe is not that it is
hostile but that it is indifferent." -- Stanley Kubrik
Slacker Without Borders http://openscroll.org/
Key fingerprint = 8A 84 2E 67 10 9A 64 03 24 38 B6 AB 1B 6E 8C E4
More information about the Project_owners