From 37264ae8a1e66f8cef28b76a86e680258da50e38 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 8 Nov 2011 08:06:15 +0000 Subject: [PATCH] import timemap 2.0.1, add colorbox support, use google loader api to load gmaps later --- .../default/views/scripts/heihe/timemap.phtml | 65 ++++++++++++------- 1 file changed, 40 insertions(+), 25 deletions(-) diff --git a/application/default/views/scripts/heihe/timemap.phtml b/application/default/views/scripts/heihe/timemap.phtml index 111d1d6d..bc176911 100644 --- a/application/default/views/scripts/heihe/timemap.phtml +++ b/application/default/views/scripts/heihe/timemap.phtml @@ -9,21 +9,49 @@ $this->breadcrumb(''.$this->config->title->data.''); $this->breadcrumb(''.$this->config->title->heihe.''); $this->breadcrumb('时空联合导航'); $this->breadcrumb()->setSeparator(' > '); -$this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api); +//$this->headScript()->appendFile('http://maps.google.cN/maps?file=api&v=2&key='.$this->config->google->maps->api); $this->headScript()->appendFile('/js/timeline_var.js'); $this->headScript()->appendFile('/js/timeline_js/timeline-api.js'); -$this->headScript()->appendFile('/js/timemap/timemap.js'); -$this->headScript()->captureStart(); +$this->headScript()->appendFile('/js/jquery-1.7.min.js'); +$this->headScript()->appendFile('/js/timemap.2.0.1/lib/mxn/mxn.js?(google)'); +$this->headScript()->appendFile('/js/timemap.2.0.1/timemap.pack.js'); +$this->headScript()->appendFile('/js/jquery.colorbox-min.js'); +$this->headLink()->appendStylesheet('/css/colorbox.css'); ?> + + + \ No newline at end of file