Need a little guidance on adding a dynamic menu
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Need a little guidance on adding a dynamic menu
I need a little guidance on adding a dynamic menu. I imported an image as a control and have it in a navar. I'd like to make it a dynamic menu with perhaps 3 or 4 items under it.
Re: Need a little guidance on adding a dynamic menu
Not exactly sure what you are looking for but take a look at this:
http://forums.runrev.com/phpBB2/viewtop ... 49&t=17212
Simon
http://forums.runrev.com/phpBB2/viewtop ... 49&t=17212
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Need a little guidance on adding a dynamic menu
Hey Simon. Looking for something like this (see attached image). I imported an image as a control to start with. By the way this is a desktop app.
Re: Need a little guidance on adding a dynamic menu
Hi,
it looks like the example I gave ... or maybe I'm misunderstanding?
An image with an animated dropdown?? No?
Simon
it looks like the example I gave ... or maybe I'm misunderstanding?
An image with an animated dropdown?? No?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Need a little guidance on adding a dynamic menu
Yup! Just downloaded the example in that thread! That definitely looks like what I was after. Thank you!Simon wrote:Hi,
it looks like the example I gave ... or maybe I'm misunderstanding?
An image with an animated dropdown?? No?
Simon
Re: Need a little guidance on adding a dynamic menu
There is some code in there that should be better.
I used "hard" numbers e.g. tLeft,137 which isn't really good coding.
It should have something like "the bottom of me" so that the number of dropdown buttons doesn't matter. I think any time you can use topLeft, bottom, right etc. you should. I think it's what they call "Robust code", move it anywhere and it still performs the same.
If you do figure out a robust version would you care to post it?
At any rate, glad it helps.
Simon
I used "hard" numbers e.g. tLeft,137 which isn't really good coding.
It should have something like "the bottom of me" so that the number of dropdown buttons doesn't matter. I think any time you can use topLeft, bottom, right etc. you should. I think it's what they call "Robust code", move it anywhere and it still performs the same.
If you do figure out a robust version would you care to post it?
At any rate, glad it helps.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Need a little guidance on adding a dynamic menu
Simon wrote:There is some code in there that should be better.
I used "hard" numbers e.g. tLeft,137 which isn't really good coding.
It should have something like "the bottom of me" so that the number of dropdown buttons doesn't matter. I think any time you can use topLeft, bottom, right etc. you should. I think it's what they call "Robust code", move it anywhere and it still performs the same.
If you do figure out a robust version would you care to post it?
At any rate, glad it helps.
Simon
I sure will. Thanks again.
Re: Need a little guidance on adding a dynamic menu
Not quite sliding, but I do have it so you can move it around the screen. I'm sure my code is terrible (what little there is). lol
Maybe we can get it sliding. I tried to do a dissolve just to make it more noticeable, but it's not working.
see attachment.
Maybe we can get it sliding. I tried to do a dissolve just to make it more noticeable, but it's not working.
see attachment.
Re: Need a little guidance on adding a dynamic menu
Here's the latest, got the slide working too
If anyone improves it please post the update in this thread. Thanks.

If anyone improves it please post the update in this thread. Thanks.
Re: Need a little guidance on adding a dynamic menu
Here's another one. Click on the submenus. 
