From c5c557bf586306cea7e8de4e56af03c1b88cbdff Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Tue, 16 Apr 2013 07:19:19 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9colorbox=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/views/scripts/data/tag.phtml | 8 ++------ application/default/views/scripts/data/thumb.phtml | 8 ++------ application/default/views/scripts/heihe/thumb.phtml | 8 ++------ 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/application/default/views/scripts/data/tag.phtml b/application/default/views/scripts/data/tag.phtml index cd923dfe..68d8cb96 100755 --- a/application/default/views/scripts/data/tag.phtml +++ b/application/default/views/scripts/data/tag.phtml @@ -22,7 +22,7 @@ $this->theme->AppendPlus($this,'colorbox'); metadata as $md) : ?>
@@ -55,9 +55,5 @@ foreach($this->keywords as $cg) :
diff --git a/application/default/views/scripts/data/thumb.phtml b/application/default/views/scripts/data/thumb.phtml index eaa22652..1e5da4ee 100644 --- a/application/default/views/scripts/data/thumb.phtml +++ b/application/default/views/scripts/data/thumb.phtml @@ -17,7 +17,7 @@ $this->theme->AppendPlus($this,'colorbox'); metadata as $md) : ?>
  • escape($md['title']);?>

    - +
    @@ -39,11 +39,7 @@ $(function(){ itemSelector : '.items', //columnWidth : 240 }); - $('a.gallery').bind('click',function(){ - $.colorbox({ - photo:$(this).attr('rel'), - }); - }); + $(".colorbox").colorbox({photo:"true"}); }); \ No newline at end of file diff --git a/application/default/views/scripts/heihe/thumb.phtml b/application/default/views/scripts/heihe/thumb.phtml index 9209ce5e..bd160490 100644 --- a/application/default/views/scripts/heihe/thumb.phtml +++ b/application/default/views/scripts/heihe/thumb.phtml @@ -24,7 +24,7 @@ $this->theme->AppendPlus($this,'masonry'); metadata as $md) : ?>
  • escape($md['title']);?>

    - +
    @@ -44,11 +44,7 @@ $this->theme->AppendPlus($this,'masonry');