Version 6 (modified by todor, 16 years ago) (diff) |
---|
Analysis
(Give as much as possible of the needed information for designing and implementing the task in the following sections.)
Overview
This task is focused on delivering link functionality inside text frame.
Task requirements
- Create halo for text links which evokes HUD
- The halo should appear when text is selected
- When pressed it should evokes a HUD (sample design for the HUD is added in the implementation idea below)
- Because the text's link functionality is so similar to the frame's link functionality the HUDs could be almost identical with some minor differences.
- The HUD for the text links must give the user possibility to change the coloring of the link.
- When text is converted to link, there must be a visual marker for that (at least changing the text color)
- The triggers for the links are almost the same as the ones for the links we now have
- Mouse enter
- Mouse leave
- Mouse double click
- Mouse pressed
- Mouse released
- The events are also similar to the events for regular links. However some new must be added:
- Open URL
Task result
The result of this task must be code.
Implementation idea
- Sample HUDs and their layout
- By default the link color for the over, pressed, visited and normal is the same, but the user can change that accessing additional subhud (as shown on the picture)
- By default the link color for the over, pressed, visited and normal is the same, but the user can change that accessing additional subhud (as shown on the picture)
Related
How to demo
- Insert text frame.
- Add some text in it and create link.
- Use different coloring options.
- Try if the link works in preview mode or reader.
Design
(Describe your design here.)
Implementation
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)
Attachments
- textlinks.png (61.6 KB) - added by todor 16 years ago.