Version 9 (modified by todor, 15 years ago) (diff) |
---|
Analysis
Overview
This task is focused on delivering link functionality inside text frames.
Task requirements
- Create a halo for text links which evokes a HUD
- The halo should appear when text is selected.
- When pressed it should evoke a HUD (sample design for the HUD is added in the implementation idea below)
- Since the text's link functionality is so similar to the frame's link functionality, the HUDs could be almost identical with some minor differences.
- There must be a possibility to change the coloring of the link (see the implementation idea).
- 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 actions are also similar to the events for regular links. However some new must be added:
- [Optional for this task] 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)
- Other option is to have the color settings of the links as addition in the styles HUD. This way the text link HUD is virtually the same as the link HUD.
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 15 years ago.