Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PlanetRed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
PlanetRed
Commits
a34fee8f
Commit
a34fee8f
authored
15 years ago
by
Matthew Juhl
Browse files
Options
Downloads
Patches
Plain Diff
Fix IE error
parent
3b4b03ce
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
customindex/views/default/customindex/metatags.php
+12
-11
12 additions, 11 deletions
customindex/views/default/customindex/metatags.php
with
12 additions
and
11 deletions
customindex/views/default/customindex/metatags.php
+
12
−
11
View file @
a34fee8f
...
@@ -57,11 +57,12 @@
...
@@ -57,11 +57,12 @@
function
startMap
()
{
function
startMap
()
{
this
.
toggleDashboard
();
this
.
toggleDashboard
();
self
=
this
;
//
self = this;
letsdothisloop
(
'
0
'
);
letsdothisloop
(
'
0
'
);
pinsonly
=
false
;
pinsonly
=
false
;
letsdothisloop
(
'
5000
'
);
letsdothisloop
(
'
5000
'
);
};
};
function
letsdothisloop
(
delay
)
{
function
letsdothisloop
(
delay
)
{
if
(
c
==
0
)
displayNancyAndreasen
();
if
(
c
==
0
)
displayNancyAndreasen
();
else
if
(
c
==
1
)
displayAtorodAzizinamini
();
else
if
(
c
==
1
)
displayAtorodAzizinamini
();
...
@@ -120,14 +121,14 @@ function openLocation(lng, lat, username, location, displayname, title, comment,
...
@@ -120,14 +121,14 @@ function openLocation(lng, lat, username, location, displayname, title, comment,
clearTimeout
(
t
);
clearTimeout
(
t
);
var
latlng
=
new
FE
.
LatLng
(
lat
,
lng
);
var
latlng
=
new
FE
.
LatLng
(
lat
,
lng
);
if
(
!
pinsonly
){
if
(
!
pinsonly
){
setTimeout
(
function
(){
self
.
panTo
(
latlng
,
1.5
,
"
easeInOutQuad
"
)},
50
);
setTimeout
(
function
(){
/*
self
*/
map1
.
panTo
(
latlng
,
1.5
,
"
easeInOutQuad
"
)},
50
);
self
.
zoomTo
(
19505000
,
1.5
,
"
easeInOutQuad
"
);
map1
.
/*
self.
*/
zoomTo
(
19505000
,
1.5
,
"
easeInOutQuad
"
);
}
}
label
=
window
.
label
=
new
FE
.
Pushpin
(
latlng
,
new
FE
.
Icon
(
'
<?php
echo
$CONFIG
->
url
?>
/mod/customindex/map-pin-12.png
'
));
label
=
window
.
label
=
new
FE
.
Pushpin
(
latlng
,
new
FE
.
Icon
(
'
<?php
echo
$CONFIG
->
url
?>
/mod/customindex/map-pin-12.png
'
));
//make pins clickable
//make pins clickable
if
(
pinsonly
)
if
(
pinsonly
)
FE
.
Event
.
addListener
(
label
,
'
click
'
,
function
()
{
openLocation
(
lng
,
lat
,
username
,
location
,
displayname
,
title
,
comment
,
linkname
);});
FE
.
Event
.
addListener
(
label
,
'
click
'
,
function
()
{
openLocation
(
lng
,
lat
,
username
,
location
,
displayname
,
title
,
comment
,
linkname
);});
self
.
addOverlay
(
label
);
/*
self
*/
map1
.
addOverlay
(
label
);
if
(
!
pinsonly
)
if
(
!
pinsonly
)
applylabel
(
latlng
,
location
,
title
,
comment
,
displayname
,
username
,
linkname
);
applylabel
(
latlng
,
location
,
title
,
comment
,
displayname
,
username
,
linkname
);
};
};
...
@@ -141,9 +142,9 @@ function applylabel(latlng, location, title, comment, displayname, username, lin
...
@@ -141,9 +142,9 @@ function applylabel(latlng, location, title, comment, displayname, username, lin
WDN
.
jQuery
(
document
).
ready
(
function
()
{
WDN
.
jQuery
(
document
).
ready
(
function
()
{
try
{
try
{
var
map
=
new
FE
.
Map
(
document
.
getElementById
(
"
globeInner
"
));
window
.
map
1
=
new
FE
.
Map
(
document
.
getElementById
(
"
globeInner
"
));
map
.
onLoad
=
startMap
;
map
1
.
onLoad
=
startMap
;
map
.
load
();
map
1
.
load
();
}
catch
(
e
){}
}
catch
(
e
){}
});
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment