vk | archlinux vs debian | like vk other site | print_r en javascript | autocomplete css
 


 

jui_theme_switch (v1.0.6)


Share:

» All themes | »Fewer themes | »Get current theme

Button

Dialog

Datepicker

Accordion

Section 1

Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

Section 2

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

Section 3

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

Section 4

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

Progressbar

Spinner

Slider

Highlight / Error

Hey! Sample ui-state-highlight style.


Alert: Sample ui-state-error style.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Framework Icons

HTML (head section)

The link tag to juery-ui theme css must have an ID (e.g. "ui-theme")

    <link id="ui-theme" rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/ui-lightness/jquery-ui.css">
    <link rel="stylesheet" href="http://pontikis.github.com/jui_theme_switch/v1.0.6/jquery.jui_theme_switch.css">

    <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/ui/1.10.0/jquery-ui.min.js"></script>
    <script type="text/javascript" src="http://pontikis.github.com/jui_theme_switch/v1.0.6/jquery.jui_theme_switch.min.js"></script>
    

JS code

The id attribute of the link tag to jquery-ui theme css must be passed as parameter stylesheet_link_id:

	$(function() {

		$("#ui-theme-switcher").jui_theme_switch({
			stylesheet_link_id: "ui-theme",
			datasource_url: "demo.json"
		});

	});