Skocz do zawartości

Polecane posty

Witam chciałbym zainstalować sobie górne menu takie jak w załączniku.

Zrobiłem to tak jak ten gość radzi:

http://community.invisionpower.com/topic/303712-ips-new-header-links/page__st__120__p__1930695#entry1930695

Ok, już prawie jest. Jak zrobić by okienka się rozwijały do dołu ?

Tak to wygląda w kodzie:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"<if test="fbcenabled:|:IPSLib::fbc_enabled() === TRUE"> xmlns:fb="http://www.facebook.com/2008/fbml"</if>>

<head>

<meta http-equiv="content-type" content="text/html; charset={$this->settings['gb_char_set']}" />

<title>{$header_items['title']}<if test=pagenumberintitle:|:$header_items['page]"> {$this->lang->words['page_title_page']} {$header_items['page']}</if></title>

<link rel="shortcut icon" href='<if test="$this->registry->output->isHTTPS">{$this->settings['board_url_https']}<else />{$this->settings['board_url']}</if>/favicon.ico' />

<link rel="image_src" href='{$this->settings['meta_imagesrc']}' />

<script type='text/javascript'>

//<[!CDATA[

jsDebug = {parse expression="intval($this->settings['_jsDebug'])"}; /* Must come before JS includes */

USE_RTE = <if test="userte:|:$this->memberData['members_editor_choice'] == 'rte' && $this->memberData['_canUseRTE'] === TRUE">1<else />0</if>;

DISABLE_AJAX = parseInt({$this->settings['disable_text_ajax']}); /* Disables ajax requests where text is sent to the DB; helpful for charset issues */

inACP = false;

//]]>

</script>

{parse template="includeCSS" group="global" params="$css"}

{parse template="includeMeta" group="global" params="$metaTags"}

<meta property="og:title" content="{IPSText::htmlspecialchars( str_replace( ' - ' . $this->settings['board_name'], '', $header_items['title'] ) )}"/>

<meta property="og:site_name" content="{$this->settings['board_name']}"/>

<meta property="og:image" content="{$this->settings['meta_imagesrc']}"/>

{parse template="includeJS" group="global" params="$jsModules"}

{parse template="includeFeeds" group="global" params="$documentHeadItems"}

{parse template="includeRTL" group="global" params=""}

{parse template="includeVars" group="global" params=""}

<script type='text/javascript'>

Loader.boot();

</script>

</head>

<body id='ipboard_body'>

<div id='ipbwrapper'>

<!-- START MASTHEAD NAV -->

<script type='text/javascript' src='..public/js/ips.mastnav.js'></script>

<div id="masthead">

<ul id="primary_navigation">

<li id="nav_home"><a href="http://www.kochamnarty.pl/">Forum</a></li>

<li id="nav_products">

<a href="http://www.kochamnarty.pl/forum/69-austria/">Austria</a>

<ul class="main_menu" id="nav_products_menu" style="display: none;">

<li><a href="

<li><a title="IP.Blog: Community Blogging Service" href="http://www.invisionpower.com/products/blog/">IP.Blog</a></li>

<li><a title="IP.Content: Content Creation System" href="http://www.invisionpower.com/products/content/">IP.Content</a></li>

<li><a title="IP.Gallery: Community Image Gallery" href="http://www.invisionpower.com/products/gallery/">IP.Gallery</a></li>

<li><a title="IP.Chat: Realtime Community Chatroom" href="http://www.invisionpower.com/products/chat/">IP.Chat</a></li>

<li><a title="IP.Downloads: Download Manager" href="http://www.invisionpower.com/products/downloads/">IP.Downloads</a></li>

<li><a title="IP.Converge: Single Sign-on For Communities" href="/products/converge/">IP.Converge</a></li>

<li><a title="Spam Monitoring: Protecting Communities From Spam" href="http://www.invisionpower.com/products/spammonitor/">Spam Monitor Service</a></li>

<!--<li><a href='http://www.invisionpower.com/products/community/' title=''>Community Projects</a></li>-->

</ul>

<script type="text/javascript">

ips.menus['products'] = new ips.menu( $('nav_products'), $('nav_products_menu') );

</script>

</li>

<li id="nav_hosted">

<a href="/hosting">Hosted Communities</a>

<ul class="main_menu" id="nav_hosted_menu" style="display: none;">

<li><a title="Go to standard packages" href="http://www.invisionpower.com/hosting/">Standard Packages</a></li>

<li><a title="Go to Advanced packages" href="http://www.invisionpower.com/hosting/advanced.php">Advanced Packages</a></li>

<li><a title="Go to website hosting" href="http://www.invisionpower.com/hosting/website.php">Website Hosting</a></li>

</ul>

<script type="text/javascript">

ips.menus['hosted'] = new ips.menu( $('nav_hosted'), $('nav_hosted_menu') );

</script>

</li>

<li id="nav_services">

<a title="Go to our Services overview" href="http://www.invisionpower.com/services/">Services</a>

<!--<ul id='nav_services_menu' class='main_menu'>

<li><a href='#' title=''>Pre-launch</a></li>

<li><a href='#' title=''>Software Modifications</a></li>

<li><a href='#' title=''>Single Sign On Integration</a></li>

<li><a href='#' title=''>Custom Licensing</a></li>

<li><a href='#' title=''>Enterprise Hosting</a></li>

</ul>

<script type='text/javascript'>

ips.menus['services'] = new ips.menu( $('nav_services'), $('nav_services_menu') );

</script>-->

</li>

<li id="nav_support">

<a href="#">Support</a>

<ul class="main_menu" id="nav_support_menu" style="display: none;">

<li><a title="Go to the client area" href="http://www.invisionpower.com/customer/">Client Area</a></li>

<li><a title="Go to the resource site" href="http://community.invisionpower.com/resources/index.html">Documentation</a></li>

<li><a title="Go to the resource site" href="http://community.invisionpower.com/resources/index.html">Client Resources</a></li>

<li><a title="Our community support forums" href="http://community.invisionpower.com">IPS Community</a></li>

<li><a title="Go to the FAQs" href="http://www.invisionpower.com/company/faq.php">FAQs</a></li>

<li><a title="" href="http://www.invisionpower.com/hosting/status.php">Network Status</a></li>

</ul>

<script type="text/javascript">

ips.menus['support'] = new ips.menu( $('nav_support'), $('nav_support_menu') );

</script>

</li>

<li id="nav_clientarea">

<a title="Go to the client area" href="http://www.invisionpower.com/customer/">Client Area</a>

</li>

<li id="nav_contact"><a title="Get in touch" href="http://www.invisionpower.com/company/contact.php">Contact Us »</a></li>

</ul>

</div>

<!-- END MAST NAV -->

<h1>{$this->settings['board_name']}: {$header_items['title']}</h1>

<p id='content_jump'><a id='top'></a><a href='#j_content' title='{$this->lang->words['jump_to_content']}' accesskey=m'>{$this->lang->words['jump_to_content]}</a></p>

