changed GeoInfo app

preferencesAboutTextFull
unknown 13 years ago
parent d98ceb6cff
commit 6bc6c6af1e
  1. 11
      resources/library/interactive/GeoInfo.wgt/css/GeoInfo.css
  2. BIN
      resources/library/interactive/GeoInfo.wgt/images/cursor.png
  3. 7
      resources/library/interactive/GeoInfo.wgt/js/GeoInfo.js

@ -145,3 +145,14 @@ body {
{
height:40px;
}
.customCursor{
position: absolute;
top: -3px;
left: -38px;
border: none;
width: 20px;
height: 20px;
background-image: url(../images/cursor.png);
background-repeat: no-repeat;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -1,4 +1,4 @@
/*
/*
Script utilisé par GeoInfo.
Copyright (C) 2010 Baptiste Sottas Tous droits réservés.
@ -222,7 +222,8 @@ function fondu(carte)
// permet de faire apparaître les infos du pays dans la petite fenêtre
function afficheInfoPays(pays)
{
document.getElementById("infoPays").innerHTML = document.getElementById(pays).innerHTML;
//$("area[alt=" + pays + "]").css("z-index","9999");
document.getElementById("infoPays").innerHTML = "<div id='customCursor' class='customCursor'></div>" + document.getElementById(pays).innerHTML;
}
// permet de cacher la petite fenêtre
@ -236,5 +237,5 @@ function deplacerInfo(event)
{
document.getElementById("infoPays").style.display = 'block';
document.getElementById("infoPays").style.top = event.clientY;
document.getElementById ("infoPays").style.left = event.clientX+20;
document.getElementById("infoPays").style.left = event.clientX+40;
}

Loading…
Cancel
Save