jDrop Image Combo

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-12 08:28:23

软件介绍

jDrop -Alpha -0.3.7

jDrop turns your SELECT OPTION form elements into drop down lists that can be fully styled with CSS. Use jDrop as an image combo box or drop down list. You can add ANY xhtml element to your dropdown or combobox.

jDrop changes the value of your original form elements, making the data POST'able on submit, integrating seamlessly with your existing forms.

Demo & Zipped Code:
Try it here!

Directions: Just insert script type="text/javascript" src="js/jquery.jdrop.js" into your HEAD and write your SELECT's as follows:

    <select name="animal">
        <option html="<img src='gfx/dog.png' />" selected="selected">Dog</option>
        <option html="<img src='gfx/cat.png' />">Cat</option>
        <option html="<img src='gfx/duck.png' />">Duck</option>
        <option html="<img src='gfx/fish.png' />">Fish</option>
        <option html="<img src='gfx/snake.png' />">Snake</option>
    </select>

Currently in Alpha 0.3.7.

In development for the next version:

  1. Image cache support.
  2. Phasing out the HTML="" attribute to aviod custom DTD.
  3. Using ID instead of TITLE to link the drop-down with it's source element.
  4. Feature requests and ideas very welcome

jDrop currently uses a Custom DTD to validate but this will be phased out in the next version.

本文地址:https://codercto.com/soft/d/23198.html

Algorithms to Live By

Algorithms to Live By

Brian Christian、Tom Griffiths / Henry Holt and Co. / 2016-4-19 / USD 30.00

A fascinating exploration of how insights from computer algorithms can be applied to our everyday lives, helping to solve common decision-making problems and illuminate the workings of the human mind ......一起来看看 《Algorithms to Live By》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器