Re: Re: Re: Re: Re: Re: Re: jQuery Droppyを使ったプルダウンメニュー
2011年8月2日 at 12:21
yamanoiです。
/concrete/blocks/autonav/view.php を/blocks/autonav/templates/droppy/sub.phpにコピーします。
このsub.phpの64行目あたりを下に修正します。
if ($c->getCollectionID() == $_c->getCollectionID()) {
echo('<li class="nav-selected nav-path-selected"><a class=
"nav-selected nav-path-selected" href="' . $pageLink . '">' . $ni->getName() . '</a>');
} elseif ( in_array($_c->getCollectionID(),$selectedPathCIDs)
&& $_c->getCollectionID() > 1 ) {
echo('<li class="nav-path-selected"><a class="nav-path-sel
ected" href="' . $pageLink . '">' . $ni->getName() . '</a>');
} else {
echo('<li><a href="' . $pageLink . '">' . $ni->getName() .
'</a>');
}
あと、view.phpの中を下のよう修正します。
echo '<div id="drop'.$controller->bID.'" class="droppy">';
require('sub.php');
echo '</div>';
これで解決できると思います。
Re: Re: Re: Re: Re: Re: Re: Re: Re: jQuery Droppyを使ったプルダウンメニュー
2011年8月3日 at 0:16
プルダウンメニューを設置されているホームページを教えていただけますか。
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: jQuery Droppyを使ったプルダウンメニュー
2011年8月3日 at 7:06
私の会社のホームページですがyamanoiさんの作成された、プルダウンメニューを使用させていただいています。
http://www.higuchisyoten.co.jp/webpage/
参考になれば幸いです。
http://www.higuchisyoten.co.jp/webpage/
参考になれば幸いです。
Your post has been saved and will be published after approval by the forum moderator.
tomoya
Re: Re: Re: Re: Re: Re: Re: Re: jQuery Droppyを使ったプルダウンメニュー
ありがとうございました。