04.02.2013 Views

Spry User Guide - Support - Adobe

Spry User Guide - Support - Adobe

Spry User Guide - Support - Adobe

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<br />

<br />

Behavior Attributes Example<br />

<br />

.myHoverClass {<br />

background-color: yellow;<br />

}<br />

.mySelectClass {color: white;background-color: black;}<br />

.myOtherSelectClass {color: white;background-color: black;}<br />

<br />

<br />

var dsEmployees = new <strong>Spry</strong>.Data.XMLDataSet("../../data/employees-01.xml",<br />

"/employees/employee");<br />

<br />

<br />

{username}<br />

<br />

{firstname}<br />

<br />

<br />

<br />

The value of a spry:selectgroup attribute is an arbitrary name. Any element that uses the same name for its<br />

spry:selectgroup attributeisautomaticallyunselectedwhenanotherelementwiththesameselectgroupnameis<br />

clicked. Other elements with differing spry:selectgroup values are unaffected.<br />

SPRY<br />

<strong>User</strong> <strong>Guide</strong><br />

140

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!