Skip to content

Creating more complex content for items #138

Description

@mehdizj2000

I am not expert in frontend development. For one of my projects I wanted to use a dropdown and fill it with multiple divs. as I checked the css I saw there are just label and a are defined to be accepted as items. I added some styles and it works for me.

I wanted to upload my changes but because I don't know any thing about sass and other frontend stuffs I add it here:

jquery.dropdown.zip

sample html code:

<div id="jq-dropdown-1" class="jq-dropdown jq-dropdown-relative">
  <ul class="jq-dropdown-content">
    <li>
      <div class="jq-dropdown-item">
        <div style="float: left; padding-right: 5px" class="some_img"></div>
        <div style="float:right; padding-left: 5x">name</div>
      </div>
     </li>
      <li>
      <div class="jq-dropdown-item">
        <div style="float: left; padding-right: 5px" class="some_img"></div>
        <div style="float:right; padding-left: 5x">name1</div>
      </div>
     </li>
      <li>
      <div class="jq-dropdown-item">
        <div style="float: left; padding-right: 5px" class="some_img"></div>
        <div style="float:right; padding-left: 5x">name2</div>
      </div>
     </li>
  </ul>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions