Capturing and sending to the server selection user piece of text on the web page: Difference between revisions
From MoodleDocs
Line 2: | Line 2: | ||
* What it will look like? | * What it will look like? | ||
After selection piece of text program will send this text to the server. Then after processing of text, server will send to the page data. For example it could be coordinates of frame, which picks some part of graph on the picture | After selection piece of text program will send this text to the server. Then after processing of text, server will send to the page data. For example it could be coordinates of frame, which picks some part of graph on the picture | ||
* How user can activate/deactivate this? | * How user can activate/deactivate this? | ||
User can do it with switching some button on page | User can do it with switching some button on page | ||
* How program will specify on what DOM elements it will work? | * How program will specify on what DOM elements it will work? |
Revision as of 20:40, 1 October 2014
User interface
- What it will look like?
After selection piece of text program will send this text to the server. Then after processing of text, server will send to the page data. For example it could be coordinates of frame, which picks some part of graph on the picture
- How user can activate/deactivate this?
User can do it with switching some button on page
- How program will specify on what DOM elements it will work?
Program interface
- Protocol - what data will be sent to the server and how?