Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


- - - - -

Dropdown Submenu Links


  • Please log in to reply
34 replies to this topic

#21 Michael

Michael

    Management

  • Management
  • 3,129 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 28 March 2009 - 04:28 AM

View Postzamg0d1, on Mar 28 2009, 07:34 PM, said:

It works at this skin _O_

EDIT: Is there a way to make a border with background in a dropdown menu?

Most skins should have that css bit with a border, this is something you'll need to talk to the skin author about.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#22 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 29 March 2009 - 08:23 AM

The borders doesn't care anymore.... I like it the way how it is now. But is there a way to solve the problem of Internet Explorer that Mozilla Firefox doesn't have?

#23 Michael

Michael

    Management

  • Management
  • 3,129 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 29 March 2009 - 12:34 PM

View Postzamg0d1, on Mar 30 2009, 01:23 AM, said:

The borders doesn't care anymore.... I like it the way how it is now. But is there a way to solve the problem of Internet Explorer that Mozilla Firefox doesn't have?

Check here.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#24 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 29 March 2009 - 10:42 PM

That is what I already have  :blink: :huh: . Except the last one. That is withour comma.

#25 Michael

Michael

    Management

  • Management
  • 3,129 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 30 March 2009 - 09:56 PM

View Postzamg0d1, on Mar 30 2009, 03:42 PM, said:

That is what I already have  :blink:  :huh: . Except the last one. That is withour comma.

Yeah that's how it's suppose to be, can you post your javascript code your using?

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#26 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 31 March 2009 - 11:59 AM

How do you mean? The HTML of my Member Bar now with the code in it?

#27 Michael

Michael

    Management

  • Management
  • 3,129 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 31 March 2009 - 05:14 PM

View Postzamg0d1, on Apr 1 2009, 04:59 AM, said:

How do you mean? The HTML of my Member Bar now with the code in it?

this bit of code, post your modified version

<script type="text/javascript">
	 //<![CDATA[
   menu_build_menu(
   "subnav",
   new Array(
   img_item + " <a href='{$this->ipsclass->base_url}act=link'>Link</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=link'>Link</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=link'>Link</a>",
img_item + " <a href='{$this->ipsclass->base_url}act=link'>Link</a>",
img_item + " <a href='{$this->ipsclass->base_url}act=link'>Link</a>"
   ) );
	 //]]>
   </script>

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#28 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 31 March 2009 - 10:45 PM

<if="$this->ipsclass->member['id']">
<div id="userlinks">
	<p class="home"><b>{$this->ipsclass->lang['logged_in_as']} <a href="{$this->ipsclass->base_url}showuser={$this->ipsclass->member['id']}">{$this->ipsclass->member['members_display_name']}</a></b> ( <a href="{$this->ipsclass->base_url}act=Login&amp;CODE=03&amp;k={$this->ipsclass->md5_check}">{$this->ipsclass->lang['log_out']}</a> )</p>
	<p>
<else />
<div id="userlinksguest">
	<p class="pcen"><b>{$this->ipsclass->lang['guest_stuff']}</b> ( <a href="{$this->ipsclass->base_url}act=Login&amp;CODE=00">{$this->ipsclass->lang['log_in']}</a> | <a href="{$this->ipsclass->base_url}act=Reg&amp;CODE=00">{$this->ipsclass->lang['register']}</a> )
</if>
<if="$this->ipsclass->member['mgroup'] == $this->ipsclass->vars['auth_group']">
	<b><a href="{$this->ipsclass->base_url}act=reg&amp;CODE=reval">{$this->ipsclass->lang['resend_val']}</a></b> &middot;
</if>
<if="$this->ipsclass->member['g_use_pm'] AND $this->ipsclass->member['members_disable_pm'] == 0">
	&middot;&nbsp;<a href="{$this->ipsclass->base_url}act=Msg&amp;CODE=01">{$msg['TEXT']}</a> &middot;
</if>
<if="$this->ipsclass->member['g_access_cp'] == 1 AND $this->ipsclass->vars['security_remove_acp_link'] == 0">
	<b><a href="{$this->ipsclass->vars['_admin_link']}" target="_blank">{$this->ipsclass->lang['admin_cp']}</a></b> &middot;
