dropdown with styled cursor on top with positioning
Hi guys,
I want to styling the dropdown menu when it drop's down I want to style the top of the dropdown menu like the same thing that we have for popups,
Any help is appreciated :)
@syrein You can trigger popups on click, and they can be pre-existing content.
$('.trigger.content')
.popup({
on: 'click',
inline: true,
preserve: true
});
then just include the popup content after the element
<div class="trigger content">Click me</div>
<div class="ui popup">
My custom content here
</div>
I've used this in the past for wide dropdowns, for example you can do
<div class="trigger content">Click me</div>
<div class="ui popup">
<div class="ui two column grid">
<div class="column">Some left content</div>
<div class="column">Some right content</div>
</div>
</div>
@jlukic Thanks for response but it has one problem and not worked fine:
- It's not attached to
Click mebutton it shows on bottom-right of my page whichClick meis located on top right.
All I need is the styled dropdown like popuop not the one with these problems. Your help is appreciated,
@syrein
I've added much more extensive documentation for this on the beta site.
Pre-existing popup examples Initializing Guide
I can't comment on your exact code without a JSFiddle. It takes too much time to both create test cases and debug all issues for SUI.
@jlukic
I just find your Beta site and thanks for your great job!
I have another question but I prefer to ask it in new issue in order to be useful for others.