Themeable Button Global style ?
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Themeable Button Global style ?
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.
So far it seems to be possible to work on any individual button only. Or do I miss something?
Thanks for enlightenment.
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
Reason: Posting in the incorrect section of forum
Ask question only if there is no answer yet.
Re: Themeable Button Global style ?
The themable button uses jQuery UI , you can change the global style in the jQuery UI Theme manager.
Re: Themeable Button Global style ?
Thanks, that works great.The themable button uses jQuery UI , you can change the global style in the jQuery UI Theme manager.
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.net/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?
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
Last edited by digizar on Sun Dec 29, 2019 8:33 pm, edited 1 time in total.
Ask question only if there is no answer yet.
- BaconFries
-
- Posts: 5642
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Themeable Button Global style ?
@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.
Re: Themeable Button Global style ?
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.
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.
Re: Themeable Button Global style ?
I figured that. Events ... onklick ... link ... target.but alternatively you can use a form button and use events to trigger links.
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:
Ask question only if there is no answer yet.
Re: Themeable Button Global style ?
I'm sorry, links via events do not support targets.
Re: Themeable Button Global style ?
too bad
Any solution? Any proposal? Any workaround?
Works perfect, a simple button with all the options.
Simple useable everywhere.
Any solution? Any proposal? Any workaround?
Works perfect, a simple button with all the options.
Simple useable everywhere.
Ask question only if there is no answer yet.
Re: Themeable Button Global style ?
A possible workaround is to use JavaScript (triggered via events).
More information:
https://www.w3schools.com/jsref/met_win_open.asp
Also, there are many other navigation tools:
http://wysiwygwebbuilder.com/navigation.html
Code: Select all
window.open(URL, '_blank')
https://www.w3schools.com/jsref/met_win_open.asp
Also, there are many other navigation tools:
http://wysiwygwebbuilder.com/navigation.html
Re: Themeable Button Global style ?
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.
'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.
- BaconFries
-
- Posts: 5642
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Themeable Button Global style ?
Carrying on with Pablos reply see the following that may be of help.
https://stackoverflow.com/questions/157 ... javascript
https://stackoverflow.com/questions/157 ... javascript
Re: Themeable Button Global style ?
Because no one has ever asked for it before.Anyway, I'm just curious, why doesn't such simple link button exist?
Thousands of other suggestions have been asked and implemented but not this one...
You can post suggestions here:To be expected to implement such option about the 'target' spec? Any intention?
viewforum.php?f=28
If other users find it useful too, then it may be implemented in a future release