Extensions Beta

Through the class.dropdownyou can create a select menu type, but with the chance to engage in a submenu, as shown in the examples below;
You can retrieve selection item events and customize theirs style.

zjs('.dropdown').change(function(e,value){console.log(value);//value rappresenta il valore selezionato});

Sample menu with dropdown

The calendar

In simplecss there is a plug-in that allows you to view ZJS a simple calendar, set with a base date of the current day, to display the calendar just enter an input of type text with the data-type="date" , the basic date format is year-month-day, but you can change it by setting the attribute on the input data-format="dd-mm-yyyy" , indicating the day with dd, mm is the month and yyyy the year. If you want the calendar to the loading of the page is already visible, simply set the attribute data-show=true, once you select the day and month calendar closes and launched a javascript event on the input type change which you can bindarsi to get the value set.

Javascript

zjs('#myCalendar').change(function(){ alert(zjs(this).val()); });

Example of a date formatted with the attributedata-format="dd/mm/yyyy"

Example of how to make the calendar visible when the page loads with the attributedata-show="true"

Example of possible use of a double calendar:

Arrival:
Departure:

Progress bar

With the class.progress-baryou can make progress bar, you need to set two values​as an attribute of the element, the initialdata-value=80 is the maximumdata-max-value=100

Example

Loading 80/100%
Products 13.5/100
Server load 80/100%
Complete profile 30/100%

Note

Using the class.roundyou can round off the edges of the progress-bar.

Messages received 10/10000
Attention 950/1000

Tabs

The tabs component consists of 3 classes .tabs .tabs-link .tabs-content, the class .tabs is the main container, the class .tabs-link instead are the different tab with the attribute href that indicates the number of the content to open (1 to n), finally the class .tabs-content indicates the container in which there are the different contents.

Each time you click on the link to open the content is launched, an event in javascript before-show which you can bindarsi for example to insert the content asynchronously.

javascript

zjs('.tabs-link a').bind('before-show', function(e, content){ console.log(content.innerHTML); });

in the callback function is passed as the first parameter to the event, as the second parameter, the container that hosts the content to display

tab1 content Fiore di girasole "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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
tab2 content "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
tab3 content "But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?"

Accordion

Tooltip

With the class .tooltip you can insert draw a box as a suggestion, the text to display in the tooltip you add it with the attributedata-tooltip=""

Esempio:

Send

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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

Note

Using the classes.tooltip-info .tooltip-success .tooltip-warning .tooltip-dangeryou can change the style of tolltip

Slides

The.slideshas three methods that you can use to start the animation, stop or pause

Faretto da incasso decorativo in vetro

Prodotto in offerta

view

alimentatore tv 300ma 12 volt

Prodotto in offerta

view

Faretto da incasso decorativo in vetro

Prodotto in offerta

view