![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2008
Posts: 13
Rep Power: 0
![]() |
Hello
Do you know of a good tutorial/samples/... for building widgets? I am particularly interested in the ones that play a selected online radio. A sample would be greatly appreciated. Thanks in advance.
__________________
^c^ |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8
![]() |
Re: Tutorial for building widgets
Widgets for what? Websites? The Mac Dashboard? Konfabulator? KDE?
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,730
Rep Power: 5
![]() |
Re: Tutorial for building widgets
I'm assuming since he posted it in the Client-Side Browser Scripting forum, he's asking about Flash.
|
|
|
|
|
|
#4 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8
![]() |
Re: Tutorial for building widgets
Well, that includes JavaScript, so iGoogle or any other site isn't out of the question.
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Apr 2008
Posts: 13
Rep Power: 0
![]() |
More info
No guys I know how to work with flash but I am interested to see if same results can be achieved with JS or XML or other methods.
Since I learn better by example than theory than most I am interested to see a simple code that forms a little window without the ususal borders and ugly status bars, etc. and plain and simple does something. Either play a radio station, play a sound file, show time, anything. I know very little about javascript and have never used XML so I am not sure what they can do in this department. If you have any widgets and dont mind sharing the code post it. Thsi is really a general question not for any specific task or project. Thanks in advance. PS. I work in PC environment as you have correctly guessed.
__________________
^c^ |
|
|
|
|
|
#6 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8
![]() |
Re: Tutorial for building widgets
Ah, gotcha.
I think you have XML confused with something else. XML is a format for storing data, not a scripting language. XHTML is a subset of XML, for example, and is used to represent the data you wish to show in your web pages. The simplest way to do it would be to have an (X)HTML page with whatever you want to display, and use the window.open JavaScript method to open it. The Mozilla Developer Centre pages have a good reference. It's just one line of JS, and the first two parameters are easy: the URL and the new window's name. The third is the bit you want to play with: it'll let you nuke the window toolbars, status bar, etc. You won't be able to get rid of the border though - the user needs that X button to close the damn thing. |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Apr 2008
Posts: 13
Rep Power: 0
![]() |
Question
Thanks OOble. Have you seen the yahoo widgets? They have no frame at all. That's what I am trying to do.
__________________
^c^ |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Apr 2008
Posts: 13
Rep Power: 0
![]() |
I tried to edit that response but did n't let me so here it is:
Thanks OOble but there are some questions:
I can use JS to launch a little window without status bar or other compnanets and in a smaller size. But this has to be launched from some HTML or other page. While the widgeths have an icon and you click on it and it starts the damedn thing by itself at that size which means the dimensions and no status bar are part of its own code. How is it done? 2. Have you seen the yahoo widgets? How did they remove the frame all together? Thanks in advance PS. If anyone is interested to write a smaple code for me for a small fee I am OK with that too just let me know your fee.
__________________
^c^ |
|
|
|
|
|
#9 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8
![]() |
Re: Tutorial for building widgets
Ah, I see. Yahoo Widgets are made for Konfabulator, which I mentioned earlier. They're not made for web browsers. I don't think they have much to do with JavaScript, but I could be wrong.
If that's what you want to do, download the Konfabulator SDK and start playing. |
|
|
|
|
|
#10 |
|
Newbie
Join Date: Apr 2008
Posts: 13
Rep Power: 0
![]() |
Thanks
Thanks Ooble I downloads the damend thign and started playing with it. However says Mac stuff are more userfirendly has not seen this piece of junk there is no start of finish and can't find a decent example source code or explanation either.
But you are right it will do the trick when I figure out how to use it.
__________________
^c^ |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Php Tutorial 3 | bulio | PHP | 4 | Jul 16th, 2006 4:00 AM |
| Assembly tutorial, part one. | Mad_guy | Software Design and Algorithms | 21 | Apr 15th, 2006 7:02 PM |
| Basic HTML Tutorial - Reuben Keeney | ReubenK | HTML / XHTML / CSS | 14 | Mar 26th, 2006 5:50 AM |
| [tutorial] Simple G++ compiler tutorial | coldDeath | C++ | 7 | Nov 27th, 2005 12:33 PM |
| Php Tutorial 2 | bulio | PHP | 2 | Jul 1st, 2005 7:30 AM |