新規登録

ウィジェット » Hello World!

Hello World! V2.1 2008/01/23 15:02:49

Demo widget from the Hello World tutorial.

A companion widget for the introductory Opera Widget tutorial. This tutorial will show you the basics in creating a widget.


コメント 19 通

ページのトップからログインしコメントする

1 - 19 中 19

Not bad as an introductory to widget. Thanks

発言者 viemvanchinhlaem, # 2008/07/10 10:48:12

good job. cool widget, I like the change the text

発言者 dragos1, # 2007/12/11 22:17:58

just wondering... where is the source codes and suff for a widget located?

発言者 dragos1, # 2007/12/11 2:11:06

Where is the source. The tutorial is missing some of the image files. Hard to follow when files are missing, eh?

発言者 Loren Lowe, # 2007/06/30 5:48:11

where can i get the source of a widget?

発言者 evans123, # 2007/05/23 18:59:46

Sicon, they should be accessible from the widgets menu from Opera.

発言者 Benjamin Joffe, # 2007/05/07 11:47:28

Hi! I have some widjets. I've downloaded them from this site. Where did they save?

発言者 Sicon, # 2007/04/01 16:15:39

I hope i could resize it . anyway its so wonderful

発言者 sharly, # 2007/03/04 0:14:22

Wonderful!

発言者 manxs, # 2006/12/08 5:32:01

привет!

発言者 bomzh, # 2006/09/08 23:24:20

good

発言者 Matthewelk, # 2006/07/26 18:45:41

I am having the same experience with the Hello World files; and I am running MacOSX. I've left posts on those other threads as well. HOWEVER -- please look at my post for my latest findings.

Maybe we can script or automator a group of actions for a .widgettest script?

http://my.opera.com/community/forums/topic.dml?id=148174&t=1152407667&page=1#comment1642886

発言者 macthusiast, # 2006/07/09 3:14:57

According to the Hello World tutorial: "During development, widgets can be opened by opening the config.xml file in the browser, either by dragging it from a file manager, or by using the File → Open menu."

I wish that worked for me! I get the same results as SteveW. Opera doesn't seem to be noticing that config.xml file is a spec for a widget. Am I going to have to install my own Apache server to serve the widgets to myself?

I'm using the Debian (Etch) version of Opera 9.

----

UPDATE: Judging by the comments posted in other forums, this seems to be a problem with Opera for Linux.

I have found a workaround. If I package my widget in a zip file with the .zip suffix (".wdgt" seems to be bogus), and then open it by drag-and-dropping from my file browser onto Opera, Opera *will* treat it as a widget.

I have also tried installing a local Apache server and serving the widgets from there, in accordance with the instructions at http://my.opera.com/community/dev/widgets/deploy/, but without success, although this could be a matter of finding the right server configuration settings.

発言者 Pitarou, # 2006/07/02 8:44:35

oversite, it says that you need Opera 9 beta to run the widgets. As version 9 is still in public testing, you may or may not want to install it. You can download it here: http://www.opera.com/download/index.dml?ver=9.0b

発言者 tyfq, # 2006/06/08 3:01:02

I am having what feels like major widget issues. Not only do I get the same display as SteveW, but it doesn't seem to matter where I put the files. Also when I click to download a widget, (not only the "Hello World" example, but also others) I get a bunch of control characters and no file.

I am running 8.53. Do I need something in addition to plain Opera? It doesn't say so anywhere.

発言者 oversite, # 2006/04/30 2:22:11

Files can go anywhere, just like when creating normal web pages. You can make a dir called "bluechicken" and reference images in it like this: <img src="bluechicken/redchicken.png" alt="a red chicken!">

発言者 nicomen, # 2006/04/24 3:00:47

I followed the example, but it's not clear where files should go ?
PNG go in images\, but can the others go anywhere ?

I ask because when I open the .xml from a temp directory all I get on the screen is
Hello World! This is the very first widget written! 454 300 John Doe john.doe@example.com Acme Examples, Inc. example.com HelloWorld 2006-01


The index.html just gives a Hello World!

If the files are all in the programme directory, index.html works fine, but we can't be expected to put all widget related files there surely ?

発言者 SteveW, # 2006/04/17 14:33:28

the tutorial page for this widget needs to be corrected...

http://dev.opera.com/articles/view/your-first-widget/

there's a 'typo' in the index.html code listed under 'Adding interactivity'...looks like possibly a cut-and-paste error near the <input> element, the id is not showing up correctly

発言者 braham5, # 2006/02/14 4:50:55

Copyright © 2001 - 2008 Opera Software. All rights reserved. About | Contact | Privacy | Disclaimer | Web analytics powered by HitsLink.HitsLink Logo