Groups > Browsers > Opera Browser Technical topics > Re: Custom buttons hyperlink syntax




Custom buttons hyperlink syntax

Custom buttons hyperlink syntax
Sat, 01 Mar 2008 16:34:46 -000
I have a custom toolbar checkbox and am wondering if there's a way of  
putting this into an "opera:" link so that other users can drag it
onto  
their toolbars from a web page?

I know of the custom button syntax ("opera:/button/...") but what I
want  
to add isn't really a button, it's a checkbox, and I'd rather avoid  
wrapping it up as one. I tried using "opera:/checkbox/..." but that
didn't  
have the desired result either, so is there any way to do this?

Here is the line from my toolbar INI file I'm wishing to allow others to  
get by dragging a link:

Checkbox0, "UJ"="Set preference, "User Prefs|User
JavaScript=1" | Set  
Post Reply
Re: Custom buttons hyperlink syntax
Sat, 01 Mar 2008 22:14:51 -000
On Sat, 01 Mar 2008 21:51:59 -0000, Rijk van Geijtenbeek  
<rijk@opera.invalid.removethis.com> wrote:

> You can use the checkbox image as button image, that way it works like a  
> button and looks like a checkbox.

Well the reason I was hoping to use a 'real' checkbox rather than wrap it  
in a button was to avoid some unwanted behaviours of buttons such as the  
background colour changing when you hover over them (depending on the skin  
and 'special effects' setting).

Also, is there a syntax to create other custom toolbar widgets such as  
Post Reply
Re: Custom buttons hyperlink syntax
Sat, 01 Mar 2008 22:51:59 +010
Op Sat, 01 Mar 2008 17:34:46 +0100 schreef Eik <spam@hotmail.com>:

> I have a custom toolbar checkbox and am wondering if there's a way of  
> putting this into an "opera:" link so that other users can drag
it onto  
> their toolbars from a web page?
>
> I know of the custom button syntax ("opera:/button/...") but what
I want  
> to add isn't really a button, it's a checkbox, and I'd rather avoid  
> wrapping it up as one. I tried using "opera:/checkbox/..." but
that  
> didn't have the desired result either, so is there any way to do this?
>
> Here is the line from my toolbar INI file I'm wishing to allow others to  
> get by dragging a link:
>
> Checkbox0, "UJ"="Set preference, "User Prefs|User
JavaScript=1" | Set  
> preference, "User Prefs|User JavaScript=0""

You can use the checkbox image as button image, that way it works like a  
button and looks like a checkbox. See here for examples:

http://homepage.hispeed.ch/ttt-opera/button/h-bu-preferences-adv.html

-- 
                                                      Rijk van Geijtenbeek
                                    Opera Software ASA, Documentation & QA
                                     Tweak: http://my.opera.com/Rijk/blog/

"The most common way to get usability wrong is to listen to what users
Post Reply
Re: Custom buttons hyperlink syntax
Mon, 31 Mar 2008 05:50:01 -070
See <http://operawiki.info/AllActions> and some button examples at the
same resource.
--
Michael Vacík


On Mar 2, 12:14 am, Eik <s...@hotmail.com> wrote:

> On Sat, 01 Mar 2008 21:51:59 -0000, Rijk van Geijtenbeek  
>
> Also, is there a syntax to create other custom toolbar widgets such as  
> drop down lists or radio buttons?
Post Reply
about | contact