Can anyone explain how jQuery UI themes work without assigning any elements to the css class on the html plan page. How can .css files in a jQuery user interface theme collect elements? Does jQuery script file support css file select elements?
When jquery creates dynamic html elements, it assigns predefined classes to the elements in this way.
Ex. The tab container has the following css classes assigned to it ui-tabs ui-widget ui-widget-content ui-corner-all, and each tab header has the following classes ui-state-default ui-corner-top.
ui-tabs ui-widget ui-widget-content ui-corner-all
ui-state-default ui-corner-top
.css , .
... . , , , , ..
, , , , , divs, . CSS . , ( Firebug ) .
. ...
.ui-helper-hidden { display: none; } ... .ui-widget .ui-widget { font-size: 1em; } ... .ui-icon-carat-1-n { background-position: 0 0; } ... .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} ... .ui-menu .ui-menu { margin-top: -3px; }
, jQuery css css. , css, ? Jquery UI javascript framework html, css .
jQuery UI, -
$('#myDiv').tabs();
,
$('#myDiv').addClass('ui-tabs'); $('#myDiv').addClass('ui-widget');
DOM , , , , , , div, List-Elements ..
.
CSS , jQuery
Source: https://habr.com/ru/post/1780808/More articles:Solutions for y for rotated ellipse - mathHow do I know when the Silverlight VisualStateManager.GoToState transition completed? - silverlightNeed to use clarity TestCase - .netLaunch mobile Safari from UIWebView * without * changing application source? - javascriptPoll MVVM - wpfAdding a toolbar to the navigation controller - ioshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1780810/do-you-have-good-book-tiltles-to-give-me-about-video-game-programming&usg=ALkJrhiSS6ZPt37DzrLyHBwtPUYwRH43cwBackgroundWorker slow - c #how to increase the value of a progress bar based on validation - jqueryC # - using listbox.BeginUpdate / listbox.EndUpdate in a multi-threaded environment not working - multithreadingAll Articles