Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Skoders right.</p> <p>You have to use the element id, class or tagname in the JQuery notation.</p> <ul> <li>For a class: .class </li> <li>For an id: #id</li> <li>For the tagname: table</li> </ul> <p>You'd best choose the class way, since it isn't just more classy than the others but much more usable (it can be used on multiple objects) and you don't mess up any layout elements like divs or tables. After all, the css scope justs adds the provided value to each css definition. i.e. </p> <pre><code>.ui-icon { ... } </code></pre> <p>becomes</p> <pre><code>.scope .ui-icon { ... } </code></pre> <p>Edit: Make sure you included the right stylesheet, I got the whole thing working with the following code</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;JQuery UI Theme Scope&lt;/title&gt; &lt;script type="text/javascript" src="js/jquery-1.4.2.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="js/jquery-ui-1.8.1.custom.min.js"&gt;&lt;/script&gt; &lt;link type="text/css" href="css/red/jquery-ui-1.8.1.custom.css" rel="stylesheet" /&gt; &lt;link type="text/css" href="css/default/jquery-ui-1.8.1.default.css" rel="stylesheet" /&gt; &lt;/head&gt; &lt;body&gt; &lt;input type="submit" class="ui-state-default ui-corner-all" value="Submit" /&gt; &lt;div class="red"&gt; &lt;input type="submit" class="ui-state-default ui-corner-all" value="Submit" /&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Don't link to the stylesheet in the "developement-bundle" directory, use the one in the "css" directory instead.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload