Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
6bc6c6af
Commit
6bc6c6af
authored
Aug 29, 2011
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed GeoInfo app
parent
d98ceb6c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
194 additions
and
182 deletions
+194
-182
GeoInfo.html
resources/library/interactive/GeoInfo.wgt/GeoInfo.html
+2
-2
GeoInfo.css
resources/library/interactive/GeoInfo.wgt/css/GeoInfo.css
+80
-69
cursor.png
resources/library/interactive/GeoInfo.wgt/images/cursor.png
+0
-0
GeoInfo.js
resources/library/interactive/GeoInfo.wgt/js/GeoInfo.js
+112
-111
No files found.
resources/library/interactive/GeoInfo.wgt/GeoInfo.html
View file @
6bc6c6af
resources/library/interactive/GeoInfo.wgt/css/GeoInfo.css
View file @
6bc6c6af
...
...
@@ -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
;
}
\ No newline at end of file
resources/library/interactive/GeoInfo.wgt/images/cursor.png
0 → 100644
View file @
6bc6c6af
1.61 KB
resources/library/interactive/GeoInfo.wgt/js/GeoInfo.js
View file @
6bc6c6af
/*
/*
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
+
2
0
;
document
.
getElementById
(
"infoPays"
).
style
.
left
=
event
.
clientX
+
4
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment