Gary, I too felt my attempt was very rough so i have reworked it to bypass any dimensions by moving to percentages.
CSS - Hover Widget Successor - Refreshed.xar
I have added a Left & Right reveal.
The image ClassNames are now:
- htmlclass="up"
- htmlclass="right"
- htmlclass="down"
- htmlclass="left"
To make control easier, I have introduced CSS Variables so only the :root definitions need be played with:
:root {
--up: 25%;
--right: 25%;
--down: 25%;
--left: 25%;
--speed: 512ms;
}
In summary, the Xara Hover Widget's limited functionality has been enhanced:
- The image slide depth is completely adjustable.
- The reveal speed can be altered to the milliSecond.
- What is placed under the reveal is anything you and your XDA can present.
- If text is given a ClassName of htmlclass-"textbox", then it will pop above the image so any Link can be selected.
Acorn
Bookmarks