Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 9th, 2008, 2:52 PM   #1
Logical1
Newbie
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 13
Rep Power: 0 Logical1 is on a distinguished road
Question Tutorial for building widgets

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^
Logical1 is offline   Reply With Quote
Old Apr 9th, 2008, 2:57 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8 Ooble is on a distinguished road
Re: Tutorial for building widgets

Widgets for what? Websites? The Mac Dashboard? Konfabulator? KDE?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 9th, 2008, 4:59 PM   #3
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,730
Rep Power: 5 Sane is on a distinguished road
Re: Tutorial for building widgets

I'm assuming since he posted it in the Client-Side Browser Scripting forum, he's asking about Flash.
Sane is offline   Reply With Quote
Old Apr 9th, 2008, 7:01 PM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8 Ooble is on a distinguished road
Re: Tutorial for building widgets

Well, that includes JavaScript, so iGoogle or any other site isn't out of the question.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 9th, 2008, 8:36 PM   #5
Logical1
Newbie
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 13
Rep Power: 0 Logical1 is on a distinguished road
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^
Logical1 is offline   Reply With Quote
Old Apr 9th, 2008, 10:48 PM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 10th, 2008, 1:55 PM   #7
Logical1
Newbie
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 13
Rep Power: 0 Logical1 is on a distinguished road
Question

Thanks OOble. Have you seen the yahoo widgets? They have no frame at all. That's what I am trying to do.
__________________
^c^
Logical1 is offline   Reply With Quote
Old Apr 10th, 2008, 2:27 PM   #8
Logical1
Newbie
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 13
Rep Power: 0 Logical1 is on a distinguished road
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^
Logical1 is offline   Reply With Quote
Old Apr 10th, 2008, 6:07 PM   #9
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,435
Rep Power: 8 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Apr 12th, 2008, 12:28 PM   #10
Logical1
Newbie
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 13
Rep Power: 0 Logical1 is on a distinguished road
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^
Logical1 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:44 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC