Tuesday, January 19, 2010 8:50:05 PM
line of CSS:
Easy enough, right
An Opera employee said
this was borrowed from apple widgets system.
This example can be a bit expanded. So the non-draggable region can also be circle and have optional padding. And multiple dashboard regions can be set for a single element (like CSS3 backgrounds), so to make a region as shown on the picture you'll need to write the code like this:
dashboard-region(control circle 15px 15px 75px 15px)
dashboard-region(control rectangle 32px 15px 48px 15px)
dashboard-region(control circle 60px 15px 30px 15px);
The CSS and the picture are taken from Mac Dev Center
Tuesday, January 5, 2010 8:29:01 PM
It's been a fun making this widget I should say!
I've added some basic functionality such as
- full picture on thumb click
- display of current folder
- display of the number of files available
Also there are options to exclude svgz files(since opera fails to render them) and raster files. And there's a tool to fix files without the xml prolog and viewbox attribute. It will add prolog and if there were width
attributes on the svg
element, it will generate the viewBox
That's it for now. When a bug
gets fixed i'll publish the widget on http://widgets.opera.comDownload OperaSVGViewer.0.3.b.wgt
I'd be glad to see some feedback!
Saturday, December 26, 2009 1:31:57 PM
Since opera announced that they are going to untie widgets from the browser, I've realized the great potential of widgets. So i decided to try to make my first widget - SVG Viewer. Since Adobe Bridge CS4 doesn't display svg any longer I feel a strong need to have an application to view multiple svg's at once. And since Opera's SVG implementation is the best
out there i think widgets is the best platform
for such an application.Known issues
Feedback is welcome!