11548 sujets

JavaScript, DOM et API Web HTML5

Bonjour,

Je souhaite faire en sorte qu'au survol sur ma grille, un encadré s'ouvre et qu'il y ai des valeurs à l’intérieur en fonction des résultats...

Pour le moment ma grille ressemble à :


<div dojoType="dijit.layout.ContentPane" class="grid" region="left">
	<span dojoType="dojo.data.ItemFileReadStore" jsId="icStore" url="grid.json" ></span>
		<table id="grid" dojoType="dojox.grid.DataGrid" store="icStore" clientSort="true" style="width: 35em; height: 15em;">
			<thead>
				<tr>
					<th width="15%" field="applicationName">Applications</th>
					<th width="15%" field="state">State</th>
					<th width="15%" field="total">Total</th>
					<th width="15%" field="used">licenses</th>
					<th width="40%" field="description">description</th>
				</tr>
			</thead>
		</table>
	</div>


mon fichier json :


{
    "items": "applicationName",
    "items2": "state",
    "items3": "total",
    "items4": "Licenses",
    "items5": "description",
    "items": [
        { "applicationName": "EM", "state": "Enabled", "total": "150", "Licenses": "123", "description": "EM"},
        { "applicationName": "Virtual", "state": "Enabled", "total": "75", "Licenses": "70", "description": "TM"},
        { "applicationName": "Block Phone", "state": "Enabled", "total": "50", "Licenses": "37", "description": "Locking / unlocking simple, reset PIN Code, Clear Calls"},
        { "applicationName": "Portal Web", "state": "Enabled", "total": "150", "Licenses": "123", "description": "EM..."},
    ]
}


Je ne sais pas comment faire pour faire un encadré qui s'ouvre au rollover...
Avez vous des pistes pour moi...

Merci beaucoup pour votre aide.
Modifié par etouicmoi (04 Aug 2011 - 14:16)