</if>
<if="$this->ipsclass->member['has_blog'] == 1">
	<b><a href="{$this->ipsclass->base_url}automodule=blog&amp;req=showblog&amp;mid={$this->ipsclass->member['id']}">{$this->ipsclass->lang['myblog']}</a></b>
</if>
<if="$this->ipsclass->member['has_gallery'] == 1">
	<b><a href="{$this->ipsclass->base_url}autocom=gallery&amp;req=user&amp;user={$this->ipsclass->member['id']}">{$this->ipsclass->lang['submenu_albums']}</a></b> &middot;
</if>
<if="$this->ipsclass->member['id']">
	</if>
</if>
<!--&nbsp;&middot;&nbsp;<span id="linkpartners"><a href="#linkpartners">Linkpartners</a></span>--/>
&nbsp;&middot;&nbsp;			<span id="ipb-tl-search_menu"><{SEARCH}> <a href="{$this->ipsclass->base_url}act=Search&amp;f={$this->ipsclass->input['f']}" id="ipb-tl-search"><b>{$this->ipsclass->lang['tb_search']}</b></a></span>
&nbsp;&middot;&nbsp;<span id="leden-menu"><{PRO_ONL}>  <a href="#leden-menu"><b>Leden Menu</b></a></span>&nbsp;&middot;&nbsp;
<span id="help"><{FAVICON}>   <a href="#help"><b>Helppagina's</b></a></span>&nbsp;&middot;&nbsp;
	</p>
</div>
<script type="text/javascript">
	 //<![CDATA[
   menu_build_menu(
   "leden-menu",
   new Array(
   img_item + " <a href='{$this->ipsclass->base_url}act=UserCP&amp;CODE=00'>{$this->ipsclass->lang['your_cp']}</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Search&amp;CODE=getnew'>{$this->ipsclass->lang['view_new_posts']}</a>",
   img_item + " <a href='java script:friends_pop();'>{$this->ipsclass->lang['gbl_my_friends']}</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Members'>Leden</a>",
   img_item + " <a href='java script:buddy_pop();'>{$this->ipsclass->lang['l_qb']}</a>"
   ) );
	 //]]>
   </script>
<script type="text/javascript">
	 //<![CDATA[
   menu_build_menu(
   "help",
   new Array(
   img_item + " <i>De helppagina's zijn nog niet helemaal<br>vertaald maar dit zal spoedig gebeuren</i>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help'>Alle pagina's</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=24'>Forumregels</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=1'>Registratievoordelen</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=2'>Cookies en Cookie gebruik</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=3'>Vergeten wachtwoorden terugkrijgen</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=4'>Jou controle paneel</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=5'>Email notificatie nieuwe berichten</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=6'>Het PB-Systeem</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=7'>Het moderatieteam contacteren</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=8'>Profiel Informatie bekijken</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=9'>Topic bekijken en nieuwe berichten</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=10'>Zoekfunctie</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=11'>Inloggen en uitloggen</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=12'>Assistent</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=13'>Berichten plaatsen</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=14'>Ledenlijst</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=15'>Topicopties</a>",
   img_item + " <a href='{$this->ipsclass->base_url}act=Help&CODE=01&HID=16'>Kalender</a>"
   ) );
	 //]]>
   </script>
<script type="text/javascript">
	 //<![CDATA[
   menu_build_menu(
   "linkpartners",
   new Array(
   img_item + " <i>Er zijn momenteel geen <br>linkpartners gevonden</i>"
   ) );
	 //]]>
   </script>
		<div class='popupmenu-new' id='ipb-tl-search_menu' style='display:none;width:210px'>
			<form action="{$this->ipsclass->base_url}act=Search&amp;CODE=01" method="post">
				<input type='hidden' name='forums' id='gbl-search-forums' value='all' /> 
				<input type="text" size="20" name="keywords" id='ipb-tl-search-box' />
				<input class="button" type="image" style='border:0px' src="{$this->ipsclass->vars['img_url']}/login-button.gif" />
				<if="($this->ipsclass->input['act'] == 'sf' OR $this->ipsclass->input['act'] == 'st') AND $this->ipsclass->input['f']">
					<br /><input type='checkbox' id='gbl-search-checkbox' value='1' onclick='gbl_check_search_box()' checked='checked' /> {$this->ipsclass->lang['gbl_forum_search']}
				</if>
			</form>
			<div style='padding:4px'>
				<a href='{$this->ipsclass->base_url}act=Search'>{$this->ipsclass->lang['gbl_more_search']}</a>
			</div>
		</div>
		<script type="text/javascript">
			ipsmenu.register( "ipb-tl-search", 'document.getElementById("ipb-tl-search-box").focus();' );
			gbl_check_search_box();
		</script>


