Changeset 1503
- Timestamp:
- Sep 29, 2010, 4:00:46 PM (10 years ago)
- Location:
- cpc/trunk/project
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/circonscription/templates/listSuccess.php
r1421 r1503 17 17 continue; 18 18 if (preg_match('/^\d$/', $num)) $num = sprintf("%02d",$num); 19 echo '<p title="'.strtoupper($num).'" onclick="document.location=\''.url_for('@list_parlementaires_departement?departement='.preg_replace('/ /', '_', $circo)).'\'"class="dept" id="dep'.strtoupper($num).'">'.link_to($circo, '@list_parlementaires_departement?departement='.preg_replace('/ /', '_', $circo)).'</p>';19 echo '<p title="'.strtoupper($num).'" class="dept" id="dep'.strtoupper($num).'">'.link_to($circo, '@list_parlementaires_departement?departement='.preg_replace('/ /', '_', $circo)).'</p>'; 20 20 if ($ct == $iter2) 21 21 break; … … 23 23 } ?> 24 24 </div> 25 <script type="text/javascript"> 26 /* survol du txt */ 27 $(".dept").live("mouseover", function() { 28 dep = $(this).attr("id").substring(3); 29 $("#map"+dep).mouseover(); 30 }) 31 $(".dept").live("mouseout", function() { 32 dep = $(this).attr("id").substring(3); 33 $("#map"+dep).mouseout(); 34 }) 35 /* survol de la map */ 36 $("area").live("mouseover", function() { 37 dep = $(this).attr("id").substring(3); 38 $("#dep"+dep).css("background-color", "#D1EA74"); 39 }) 40 $("area").live("mouseout", function() { 41 dep = $(this).attr("id").substring(3); 42 $("#dep"+dep).css("background-color", "#fff"); 43 }) 44 </script> -
cpc/trunk/project/web/css/xneth/style.css
r1502 r1503 1745 1745 background-color: rgb(198,229,81); 1746 1746 } 1747 .dept a { 1748 display: block; 1749 width: 100%; 1750 height: 100%; 1751 } 1747 1752 .list_choix { 1748 1753 text-align: center;
Note: See TracChangeset
for help on using the changeset viewer.