<if test="accessreports:|:($this->memberData['g_is_supmod'] == 1 OR ( isset( $this->memberData['access_report_center'] ) AND $this->memberData['access_report_center'] ) )">

<div id='admin_bar'>

<if test="showacplink:|:$this->memberData['g_access_cp'] == 1 AND $this->settings['security_remove_acp_link'] == 0">

<p class='right'>

<a href="{$this->settings['_admin_link']}" title={$this->lang->words['admin_cp]}'>{$this->lang->words['login_to_acp']} &gt;</a>

</p>

</if>

<strong>{$this->lang->words['mod_tools']}</strong>

<ul id='mod_tools'>

<if test="issupermod:|:$this->memberData['g_is_supmod'] == 1">

<li><a href='{parse url="app=core&amp;module=usercp&amp;tab=members&amp;area=mod_ipaddress" base="public"}' title='{$this->lang->words['ip_lookup']}'>{$this->lang->words['ip_lookup']}</a></li>

<li><a href='{parse url="app=core&amp;module=usercp&amp;tab=forums&amp;area=mod_announcements" base="public"}' title='{$this->lang->words['post_announcement']}'>{$this->lang->words['post_announcement']}</a></li>

</if>

<if test="rclink:|:$this->memberData['access_report_center']">

<li <if test="numreports:|:$this->memberData['_cache']['report_num'] > 0">class=active'</if>><a href="{parse url="app=core&amp;module=reports&amp;do=index" base="public"}" title='{$this->lang->words['view_reports]}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a></li>

</if>

</ul>

</div>

</if>

<div id='header'>

<div id='branding'>

<if test="brandingBar:|:method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'overwriteHeader' )">

{parse template="overwriteHeader" group="{current_app}_global" params=""}

<else />

{parse template="defaultHeader" group="global" params=""}

</if>

</div>

<div id='primary_nav'>

<ul class='left'>

<if test="showhomeurl:|:$this->settings['home_url']">

<li id='nav_home' class='left'> <a href='{$this->settings['home_url']}' title={$this->lang->words['homepage_title]}' rel="home">{$this->settings['home_name']}</a> </li>

</if>

{parse variable="forumActive" default="" oncondition="IPS_APP_COMPONENT == 'forums'" value="active"}

{parse variable="membersActive" default="" oncondition="IPS_APP_COMPONENT == 'members'" value="active"}

{parse variable="helpActive" default="" oncondition="IPS_APP_COMPONENT == 'core' AND $this->request['module'] == 'help'" value="active"}

<if test="!ipsRegistry::$applications['forums']['app_hide_tab']"> <li id=nav_discussion' class='left {parse variable="forumActive"}'> <a href='{parse url="act=idx" seotitle="false" base="public"}' title='{$this->lang->words['go_to_discussion]}'>{$this->lang->words['discussion']}</a> </li> </if>

<if test="!ipsRegistry::$applications['members']['app_hide_tab']"> <li id=nav_members' class='left {parse variable="membersActive"}'> <a href='{parse url="app=members&amp;section=view&amp;module=list" base="public"}' title='{$this->lang->words['go_to_memberlist]}'>{$this->lang->words['tb_mlist']}</a> </li> </if>

<if test="applicationsloop:|:is_array($header_items['applications']) AND count($header_items['applications'])">

<foreach loop="applications:$header_items['applications'] as $data">

<if test="showingapp:|:$data['app_show']">

{parse variable="appActive" default="" oncondition="$data['app_active']" value="active"}

<li id='nav_app_{$data['app_dir']}' class=left {parse variable="appActive"}"> <a href='{parse url="{$data['app_link]}" seotitle="false" base="public"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], $data['app_title'] )"}'>{$data['app_title']}</a> </li>

</if>

</foreach>

</if>

</ul>

</div>

<div id='secondary_nav'>

<ul id='breadcrumb' class='left'>

<php>$this->did_first = 0;</php>

<if test="switchnavigation:|:!$this->settings['remove_forums_nav'] OR ipsRegistry::$current_application == 'forums'">

<li class='first'><a href='{parse url="act=idx" seotitle="false" base="public"}'>{$this->settings['board_name']}</a></li>

<if test="didfirstnav:|:$this->did_first=1"></if>

</if>

<foreach loop="navigation:$items['navigation'] as $idx => $data">

<li<if test="notdonefirstapp:|:!$this->did_first"> class='first'</if>><if test="didfirstappnow:|:$this->did_first"><span class='nav_sep'>{parse replacement="f_nav_sep"}</span></if> <if test="navigationlink:|:$data[1]"><a href={parse url="{$data[1]}" base="$data[4]" seotitle="$data[2]" template="$data[3]"}' title='{$this->lang->words['nav_return_to]}{$data[0]}'></if>{$data[0]}<if test="closenavigationlink:|:$data[1]"></a></if></li>

<if test="forsuredidfirstnav:|:$this->did_first=1"></if>

</foreach>

</ul>

<ul id='section_links' class='right'>

<if test="siteruleslink:|:$this->settings['gl_show'] and $this->settings['gl_title']">

<li><a href='<if test="ruleslink:|:$this->settings['gl_link']">{$this->settings['gl_link']}<else />{parse url=app=forums&amp;module=extras&amp;section=boardrules" base="public"}</if>'><if test="siterulestitle:|:$this->settings['gl_title]">{$this->settings['gl_title']}<else />{$this->lang->words['board_rules']}</if></a></li>

</if>

<li><a href='{parse url="app=core&amp;module=search&amp;do=<if test="ncmember:|:$this->memberData['member_id']">new_posts<else />active</if>&amp;search_app=<if test=viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appisSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts]}</a></li>

<li><img src='{$this->settings['img_url']}/feed.png' alt={$this->lang->words['rss_feed]}' id='rss_feed' class='clickable' /></li>

</ul>

<br class='clear' />

</div>

<div id='user_bar_container'>

<if test="memberbox:|:$this->memberData['member_id']">

<div id='user_navigation' class='logged_in'>

<div id='user_links'>

<a href="{parse url="showuser={$this->memberData['member_id']}" seotitle={$this->memberData['members_seo_name]}" template="showuser" base="public"}"><img src='{$this->memberData['pp_thumb_photo']}' alt={$this->memberData['members_display_name]}{$this->lang->words['users_photo']}" class='photo' /> </a>

<a id='user_link' class='ipbmenu' href="{parse url="showuser={$this->memberData['member_id']}" seotitle={$this->memberData['members_seo_name]}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'>{$this->lang->words['logged_in_as']} {$this->memberData['members_display_name']} <img src={$this->settings['img_url]}/opts_arrow.png' alt='&gt;' /></a>

<p id='user_notifications' <if test="nonewnotifications:|:!$this->memberData['notification_cnt']">class='no-new'</if>>

<a id='user_notifications_link' href='{parse url="app=core&amp;module=usercp&amp;area=notificationlog" base="public"}' title="{parse expression="sprintf( "{$this->lang->words['manage_notifications']}", "{$this->memberData['notification_cnt']}" )"}"><small>{$this->memberData['notification_cnt']}<span class=hide'>{$this->lang->words['unread_notification_suffix]}</span></small> <img src='{$this->settings['img_url']}/opts_arrow.png' alt='&gt;' id='notify-down-arrow' /></a>

</p>

<a href="{parse url="app=core&amp;module=usercp" base="public"}" title="{$this->lang->words['cp_tool_tip']}">{$this->lang->words['your_cp']}</a>

<a href="{parse url="app=core&amp;module=help" base="public"}" title='{$this->lang->words['view_help']}' rel=help" accesskey='6' class='right'>{$this->lang->words['sj_help]}</a>

<if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">

<if test="newmessages:|:$this->memberData['msg_count_new'] != 0">

<a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'>{$this->lang->words['your_messenger']} ({$this->memberData['msg_count_new']} {$this->lang->words['msg_new']})</a>

</if>

</if>

<if test="authenticating:|:$this->memberData['member_group_id'] == $this->settings['auth_group']">

<a href="{parse url="app=core&amp;module=global&amp;section=register&amp;do=reval" base="public"}" title='{$this->lang->words['resend_val']}'>{$this->lang->words['resend_val']}</a>

</if>

<a href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=logout&amp;k={$this->member->form_hash}" base="public"}">{$this->lang->words['log_out']}</a>

</div>

<div class='clear'></div>

<div id='user_info'>

<ul id='user_link_menucontent'>

<li id='user_profile'><a href='{parse url="showuser={$this->memberData['member_id']}" seotitle={$this->memberData['members_seo_name]}" template="showuser" base="public"}' title='{$this->lang->words['your_profile']}'>{$this->lang->words['my_profile']}</a></li>

<li id='user_ucp'><a href="{parse url="app=core&amp;module=usercp" base="public"}" title="{$this->lang->words['cp_tool_tip']}">{$this->lang->words['your_cp']}</a></li>

<li id='user_content'><a href="{parse url="app=core&amp;module=search&amp;do=user_activity&amp;mid={$this->memberData['member_id']}" base=public"}" title="{$this->lang->words['my_content_link]}">{$this->lang->words['my_content_link']}</a></li>

<if test="messengerlink:|:$this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">

<li id='user_msg'><a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'>{$this->lang->words['your_messenger']} <span id=new_message'>({$this->memberData['msg_count_new]} {$this->lang->words['msg_new']})</span></a></li>

</if>

<li id='user_friends'><a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=list" base="public"}' title="{$this->lang->words['manage_friends']}" class=manage_friends'>{$this->lang->words['manage_friends]}</a></li>

<li id='user_enemies'><a href='{parse url="app=core&amp;module=usercp&amp;tab=members&amp;area=ignoredusers" base="public"}' title="{$this->lang->words['manage_ignored_users']}" class=manage_enemies'>{$this->lang->words['manage_ignored_users]}</a></li>

<if test="bloglink:|:$this->memberData['has_blog'] AND IPSLib::appIsInstalled( 'blog' )">

<li id='user_blog'><a href='{parse url="app=blog&amp;module=display&amp;section=blog&amp;mid={$this->memberData['member_id']}" base=public"}' title="{$this->lang->words['go_to_my_blog]}">{$this->lang->words['my_blog']}</a></li>

</if>

<if test="gallerylink:|:$this->memberData['has_gallery'] AND IPSLib::appIsInstalled( 'gallery' )">

<li id='user_gallery'><a href='{parse url="app=gallery&amp;module=user&amp;section=user&amp;user={$this->memberData['member_id']}" base=public"}' title="{$this->lang->words['go_to_my_gallery]}">{$this->lang->words['my_gallery']}</a></li>

</if>

<if test="nexuslink:|:IPSLib::appIsInstalled( 'nexus' )">

<li id='user_nexus' class='row1'><a href='{parse url="app=nexus&amp;module=clients" base="public"}' title="{$this->lang->words['client_area']}">{$this->lang->words['client_area']}</a></li>

</if>

</ul>

<script type='text/javascript'>

if( $('user_link_menucontent') ){

$('user_link_menucontent').hide();

}

</script>

{parse js_module="friends"}

</div>

</div>

<else />

<div id='user_navigation' class='not_logged_in'>

<div id='user_links'>

<a href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['sign_in']}' id='sign_in' class='rounded'>

<span class='left'>{$this->lang->words['sign_in']}</span>

<span class='services right'>

<if test="limFacebook:|:IPSLib::loginMethod_enabled('facebook')">{parse replacement="lim_facebook"}</if>

<if test="limTwitter:|:IPSLib::loginMethod_enabled('twitter')">{parse replacement="lim_twitter"}</if>

<if test="limOpenid:|:IPSLib::loginMethod_enabled('openid')">{parse replacement="lim_openid"}</if>

<if test="limWindows:|:IPSLib::loginMethod_enabled('windows')">{parse replacement="lim_windows"}</if>

</span>

&nbsp;

</a>

<span>

<a href="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" title='{$this->lang->words['register']}' id=register_link'>{$this->lang->words['new_user]} {$this->lang->words['register']}</a>

<a href="{parse url="app=core&amp;module=help" base="public"}" title='{$this->lang->words['view_help']}' rel=help" accesskey='6' class='right'>{parse replacement="help_icon"} {$this->lang->words['sj_help]}</a>

</span>

</div>

</div>

</if>

<div id='search'>

{parse template="quickSearch" group="global" params=""}

</div>

<br class='clear' />

</div>

<if test="pmbox:|:is_array( $items['notifications'] )">

<div id='pm_notification' class='open' rel='{$items['notifications']['notify_id']}'>

<div id='pm_wrap'>

<h3><a href='#j_content' id='close_pm_notification'><img src="{$this->settings['img_url']}/close_popup.png" alt=x"></a> <span id='pm_notify_title'>{$items['notifications]['notify_title']}</span></h3>

<p class='desc'><strong>{$this->lang->words['pc_sent']}</strong> <span id=pm_date'>{parse date="$items['notifications]['notify_sent']" format="short"}</span></p>

<p id='pm_notify_excerpt' class='excerpt'>

{$items['notifications']['notify_text']}

</p>

<p class='submit'>

<if test="$items['notifications']['notify_url']">

<a href='{$items['notifications']['notify_url']}' id=view_pm_notification' class='input_submit'>{$this->lang->words['global_pm_read_short]}<if test="unreadCheck:|:$this->memberData['notification_cnt'] > 1"> (<span id=pm-count'>1</span>/{$this->memberData['notification_cnt]})</if></a> &nbsp;

<else />

<a href='{parse url="app=core&amp;module=usercp&amp;area=viewNotification&amp;do=view&amp;view={$items['notifications']['notify_id']}" base=public"}' id='view_pm_notification' class='input_submit'>{$this->lang->words['global_pm_read]}<if test="unreadCheck:|:$this->memberData['notification_cnt'] > 1"> (<span id=pm-count'>1</span>/{$this->memberData['notification_cnt]})</if></a> &nbsp;

</if>

<a href='{parse url="app=core&amp;module=usercp&amp;area=markNotification&amp;do=mark&amp;mark={$items['notifications']['notify_id']}" base=public"}' id='ack_pm_notification' class='input_submit alt'>{$this->lang->words['mark_pc_read]}</a> &nbsp;

<a href='#' id='notification_go_forward' class='configure input_submit<if test="morethanonenotification:|:$this->memberData['notification_cnt'] < 2"> hide</if>'>&gt;</a>

<a href='#' id='notification_go_back' class='configure input_submit hide'>&lt;</a>

<a href='{parse url="app=core&amp;module=usercp&amp;tab=core&amp;area=notifications" base="public"}' class='configure'>{$this->lang->words['configure_notifications']}</a>

</p>

</div>

</div>

<script type='text/javascript'>

$('pm_notification').hide();

</script>

</if>

</div>

<div id='content' class='clear'>

<a id='j_content'></a>

{$items['adHeaderCode']}

<if test="mainpageContent:|:$html">{$html}</if>

{$items['adFooterCode']}

<br class='clear' />

{$stats['task']}

</div>

<div id='footer_utilities' class='clearfix clear'>

<h2 class='hide'>{$this->lang->words['skin_and_lang']}</h2>

<if test="skinchanger:|:$this->settings['allow_skins'] AND $footer_items['skin_chooser']">

<if test="uagentlocked:|:$this->memberData['userAgentLocked'] AND ! $this->memberData['userAgentBypass']">

<p id='useragent_msg'>

{$this->lang->words['skin_browser_set']} <a href={parse url="{$this->settings['query_string_formatted]}&amp;unlockUserAgent=1" base="public"}'>{$this->lang->words['override_browser_theme']}</a>

</p>

<else />

<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>

<fieldset>

<input type='hidden' name='k' value='{$this->member->form_hash}' />

<label for='newSkin' class='hide'>{$this->lang->words['theme_prefix']}</label>

<select name="settingNewSkin" id='newSkin'>

{$footer_items['skin_chooser']}

</select>

<input type='submit' value='{$this->lang->words['jmp_go']}' class='input_submit alt' id='newSkinSubmit' />

</fieldset>

</form>

</if>

</if>

<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'>

<fieldset>

<input type='hidden' name='k' value='{$this->member->form_hash}' />

<input type='hidden' name='setlanguage' value='1' />

<input type="hidden" name="langurlbits" value="{$this->settings['query_string_safe']}&amp;cal_id={$this->request['cal_id']}" />

<label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label>

<select name="langid" id='newLang'>

{$footer_items['lang_chooser']}

</select>

<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' />

</fieldset>

</form>

<h2 class='hide'>{$this->lang->words['exec_stats']}</h2>

<ul class='right'>

<li>{$this->lang->words['time_now']} {$footer_items['time']}

<if test="lastvisit:|:$this->memberData['member_id'] AND $this->memberData['last_visit']"><p>{$this->lang->words['you_last_visit']} {parse date=$this->memberData['last_visit]" format="short"}</p></if>

</li>

<if test="showdebuglevel:|:$this->memberData['member_id'] and $this->settings['debug_level']">

<li><img src='{$this->settings['img_url']}/stats_time.png' alt=' /> {$stats['ex_time]} <if test="isfloat:|:is_float($stats['ex_time'])">{$this->lang->words['stats_sec']}</if></li>

<li><img src='{$this->settings['img_url']}/stats_server.png' alt=' /> {$stats['server_load]}</li>

<li><img src='{$this->settings['img_url']}/stats_database.png' alt=' /> {$stats['queries]} <if test="sqldebuglink:|:IPS_SQL_DEBUG_MODE"><a href='{parse url="{$this->settings['query_string_safe']}&amp;debug=1" base=public"}'></if>{$this->lang->words['stats_queries]}<if test="closesqldebuglink:|:IPS_SQL_DEBUG_MODE"></a></if></li>

<li><img src='{$this->settings['img_url']}/stats_compression.png' alt=' /> {$stats['gzip_status]}</li>

</if>

</ul>

</div>

<!-- __FOOTER__ -->

<!-- /__FOOTER__ -->

<!--DEBUG_STATS-->

<div id='board_footer'>

<ul id='utility_links' class='left'>

<li><a href='#top' id='backtotop' title='{$this->lang->words['go_to_top']}'>{$this->lang->words['back_to_top']}</a></li>

<li><a href='{parse url="act=idx" seotitle="false" base="public"}' title='{$this->lang->words['sj_home']}'>{$this->lang->words['sj_home']}</a></li>

<li><a href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=deleteCookies&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['delete_all_cookies_title']}'>{$this->lang->words['delete_my_cookies']}</a></li>

<li><a href="{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=all&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['mark_all_as_read']}'>{$this->lang->words['mark_board_as_read']}</a></li>

</ul>

{$footer_items['copyright']}

<br class='clear' />

</div>

{$stats['task']}

<if test="includeLightboxDoReal:|:$this->settings['do_include_lightbox_real']">

{parse template="include_lightbox_real" group="global" params=""}

</if>

</div>

</body>

</html>

Co zrobić by rozwijalne było menu górne ?

Edytowano przez pio72

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Z tego co widzę to "Hosted Communities" jest rozwijanym menu. Zrób analogicznie z tym co chcesz, żeby było rozwijane

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

No to mamy ciekawostkę, bo u mnie się nie rozwija, na mojej przeglądarce. Czym to może być spowodowane ?

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Pewnie dlatego, że niewiadomo co to ma być:

<script type='text/javascript' src='..public/js/ips.mastnav.js'></script>
jeśli dodałeś ten plik tak jak napisane jest powyżej, to zamień ten kod na:
<script type='text/javascript' src='{$this->settings['public_dir']}js/ips.mastnav.js'></script>

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Hahahaha, genialnie proszę Pana !! A jak zrobić tak, by link który się wysunie otwierał się w drugim oknie. ? Wiem że wiesz jak to robić, bo już kiedyś pisałeś. Jedna ścieżka mi wystarczy ;)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
<a href="..." target="_blank">opis</a>

czyli dodaj target="_blank" i będzie

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bardzo dziękuję za pomoc. Proszę jeszcze o ostatnią podpowiedz. Podaj mi proszę z kodu poniżej jaki dokładnie fragment odpowiada temu co jest na screnie poniżej:

kod:

<!-- START MASTHEAD NAV -->

<script type='text/javascript' src='{$this->settings['public_dir']}js/ips.mastnav.js'></script>

<div id="masthead">

<ul id="primary_navigation">

<li id="nav_home"><a href="http://www.facebook.com/pages/Forum-narciarskie-KochamNartypl/153150001411384/">Kn na Facebook</a></li>

<li id="nav_products">

<a href="http://www.kochamnarty.pl/forum/69-austria/">Katalog nart</a>

<ul class="main_menu" id="nav_products_menu" style="display: none;">

<li><a href="http://www.amplid.com/ski/skis.php">Amplid</a></li>

<li><a href="

<li><a href="

<li><a href="

<li><a href="

<li><a href="

<li><a href="

<li><a href="

<li><a href="

<li><a href="

<li><a href="

<!--<li><a href='http://www.invisionpower.com/products/community/' title=''>Community Projects</a></li>-->

</ul>

<script type="text/javascript">

ips.menus['products'] = new ips.menu( $('nav_products'), $('nav_products_menu') );

</script>

</li>

<li id="nav_hosted">

<a href="/hosting">Pogoda online</a>

<ul class="main_menu" id="nav_hosted_menu" style="display: none;">

<li><a title="Go to standard packages" href="http://www.yr.no/">Meteorologisk</a></li>

<li><a title="Go to Advanced packages" href="http://www.wetter.at/wetter/sport-freizeit/ski-wetter/oesterreich/salzburg/leogang">Wetter at</a></li>

<li><a title="Go to website hosting" href="http://www.weatheronline.co.uk/Poland.htm">Weatheronline</li>

<li><a title="Go to website hosting" href="http://www.3bmeteo.com/">3 Bmeteo</a></li>

<li><a title="Go to website hosting" href="http://www.wunderground.com/global/stations/12560.html">Wunderground</a></li>

<li><a title="Go to website hosting" href="http://new.meteo.pl/um/php/small_maps.php?all=1">Meteo pl</a></li>

<li><a title="Go to website hosting" href="http://www.meteogroup.pl/pl/home/pogoda/modele-numeryczne/gfs-ncep.html">MeteoGrup</a></li>

<li><a title="Go to website hosting" href="http://www.weather.com/weather/today/Katowice+Poland+PLXX0010?from=month_topnav_business">WeatherHome</a></li>

<li><a title="Go to website hosting" href="http://www.wetter3.de/">Wetker 3D</a></li>

<li><a title="Go to website hosting" href="http://www.meteoprog.pl/pl/">Meteoprolog</a></li>

</ul>

<script type="text/javascript">

ips.menus['hosted'] = new ips.menu( $('nav_hosted'), $('nav_hosted_menu') );

</script>

</li>

<li id="nav_services">

<a title="Go to our Services overview" href="http://www.invisionpower.com/services/">XXXXXXXX</a>

<!--<ul id='nav_services_menu' class='main_menu'>

<li><a href='#' title=''>Pre-launch</a></li>

<li><a href='#' title=''>Software Modifications</a></li>

<li><a href='#' title=''>Single Sign On Integration</a></li>

<li><a href='#' title=''>Custom Licensing</a></li>

<li><a href='#' title=''>Enterprise Hosting</a></li>

</ul>

<script type='text/javascript'>

ips.menus['services'] = new ips.menu( $('nav_services'), $('nav_services_menu') );

</script>-->

</li>

<li id="nav_support">

<a href="#">Support</a>

<ul class="main_menu" id="nav_support_menu" style="display: none;">

<li><a title="Go to the client area" href="http://www.invisionpower.com/customer/">Client Area</a></li>

<li><a title="Go to the resource site" href="http://community.invisionpower.com/resources/index.html">Documentation</a></li>

<li><a title="Go to the resource site" href="http://community.invisionpower.com/resources/index.html">Client Resources</a></li>

<li><a title="Our community support forums" href="http://community.invisionpower.com">IPS Community</a></li>

<li><a title="Go to the FAQs" href="http://www.invisionpower.com/company/faq.php">FAQs</a></li>

<li><a title="" href="http://www.invisionpower.com/hosting/status.php">Network Status</a></li>

</ul>

<script type="text/javascript">

ips.menus['support'] = new ips.menu( $('nav_support'), $('nav_support_menu') );

</script>

</li>

<li id="nav_clientarea">

<a title="Go to the client area" href="http://www.invisionpower.com/customer/">Client Area</a>

</li>

<li id="nav_contact"><a title="Get in touch" href="http://www.kochamnarty.pl/public/style_extra/team_icons/kontakt.jpg">Kontakt</a></li>

</ul>

</div>

<!-- END MAST NAV -->

Tzn gdzie zaczyna się i kończy fragment tego co poniżej:

post-160-0-72049700-1301076183_thumb.jpg

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
<a href="http://www.kochamnarty.pl/forum/69-austria/">Katalog nart</a>
<ul class="main_menu" id="nav_products_menu" style="display: none;">
<li><a href="http://www.amplid.com/ski/skis.php">Amplid</a></li>
<li><a href="http://www.kochamnarty.pl/topic/1420-producent-armada/">Armada</a></li>
<li><a href="http://www.kochamnarty.pl/topic/714-producent-atomic/">Atomic</a></li>
<li><a href="http://www.kochamnarty.pl/topic/1432-producent-blizzard/">Blizzard</a></li>
<li><a href="http://www.kochamnarty.pl/topic/734-producent-dynastar/">Dynastar</a></li>
<li><a href="http://www.kochamnarty.pl/topic/1422-producent-elan/">Elan</a></li>
<li><a href="http://www.kochamnarty.pl/topic/715-producent-fischer/">Fischer</a></li>
<li><a href="http://www.kochamnarty.pl/topic/722-producent-head/">Head</a></li>
<li><a href="http://www.kochamnarty.pl/topic/762-producent-kaestle/">Kastle</a></li>
<li><a href="http://www.kochamnarty.pl/topic/1428-producent-line/">Line</a></li>
<li><a href="http://www.kochamnarty.pl/topic/1419-producent-majesty/">Majesty</a></li>

<!--<li><a href='http://www.invisionpower.com/products/community/' title=''>Community Projects</a></li>-->
</ul>[/code]

pierwsza linijka to wiadomo a <ul /> to lista rozwijana

  • Like 1

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Serdecznie dziękuję, można zamknąć. Aha, jest na forum tutaj jakiś problem z plusami bo za jednym razem dostajesz 11 :)

Dzięki!!!!!

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

TO nie jest błąd :) to specjalny dodatek o nazwie (DB31) Advanced Reputation System :) pozwala na dodawanie plusów i minusów o większej wadze niż 1. Ale to nie jest opis na ten temat :)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość
Temat jest zablokowany i nie można w nim pisać.

  • Kto przegląda   0 użytkowników

    Brak zalogowanych użytkowników przeglądających tę stronę.

×

Ważne informacje

Kontynuując przeglądanie strony, wyrażasz zgodę na używanie przez nas plików cookies.