Reading this later I realize I should have creditied Mozilla's Javascript debugger. Without it I would not of discovered that I was passing a tree with the event and not a treeitem.
The Javascript Console and Javascript debugger are essential for XUL development, in my opinion. They also come in handy for general web development as well, as they can accurately reveal and test javascript issues.
Sure, here's the entire page. Note that the page consists of a menubar, checkbox, tree, and iframe. The menubar is dynamically built by XUL's use of RDF datasources. All of this was built based off what I learned from XULPlanet's tutorials and examples.
Actual urls have been removed to protect my friends from slashdotting.
<script type="application/x-javascript"> <!--/* loadURL takes an event and pulls a new url from it. Then it loads that new url into the mainpage iFrame.
loadURL2 takes a tree object then walks through it to find the treeitem that caused the event. Then it pulls the new url from the treeitem and loads that url into the mainpage iFrame. */
function loadURL(event) {
var contentFrame = document.getElementById('contentFrame');
var url = event.target.getAttribute('value');
if (url) contentFrame.setAttribute('src', url);
}
function loadURL2(tree) {
var contentFrame = document.getElementById('contentFrame');
var index = tree.currentIndex - 1;
var treeitem = tree.lastChild.firstChild.firstChild.childNodes.it em(index);
var url = treeitem.id;
if (url) contentFrame.setAttribute('src', url);
} -->
</script>
For Javascript I have that O'reily's The definitive Guide on Javascript to be exeptional. I mostly use it today for referencing specfic methods and functions, but it's also a good book to start with.
With XUL nearly all of the dynamic aspects are controlled by javascript, so its good to get a good grounding in that subject before you start in with the XUL tags.
I recently coded an XUL tree that loads links at the click event. Sounds easy but it took me a long time to figure out how to bubble up the right event.
The only way I figured it out was with the help of that javascript book.
I have been looking for a tool (that's better than Document inspector) to troubleshoot while I'm trying to code in RDF. I was hopeing for a debugger so I wouldn't have to test so many cases through multiple steps, but being able to see the structure may help some.
Too bad it doesn't take the XUL rules into consideration when redering maps like the one shown in the screenshot. Do you know if they are going to open development up anytime soon?
Yes, that's true for the short term. But increased demand signals that is advantageous to increase supply which ultimately adjusts our model to meet demand and then when demand dimenishes or economy of scale is reached it drives down price.
I think that if the battery life is a major issue, the PSP faithful will simple buy more extra battery packs. I think they will initially sell for around $45, so it's like the memory card when the PS2 first came out. Consider how many people bought one of those in the early days of the PS2. Eventually, Sony dropped the price. Supply and demand.
Yet, an extra battery pack is more of nuisance that a memory card. It requires periodic recharge and forces the user to remember to keep a battery charged or charging at all times. But in the end the market may drive down the price of extra battery packs and this battery life issue may be resolved through non techical means.
Re:A few really good Apps could make the differenc
on
Firefox - The Platform
·
· Score: 4, Informative
Does anyone know if someone is writing a webmail client in XUL?
Give the NYT a second chance, subscribe to their RSS stream. I used BugMeNot to get in and subscribed to thier RSS stream last week. They've been pretty good so far.
Don't shy away from different points of view my friend, you might be subscribing to the same kind of groupthink you detest.
You forgot to mention the blogosphere. Blogs dramatically lower the cost of entry into journalism. This has led many professionals and a bunch of arm chair quarterbacks to contribute the media cycle. In a nation that prides freedom of press, freedom of speech, and fairness, this is a good thing.
This is issue has been the centerpiece of MSNBC's Scarborough Country for about a week. Mainly because he's promoting his new book. Link to transcripts here.
The world is changeing and now we have a way of making issues come to the forfront. Bloggers unite!
True, as I understand the only reason why Chaska id this was because they couldn't get any of the major service providers to extend out to the town. Not of $ in it, I guess. So the city bought some fiber for the downtown buisnesses and rolled out the wireless bridge plan for the residents.
As an ISP so far they've been nice. There were some connection problems in August due to start up pains, so they've said their not going to charge for September.
I recently moved to a suburb of the Twin cities called Chaska, MN. Right when I moved they were rolling out their implementation of a town-wide wireless network. Their solution involved handing out wireless bridges to customers and sell service for $15 dollars a month.
Service was poor to nonexistant for the first three months. But as more residents bought in to the idea and turned on their bridges, access speeds and reliability greatly improved. Now its much faster than dial-up and I can even play a few games online.
The Xindi story arc was pretty good. A lot of the complaints I am seeing about Star Trek in general do not aptly describe Enterprise as it was last season. There were consequences, and while none of the major characters died. Some were changed dramatically, and possibly forever. And with the cliffhanger at the end of the last episode, they could go in several directions with the show.
What makes Enterprise different from Next Gen is that the episodes are more serial (less episodic). The previous episode usually impact the next episode. And past episodes have frequently impacted following episodes (Andorians, Star Fleet politics, gaining the trust of Vulcans, not to mention the whole Temporal War)
Finally, Star Trek is seems to be gaining the social comentary it once had in the original series. The Xindi war, especially the last few episodes, seemed to be makeing the same arguement those who support and those who are against the Iraqi War are making.
I really think folks should give the show a chance. Tivo a few reruns. Like Farscape, watch at least three to get what's going on.
In one person's analysis of the bugs fix for Firefox.9 it has been discovered that CSS-enabled opacity is one of the new features in this most resent release.
I for one have wanted to test this feature, but didn't know when it was going to hit the scene. It begs the question, Is Firfox the first browser to support CSS opacity?
Does anyone know whether or not the PSP will be here for Christmas? Seems like an enormous missed opprotunity if they don't. How many christmas season observing people are there in Japan NEway?
I've always had to watch Enterprise on Fridays with my local station. This show is inspiring. I am happy to see it on the air for another season. Now the writers and producers will have to match this season's story arc, that isn't as easy as you might think.
I have read from press statements that Sony intends the new PSP to be the "Walkman" for a new generation. Yet, from its specs it only stats to be able to play Sony atrac format. IMO not a good market strategy. The Walkman was succesful due to its ease of use and portability. Not being able to play music because of some obsure data incompatability will be hurtful for the PSP's music capabilities.
If Sony does not achieve its design goals for long battery life, music, movies, and lastly (and in their minds maybe least) game functionality. They might be able to tweak the components over time to extend the life of the system. The key will be whether it will be as easy to use and portable as the classic Walkman.
Based on the current specs (ie. no MP3), I don't see that happening.
Reading this later I realize I should have creditied Mozilla's Javascript debugger. Without it I would not of discovered that I was passing a tree with the event and not a treeitem.
The Javascript Console and Javascript debugger are essential for XUL development, in my opinion. They also come in handy for general web development as well, as they can accurately reveal and test javascript issues.
Actual urls have been removed to protect my friends from slashdotting.
If you have any questions please ask.
For Javascript I have that O'reily's The definitive Guide on Javascript to be exeptional. I mostly use it today for referencing specfic methods and functions, but it's also a good book to start with.
With XUL nearly all of the dynamic aspects are controlled by javascript, so its good to get a good grounding in that subject before you start in with the XUL tags.
I recently coded an XUL tree that loads links at the click event. Sounds easy but it took me a long time to figure out how to bubble up the right event.
The only way I figured it out was with the help of that javascript book.
How many years has it been? I knew if I kept reading slashdot I'd see a quote from Contact.
Indeed, and if you want to get on the ground floor of XUL development, goto XULPlanet, start reading, and get cracking on your own code.
Which system? will it be out in 2005 or early '06 or will they wait for the PS3 to come out so they can launch with it?
That would be something.
nuff said
I have been looking for a tool (that's better than Document inspector) to troubleshoot while I'm trying to code in RDF. I was hopeing for a debugger so I wouldn't have to test so many cases through multiple steps, but being able to see the structure may help some.
Too bad it doesn't take the XUL rules into consideration when redering maps like the one shown in the screenshot. Do you know if they are going to open development up anytime soon?
Yes, that's true for the short term. But increased demand signals that is advantageous to increase supply which ultimately adjusts our model to meet demand and then when demand dimenishes or economy of scale is reached it drives down price.
I hope i've got that right
I think that if the battery life is a major issue, the PSP faithful will simple buy more extra battery packs. I think they will initially sell for around $45, so it's like the memory card when the PS2 first came out. Consider how many people bought one of those in the early days of the PS2. Eventually, Sony dropped the price. Supply and demand.
Yet, an extra battery pack is more of nuisance that a memory card. It requires periodic recharge and forces the user to remember to keep a battery charged or charging at all times. But in the end the market may drive down the price of extra battery packs and this battery life issue may be resolved through non techical means.
Yes, http://xulwebmail.mozdev.org/
Why in the world is this comment not modded up. This is the most objective comment I've seen yet. and I've been post hunting for almost an hour!
Give the NYT a second chance, subscribe to their RSS stream. I used BugMeNot to get in and subscribed to thier RSS stream last week. They've been pretty good so far.
Don't shy away from different points of view my friend, you might be subscribing to the same kind of groupthink you detest.
Do you have links, can you support your claim? And if you can why do I have to hunt through this stream with -1 all posts to find it?
You forgot to mention the blogosphere. Blogs dramatically lower the cost of entry into journalism. This has led many professionals and a bunch of arm chair quarterbacks to contribute the media cycle. In a nation that prides freedom of press, freedom of speech, and fairness, this is a good thing.
I've seen Mr. Bush more often than any you mentioned above.
This is issue has been the centerpiece of MSNBC's Scarborough Country for about a week. Mainly because he's promoting his new book. Link to transcripts here.
The world is changeing and now we have a way of making issues come to the forfront. Bloggers unite!
True, as I understand the only reason why Chaska id this was because they couldn't get any of the major service providers to extend out to the town. Not of $ in it, I guess. So the city bought some fiber for the downtown buisnesses and rolled out the wireless bridge plan for the residents.
As an ISP so far they've been nice. There were some connection problems in August due to start up pains, so they've said their not going to charge for September.
Now I just wish I had a wireless laptop.
I recently moved to a suburb of the Twin cities called Chaska, MN. Right when I moved they were rolling out their implementation of a town-wide wireless network. Their solution involved handing out wireless bridges to customers and sell service for $15 dollars a month.
Service was poor to nonexistant for the first three months. But as more residents bought in to the idea and turned on their bridges, access speeds and reliability greatly improved. Now its much faster than dial-up and I can even play a few games online.
The Xindi story arc was pretty good. A lot of the complaints I am seeing about Star Trek in general do not aptly describe Enterprise as it was last season. There were consequences, and while none of the major characters died. Some were changed dramatically, and possibly forever. And with the cliffhanger at the end of the last episode, they could go in several directions with the show.
What makes Enterprise different from Next Gen is that the episodes are more serial (less episodic). The previous episode usually impact the next episode. And past episodes have frequently impacted following episodes (Andorians, Star Fleet politics, gaining the trust of Vulcans, not to mention the whole Temporal War)
Finally, Star Trek is seems to be gaining the social comentary it once had in the original series. The Xindi war, especially the last few episodes, seemed to be makeing the same arguement those who support and those who are against the Iraqi War are making.
I really think folks should give the show a chance. Tivo a few reruns. Like Farscape, watch at least three to get what's going on.
It appears that mozilla.org also supports opacity
In one person's analysis of the bugs fix for Firefox .9 it has been discovered that CSS-enabled opacity is one of the new features in this most resent release.
I for one have wanted to test this feature, but didn't know when it was going to hit the scene. It begs the question, Is Firfox the first browser to support CSS opacity?
Does anyone know whether or not the PSP will be here for Christmas? Seems like an enormous missed opprotunity if they don't. How many christmas season observing people are there in Japan NEway?
I've always had to watch Enterprise on Fridays with my local station. This show is inspiring. I am happy to see it on the air for another season. Now the writers and producers will have to match this season's story arc, that isn't as easy as you might think.
I have read from press statements that Sony intends the new PSP to be the "Walkman" for a new generation. Yet, from its specs it only stats to be able to play Sony atrac format. IMO not a good market strategy. The Walkman was succesful due to its ease of use and portability. Not being able to play music because of some obsure data incompatability will be hurtful for the PSP's music capabilities.
If Sony does not achieve its design goals for long battery life, music, movies, and lastly (and in their minds maybe least) game functionality. They might be able to tweak the components over time to extend the life of the system. The key will be whether it will be as easy to use and portable as the classic Walkman.
Based on the current specs (ie. no MP3), I don't see that happening.