Here you got all ;) Maybe it's a mistake in the other things... And I renamed the subnav things for more menus to that's a problem maybe? And I putted in a Searchbox. Can that be a mistake?

#29 Michael

Michael

    Management

  • Management
  • 3,129 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 02 April 2009 - 06:24 PM

Ok I tried moving your code to global_board_header template bit and it worked in Firefox and IE. For some reason it's just not working in the member_bar template bit.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#30 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 03 April 2009 - 07:58 AM

That's the weirdy thing in here :S

#31 Michael

Michael

    Management

  • Management
  • 3,129 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 04 April 2009 - 02:18 AM

View Postzamg0d1, on Apr 4 2009, 12:58 AM, said:

That's the weirdy thing in here :S

Your going to have to move it to global_board_header until I can find a fix. I'm not sure why it would matter in IE.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#32 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 12 April 2009 - 02:10 AM

I have an idea how it maybe can work in IE in the member bar :lol: But then I need to find the Skin HTML of the RSS Drop Down :)

#33 BrandonT

BrandonT

    Elite Member

  • Customers
  • 107 posts
  • Gender:Male
  • Location:FL
  • IP.Board Version:IPB 3.2.x
  • First Name:Brandon

Posted 15 April 2009 - 05:51 PM

Having this Issue -

Posted Image


Also Is there any type of small icon that can be added to identify It as a drop down menu? My member appear to not be very smart :o

#34 Michael

Michael

    Management

  • Management
  • 3,129 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 24 April 2009 - 12:04 AM

View PostBrandonT, on Apr 16 2009, 09:51 AM, said:

Having this Issue -

Posted Image


Also Is there any type of small icon that can be added to identify It as a drop down menu? My member appear to not be very smart :o

My limited css knowledge isn't really helping me solve this, but I have found a way to make it look more appealing, these edits are only for IP.Pro

Open your Admin CP / Look & Feel Tab / IP.Pro / Edit Template HTML / All Global HTML / global_board_header

Find:
<!-- / End board header -->

Add Above:
<script type="text/javascript">
	   //<![CDATA[
	 menu_build_menu(
	 "subnav",
	 new Array(
	 "<a href='{$this->ipsclass->base_url}act=link'>Link</a>",
	 "<a href='{$this->ipsclass->base_url}act=link'>Link</a>",
	 "<a href='{$this->ipsclass->base_url}act=link'>Link</a>"
	 ) );
	   //]]>
	 </script>

Find:
<a href="{$this->ipsclass->base_url}act=Help">{$this->ipsclass->lang['tb_help']}</a>

Add Above:
<a href="#subnav" id="subnav">Links Name <img src='style_images/<#IMG_DIR#>/menu_action_down-padded.gif' border='0' /></a>

To finish up Save Template Bit.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#35 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 26 April 2009 - 09:16 PM

I think I found a Drop Down for the Member Bar :lol:

Put this in the place where you want the menu in the Member Bar:
<div style='width:100px;display:inline' class='popmenubutton-new' id='member-bar'>LINK NAME&nbsp;&nbsp;</div>

Then put this at the bottom of the template bit:
<script type="text/javascript">
//<![CDATA[
  menu_build_menu(
  "member-bar",
  new Array(
	 img_item + " <a href='index.php?act=UserCP&amp;CODE=00' >My Control Panel</a>"
	 ,img_item + " <a href='index.php?act=Search&amp;CODE=getnew'>New Messages</a>"
	,img_item + " <a href='java script:buddy_pop();' >My Buddy</a>"
	 ,img_item + " <a href='java script:friends_pop();'>My Friends</a>"
	 ,img_item + " <a href='index.php?'>Url</a>"
	 ,img_item + " <a href='index.php?'>Url</a>"
) );
//]]>
</script>

I think that it works :lol: Didn't test is but a forum where I'm active has it working in IE and FireFox




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users