My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs
title="2008 Campaign Trail from Google"
author="Michael Geary"
author_email="elections@google.com"
description="2008 Campaign Trail"
height="2000"
>
<Require feature="sharedmap"/>
<Require feature="dynamic-height"/>
<Require feature="settitle"/>
</ModulePrefs>
<Content type="html">
<![CDATA[

<script type="text/javascript">
_IG_SetTitle( '2008 Campaign Trail' );

GoogleElectionMapOptions = {
mapplet: true,
_: null
};

function script( url, seconds ) {
document.write(
'<script type="text/javascript" src="',
_IG_GetCachedUrl( url, { refreshInterval:seconds } ),
'">',
'<\/script>'
);
}

script( 'http://primary-maps-2008.googlecode.com/svn/trunk/jquery-1.2.3-no-ajax.min.js', 3600 );
script( 'http://primary-maps-2008.googlecode.com/svn/trunk/campaign-trail.js', 120 );
</script>

]]>
</Content>
</Module>

Change log

r102 by election.maps.2008 on Apr 9, 2008   Diff
Minor code simplification
Go to: 
Project members, sign in to write a code review

Older revisions

r99 by election.maps.2008 on Apr 9, 2008   Diff
Clean up mapplet script loading code
r93 by election.maps.2008 on Apr 1, 2008   Diff
Add campaign trail mapplet XML
All revisions of this file

File info

Size: 916 bytes, 40 lines
Powered by Google Project Hosting