ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 10590


Ignore:
Timestamp:
Feb 1, 2009, 4:41:46 PM (11 years ago)
Author:
ebihara
Message:

#3555:added ability to flod the home gadgets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/templates/homeSuccess.php

    r10260 r10590  
    3636<?php endif; ?>
    3737<?php end_slot() ?>
     38
     39<?php echo javascript_tag('
     40$$(".partsHeading").each(function(obj){
     41  // folding
     42  Event.observe(obj, "dblclick", function(e){
     43    Event.element(e).parentNode.childElements().each(function(child){
     44      if (!child.hasClassName("partsHeading")) {
     45        child.toggle();
     46      }
     47    });
     48  });
     49});
     50') ?>
Note: See TracChangeset for help on using the changeset viewer.