Open Button from Middle

720
3
Jump to solution
09-26-2012 09:50 AM
CraigMcDade
Occasional Contributor III
I'd like my buttons to open the content pane from either the middle or right of the content drop down. The default seems to be from the left side. I'm running into issues with the content going off the page and causing the user to need to scroll right. Any ideas?
0 Kudos
1 Solution

Accepted Solutions
CraigMcDade
Occasional Contributor III
using dojo.fx.Toggler. Wound up getting it to work by using a little css. My original css wasn't working because I had set position:absolute;

Once I changed it to position:relative; I was able to add a right:80px; to move the drop down to look centered under the button.

View solution in original post

0 Kudos
3 Replies
derekswingley1
Frequent Contributor
What dijits are you using? As always, repro code would go a long way :).
0 Kudos
CraigMcDade
Occasional Contributor III
using dojo.fx.Toggler. Wound up getting it to work by using a little css. My original css wasn't working because I had set position:absolute;

Once I changed it to position:relative; I was able to add a right:80px; to move the drop down to look centered under the button.
0 Kudos
derekswingley1
Frequent Contributor
Nice, glad you got it figured out.
0 Kudos