Events - move
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
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Events - move
In a "events button", the "move" function does not work.
Event: onclick
Action: move
target: the name of the text
left: 220
Top: 470
The target does not move.
Event: onclick
Action: move
target: the name of the text
left: 220
Top: 470
The target does not move.
- Pablo
- Posts: 23788
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Events - move
It seems to work correct.
Note however that the context of the text may affect the functionality.
For example, if the text is part of a layout grid then the position/size is controlled by the grid so in that case using an event will not have any effect.
Note however that the context of the text may affect the functionality.
For example, if the text is part of a layout grid then the position/size is controlled by the grid so in that case using an event will not have any effect.
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Re: Events - move
The text is not part of a layout grid.
But the button is in a layer.
There is a layer docking on the top an another layer docking on the bottom.
But the button is in a layer.
There is a layer docking on the top an another layer docking on the bottom.
- crispy68
-
- Posts: 3101
- Joined: Thu Oct 23, 2014 12:43 am
- Location: Acworth, GA
- Contact:
Re: Events - move
Can you give a bit more info? You say the button is in a layer, so is the text in a layer too? Can you describe your exact setup otherwise we are just guessing.
I tried it myself and whether or not the button or text was placed inside a layer it worked. It didnt work in layout grid or flex container as Pablo mentioned.
I tried it myself and whether or not the button or text was placed inside a layer it worked. It didnt work in layout grid or flex container as Pablo mentioned.
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Re: Events - move
On the top of the page there is a docking layer with buttons.
On the bottom of the page there is docking layer with logo.
Between the layers there are dozens of "texts" that go up or down.
By pressing a button the text changes and another text becomes visible and is supposed to return to its initial place.
After pressing a button, the text changes but does not return to its initial place despite the move function.
On the bottom of the page there is docking layer with logo.
Between the layers there are dozens of "texts" that go up or down.
By pressing a button the text changes and another text becomes visible and is supposed to return to its initial place.
After pressing a button, the text changes but does not return to its initial place despite the move function.
- Pablo
- Posts: 23788
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Events - move
To be able to help you, I need a DEMO project (.wbs file) so I can see all your settings.
I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
I do not need the complete project because that will only take more time to figure out what you have done.
Basically, I just need a small project with one page and object(s) that are relevant to your question.
For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Re: Events - move
Test page: www.test.fogiel.co.il
On the page there is a "docking layer" at the top and a "docking layer" at the bottom' two rows of buttons and in the middle several texts
press a button and the text changes.
the problem is if you go up a text and then you change text, the new text will be at the height will be at the same height of the previous text.
The "MOVE" function should put all the texts back to their initial position.
On the page there is a "docking layer" at the top and a "docking layer" at the bottom' two rows of buttons and in the middle several texts
press a button and the text changes.
the problem is if you go up a text and then you change text, the new text will be at the height will be at the same height of the previous text.
The "MOVE" function should put all the texts back to their initial position.
- BaconFries
-
- Posts: 6057
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Events - move
Can you please provide a copy of your project as mentioned above by this it is referring to the .wbs file not the url of the page!!. Just viewing the source (html) does not let us see or know what settings you have used.To be able to help you, I need a DEMO project (.wbs file) so I can see all your settings.
Please see and read the following on sharing your project(.wbs)
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
- Pablo
- Posts: 23788
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Events - move
First, most of the names of the objects are invalid. This break the structure of the HTML page.
Please read this:
viewtopic.php?t=64868
Also, it it still unclear what you are trying to do.
There is too much content on the page to make any sense of it.
if you need help then please create a DEMO project with only the elements that are relevant to your question.
See also the FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
For example, create simple page with one element and one button then explain what needs to happen.
But first, fix the errors.
Please read this:
viewtopic.php?t=64868
Also, it it still unclear what you are trying to do.
There is too much content on the page to make any sense of it.
if you need help then please create a DEMO project with only the elements that are relevant to your question.
See also the FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
For example, create simple page with one element and one button then explain what needs to happen.
But first, fix the errors.
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Re: Events - move
https://www.dropbox.com/sh/8sv7i4uk0rp5 ... 8XPFa?dl=0
Here is a link to a simple example.
One pressing a button you change text.
If you roll a text up and change the text, the new text will not be in its original place.
A problem with the MOVE function.
The MOVE fonction is:
Event: onclick
Action: move
Target: text1 or 2 or 3 or 4
Lesft:50
Top 120
With the MOVE function each text must return to its initial position (Top-120).
But it remains in place of the previous text.
Here is a link to a simple example.
One pressing a button you change text.
If you roll a text up and change the text, the new text will not be in its original place.
A problem with the MOVE function.
The MOVE fonction is:
Event: onclick
Action: move
Target: text1 or 2 or 3 or 4
Lesft:50
Top 120
With the MOVE function each text must return to its initial position (Top-120).
But it remains in place of the previous text.
- Pablo
- Posts: 23788
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Events - move
This is not what the 'move' option is for.
The Move action i events sets the absolute position of an element with the HTML document.
It is not intended as bookmark.
The Move action i events sets the absolute position of an element with the HTML document.
It is not intended as bookmark.
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Re: Events - move
is there a solution to make a change of texts and return to the initial position
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Re: Events - move
Is there a possibility to change the location of a text or an image by pressing a button?
- Pablo
- Posts: 23788
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Events - move
Maybe what you are looking for is a bookmark?
This scrolls the page to the top of the page:

This scrolls the page to the top of the page:

-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Re: Events - move
With press a button I need to move a "text" to an other position in the page.
-
-
- Posts: 165
- Joined: Wed Apr 15, 2020 11:59 am
Re: Events - move
I need a possibility that when I press a button, a text or an image changes position in the page.
-
-
- Posts: 223
- Joined: Sun Apr 24, 2011 9:18 am
- Location: UK
Re: Events - move
Depending on what you are trying to achieve you could clone the page that has the button and when the button is clicked link it to the new cloned page. On that page change the position of the text that you want moved and remove the button. That will give the appearance of the text being moved.
- Pablo
- Posts: 23788
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Events - move
You can use the 'move' action to move an element (when it has an absolute position). This works, also in your project.
I just do not understand why? I do not see the logic?
Also Note that in modern (responsive) layouts, using absolute coordinates is usually not the best solution.
I just do not understand why? I do not see the logic?
Also Note that in modern (responsive) layouts, using absolute coordinates is usually not the best solution.