Any info on starting off with just a thin line that is visible to start with, and the expanding that line(in thickness), instead of moving an alredy fixed size rectangle?
Just create an "Enter" binding on the thin line, and have the callback make it a different size. Set up a "Leave" binding to do the opposite. However, I can't see why you would want to do it that way. Setting up the menu as a group and moving it is far better. If you are having problems with the menu being seen, while it is in it's closed state, due to transparencies, just set the -visible=>0 on the group when it is closed, and -visible=>1 when opened.
As a matter of fact, I was toying with the idea of stacking many such sliding hidden menus, even 100's of them, and control which one is seen by setting the -visibility on them, based on need.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.