valid drop target

All WYSIWYG Web Builder support issues that are not covered in the forums below.
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
Post Reply
sinedd
 
 
Posts: 13
Joined: Wed Sep 19, 2012 9:51 am

valid drop target

Post by sinedd »

HELLO
I can't seem to find additional information on the use of drag on drop on a published page (take an object and move it on an online page) despite all the available events (ondrag, ondragend, ondragenter, ondragleave, ondragove , ondragstart, ondrop) like for example, create a valid deposit target?
Thank you in advance for your help
User avatar
Pablo
 
Posts: 23449
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: valid drop target

Post by Pablo »

These are standard HTML events.

See also:
https://www.w3schools.com/html/html5_draganddrop.asp
sinedd
 
 
Posts: 13
Joined: Wed Sep 19, 2012 9:51 am

Re: valid drop target

Post by sinedd »

Hello,
thank you for your always quick response!
I have carefully looked at the proposed link and understand the basic principle but I cannot translate it into wwb.
simple example:
I would like to place shape1 in shape2 (sape2 being of course bigger than shape1)
=
event of shape1> "event" ondrag, "action"?, "target" shape1
event of shape2> "event" ondrop, "action"?, "target" shape1
it may be that a problem of translation of the terms is my problem (I meet it in the hidden / displayed event)

thank you for your comeback
a basic explanation page like http://www.wysiwygwebbuilder.com/transform.html
would be great (advertising and for me);)
User avatar
Pablo
 
Posts: 23449
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: valid drop target

Post by Pablo »

I'm sorry, I cannot help you with programming related questions.
Implementing advanced functionality like this requires some HTML/JavaScript knowledge.
sinedd
 
 
Posts: 13
Joined: Wed Sep 19, 2012 9:51 am

Re: valid drop target

Post by sinedd »

OK, thank you again for your response and your work
Post Reply