Themeable Button Global style ?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
digizar
 
 
Posts: 19
Joined: Thu Dec 13, 2018 7:37 pm
Location: Germany
Contact:

Themeable Button Global style ?

Post by digizar » Mon Jan 28, 2019 3:56 pm

How -if- is it possible, to define the layout/appearence of a Themeable Button through a global style (CSS).
So far it seems to be possible to work on any individual button only. Or do I miss something?
Thanks for enlightenment.
Image
Last edited by BaconFries on Mon Jan 28, 2019 3:59 pm, edited 1 time in total.
Reason: Posting in the incorrect section of forum
Ask question only if there is no answer yet.

User avatar
Pablo
 
Posts: 18756
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Themeable Button Global style ?

Post by Pablo » Mon Jan 28, 2019 5:08 pm

The themable button uses jQuery UI , you can change the global style in the jQuery UI Theme manager.

User avatar
digizar
 
 
Posts: 19
Joined: Thu Dec 13, 2018 7:37 pm
Location: Germany
Contact:

Re: Themeable Button Global style ?

Post by digizar » Tue Feb 05, 2019 5:14 pm

The themable button uses jQuery UI , you can change the global style in the jQuery UI Theme manager.
Thanks, that works great.
But that is valid for a page with themable buttons, not for an object on a page.
I'd need it for a simple (link)button, definable with a global css, independend of jquery.
I can't even find such simple button, based on global css, and carrying a link.
I checked the available menues whether such button would exist, but none of them seem to be appropriate for my purpose.

What I did, may be I don't have enough knowledge?
https://blumenfotos.org/inhalt.html
An active page (left side menu) is indicated by a green button, once you click on a button, that page will be shown.
And that single green button will 'overlay' the base button (defined in a master page).
That green button is a simple button defined for each button seperately, not global css.
It would be disaster later, if that button-layout would change. I'd have to access each button idividually. And there are many. That's - lets say 'uncomfortable'. That is the purpose of css, as far as I understand at least.

I see the 'active' state in the qjuery definition, and I can define that layout. Sure also for the state 'active'.
But it does not help, because I can't tell the button to be an active one - on a particular page.
Also the jquery does not allow me to specify a blur (around a button) -btw-.
One thing of use would be to explicitely set such button to the state 'active' on a particular page, but how?
For that purpose it would be nice to make the jquery assignable to an individual entity (Layer, Menu, ...). And not just to the page.

May be, I miss some information.
So any help would be nice, no complete lessen required, just a hint.
Keep in mind, after more than 50 years in computer development, I'm not completely 'blond'. But I'm retired - and I have time time time to figure things out. Sometimes though it becomes frustrating -after skimming the forum-, and it just makes more sense to ask, others my also benefit from it.

Thanks in advance. Tot ziens.

Btw-I: I can not change my avatar, even if I keep the contraints (sizes and volumn).
I really feel pretty stupid, but it does the hell not work :(
Must I mail you the image - and you insert it? :lol:

Btw-II: It would be wise to open a link from here in a new tab/page, not in the samve page as this forum
Ask question only if there is no answer yet.

User avatar
BaconFries
 
 
Posts: 4715
Joined: Thu Aug 16, 2007 7:32 pm

Re: Themeable Button Global style ?

Post by BaconFries » Tue Feb 05, 2019 5:53 pm

@digizar You cannot upload files to the forum due to security restrictions you can of course use a third party service such as 'Gravatar' to set an avatar in your profile.

User avatar
Pablo
 
Posts: 18756
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Themeable Button Global style ?

Post by Pablo » Tue Feb 05, 2019 6:12 pm

The themeable button is part of the jQuery UI widgets, so that is why it is using jQuery UI themes and not styles.

There has never been a request for a styleable link button, but alternatively you can use a form button and use events to trigger links.

User avatar
digizar
 
 
Posts: 19
Joined: Thu Dec 13, 2018 7:37 pm
Location: Germany
Contact:

Re: Themeable Button Global style ?

Post by digizar » Tue Feb 05, 2019 8:35 pm

but alternatively you can use a form button and use events to trigger links.
I figured that. Events ... onklick ... link ... target.
Where I miss the selection about what should happen with the traget, new page (_blank), same page, ...
No selection, and no manual entry possible. No matter what is selected in Link to:
Image
Ask question only if there is no answer yet.

User avatar
Pablo
 
Posts: 18756
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Themeable Button Global style ?

Post by Pablo » Tue Feb 05, 2019 9:04 pm

I'm sorry, links via events do not support targets.

User avatar
digizar
 
 
Posts: 19
Joined: Thu Dec 13, 2018 7:37 pm
Location: Germany
Contact:

Re: Themeable Button Global style ?

Post by digizar » Wed Feb 06, 2019 2:08 am

too bad :(
Ask question only if there is no answer yet.

User avatar
digizar
 
 
Posts: 19
Joined: Thu Dec 13, 2018 7:37 pm
Location: Germany
Contact:

Re: Themeable Button Global style ?

Post by digizar » Wed Feb 06, 2019 12:02 pm

too bad :(
Any solution? Any proposal? Any workaround?

Works perfect, a simple button with all the options.
Simple useable everywhere.
Image
Ask question only if there is no answer yet.

User avatar
Pablo
 
Posts: 18756
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Themeable Button Global style ?

Post by Pablo » Wed Feb 06, 2019 12:09 pm

A possible workaround is to use JavaScript (triggered via events).

Code: Select all

window.open(URL, '_blank')
More information:
https://www.w3schools.com/jsref/met_win_open.asp

Also, there are many other navigation tools:
http://wysiwygwebbuilder.com/navigation.html

User avatar
digizar
 
 
Posts: 19
Joined: Thu Dec 13, 2018 7:37 pm
Location: Germany
Contact:

Re: Themeable Button Global style ?

Post by digizar » Wed Feb 06, 2019 4:45 pm

Thanks, very much !
'll give it a try. Some already tried, but all those came to a 'dead end' so far.
But I've time to study ALL proposals.
Will report about the outcome.

The jquery does not allow to specify a 'target' option, as said.
Else it is very convenient.

To be expected to implement such option about the 'target' spec? Any intention?
In that case I'd stay with the existing version, that a new page is replaceing the existing one.

Anyway, I'm just curious, why doesn't such simple link button exist? It exists and works somewhere else.
Can't be so hard to implement it.
Ask question only if there is no answer yet.

User avatar
BaconFries
 
 
Posts: 4715
Joined: Thu Aug 16, 2007 7:32 pm

Re: Themeable Button Global style ?

Post by BaconFries » Wed Feb 06, 2019 4:50 pm

Carrying on with Pablos reply see the following that may be of help.
https://stackoverflow.com/questions/157 ... javascript

User avatar
Pablo
 
Posts: 18756
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Themeable Button Global style ?

Post by Pablo » Wed Feb 06, 2019 5:03 pm

Anyway, I'm just curious, why doesn't such simple link button exist?
Because no one has ever asked for it before.
Thousands of other suggestions have been asked and implemented but not this one...
To be expected to implement such option about the 'target' spec? Any intention?
You can post suggestions here:
viewforum.php?f=28
If other users find it useful too, then it may be implemented in a future release

Post Reply