https://eond.com/entry/
소스
widgets/content_extended/skins/default
HTML
<ul class="tab_module widgetTab">
{@$i=0}
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
<li cond="$i<10" <!--@if($i==0)--> class="active"<!--@end--> ><!--@if($widget_info->tab_move_type=="click")--><a
href="javascript:"
onclick="content_widget_tab_show(jQuery(this),jQuery(this).parents('ul.tab_module').next('dl.widgetDivider'),{$i},1,'{$tab->url}')">
<!--@else--><a href="{$tab->url}"
onmouseover="content_widget_tab_show(jQuery(this),jQuery(this).parents('ul.tab_module').next('dl.widgetDivider'),{$i},0,0)">
<!--@end-->{$tab->title}</a></li>
{@$i++}
<!--@end-->
</ul>
<dl class="widgetDivider">
{@$i=0}
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
<dt>{$tab->title}</dt>
<dd<!--@if($i==0)--> class="open"<!--@end--> >
{@$widget_info->content_items = $tab->content_items}
<!--#include("_tab_none.html")-->
</dd>
{@$i++}
<!--@end-->
</dl>
JS
function content_widget_tab_show(tab, list, i, ttype, url) {
tab.parents('ul.widgetTab').children('li.active').removeClass('active');
tab.parent('li').addClass('active');
jQuery('>dd', list).each(function (j) {
if (j == i) {
if (ttype == 1 && jQuery(this).hasClass('open')) {
location.href = url;
return;
}
jQuery(this).addClass('open');
} else jQuery(this).removeClass('open');
});
}
Type something 1460
Wiki Syntax
# Heading 1 #
## Heading 2 ##
### Heading 3 ##############
*italic*, **bold**
escape \*
- Use a minus sign for a bullet list
+ Or plus sign
* Or an asterisk
1. Numbered lists are easy
2. Markdown keeps track of the numbers for you
7. So this will be item 3.
Links:
http://site/page
Add description: [Page description](http://site/page)
Link to pages in the same wiki: [Page description](page_alias)
Smart links:
Add a name or id to your link: [Here's a nice link][1]
And then detail it in the page footer for clarity: [1]: www.google.com
Images:

Line breaks
- Add an empty line
- Add two spaces the end of a line
For more help, take a look at:
소스
widgets/content_extended/skins/default
HTML
<ul class="tab_module widgetTab">
{@$i=0}
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
<li cond="$i<10" <!--@if($i==0)--> class="active"<!--@end--> ><!--@if($widget_info->tab_move_type=="click")--><a
href="javascript:"
onclick="content_widget_tab_show(jQuery(this),jQuery(this).parents('ul.tab_module').next('dl.widgetDivider'),{$i},1,'{$tab->url}')">
<!--@else--><a href="{$tab->url}"
onmouseover="content_widget_tab_show(jQuery(this),jQuery(this).parents('ul.tab_module').next('dl.widgetDivider'),{$i},0,0)">
<!--@end-->{$tab->title}</a></li>
{@$i++}
<!--@end-->
</ul>
<dl class="widgetDivider">
{@$i=0}
<!--@foreach($widget_info->tab as $module_srl => $tab)-->
<dt>{$tab->title}</dt>
<dd<!--@if($i==0)--> class="open"<!--@end--> >
{@$widget_info->content_items = $tab->content_items}
<!--#include("_tab_none.html")-->
</dd>
{@$i++}
<!--@end-->
</dl>
JS
function content_widget_tab_show(tab, list, i, ttype, url) {
tab.parents('ul.widgetTab').children('li.active').removeClass('active');
tab.parent('li').addClass('active');
jQuery('>dd', list).each(function (j) {
if (j == i) {
if (ttype == 1 && jQuery(this).hasClass('open')) {
location.href = url;
return;
}
jQuery(this).addClass('open');
} else jQuery(this).removeClass('open');
});
}