Jqueryui without javascript

Does anyone use jQueryUI (e.g. part of the CSS framework) without the jQuery component? If you ate for users who do not have javascript or who have the ability to disconnect, etc.

A specific script would be such brilliant and simple dialogs ... without javascript its just a div, though ... a potential solution would be to have a div dialog with a class that positions it absolutely on other elements and then delete this class when jQueryUI sets up the dialog ... so if javascript cannot start the dialog, does it still have a class?

or would you use the css framework to create a dialog manually, maybe ...

+3
source share
2 answers

CSS jQueryUI; , .

... whatt?!

, jQueryUI

jQueryUI ( " " ) JavaScript? JavaScript, ; div .

+3

jQuery UI- , JavaScript . , jQuery , jQuery UI.

,

<a href="#" id="abutton">This is a button</a>

JavaScript jQuery JavaScript:

$("#abutton").button();

:

<a href="#" id="abutton" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button">
    <span class="ui-button-text">This is a button</span>
</a>

jQuery. JavaScript . / JavaScript, . jQuery :

<a href="#" id="abutton" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only">This is a button</a>

jQuery UI JavaScript ( - , , , ). , , JavaScript -, , ( ), , JavaScript, , jQuery UI , ( 100% ).

CSS http://jqueryui.com/docs/Theming/API.

, JavaScript, :

  • ,
  • , , , .
  • , .
  • .

, HTML , ...

+4

Source: https://habr.com/ru/post/1719717/


All Articles