Code for "sexy drop down nav bar"
5 posters
Page 1 of 1
Code for "sexy drop down nav bar"
I've gotten the code for login/logout/register to work with this navbar but unfortunatly I'm having troubles with the No new messages/new messages html code.
there is this for the original one
but what I'm looking for is where its would change on the navbar when a new message is sent
Note: Dropdown navbar
Tutorial Link:
If further information is needed just let me know
there is this for the original one
- Code:
<td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
but what I'm looking for is where its would change on the navbar when a new message is sent
Note: Dropdown navbar
Tutorial Link:
- Code:
http://www.csshelp.net/t225-sexy-drop-down-menu-with-jquery-css-punbb-and-phpbb2
If further information is needed just let me know
Khaoz- Forumember
- Posts : 48
Reputation : 4
Language : English
Re: Code for "sexy drop down nav bar"
- Code:
<ul class="topnav">
<li><a href="/h1-home">Home</a></li>
<li><a href="/forum">Forum</a></li>
<li>
<a href="#">Client</a>
<ul class="subnav">
<li><a href="RemovedLink">Webclient</a></li>
<li><a href="RemovedLink">Desktop Client</a></li>
</ul>
</li>
<li><a href="/h3-RemovedName-shop">Shop</a></li>
<li><a href="#">Vote</a></li>
<li><a href="/memberlist">Members</a></li>
<li><a href="/groups">Groups</a></li>
<li><a href="/profile?mode=editprofile">Profile</a></li>
<li><a href="/privmsg?folder=inbox">Message</a></li>
<!-- BEGIN switch_user_logged_in -->
<li class="topmenu"><a class="topmenu" href="{U_LOGIN_LOGOUT}"<img src="" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" align="right" />Logout</a></li>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<li class="topmenu"><a class="topmenu" href="{U_REGISTER}"<img src="" alt="{L_REGISTER}" width="12" height="13" hspace="3" align="right" border="0" />{L_REGISTER}</a></li>
<!-- END switch_user_logged_out -->
</ul>
I want to fix <li><a href="/privmsg?folder=inbox">Message</a></li>
so that it shows when there is a new message in inbox and when there is not one
I removed the links most of the navbar so its not advertisement as the forum is not ready yet :s
Khaoz- Forumember
- Posts : 48
Reputation : 4
Language : English
Re: Code for "sexy drop down nav bar"
You are allowed to provide a link as long as it is providing a visual to the support for you. If it is something simple like "Hey how do I change the main font color, heres my link" because everyone in support and more know how to change the main font color without looking at their site.
Honestly though, it may be nice to be able to actually look at what we are working with.
CSS wise though I believe the message ID is
#i_icon_mini_message
#i_icon_mini_new_message
Honestly though, it may be nice to be able to actually look at what we are working with.
CSS wise though I believe the message ID is
#i_icon_mini_message
#i_icon_mini_new_message
Re: Code for "sexy drop down nav bar"
I removed the generated navbar with the tutorial to add the drop down nav bar. I managed to find a code that allowed for the login/logout/register feature on google where it would hide when they're logged in the "login and register button" and show the logout button and visversa what I'm asking now is for something to show on the new nav bar (not fourmotion generated) but html to show when there is a new pm/no pm I remember messing with these codes on forumotion like a year ago when the old system was doing the coding when people where removing the footer, etc. I know its out there but not sure how its done the old way regarding the old navigation style code which is what I'm looking for.
Khaoz- Forumember
- Posts : 48
Reputation : 4
Language : English
Re: Code for "sexy drop down nav bar"
Bump..
I also interesting for that..
I also interesting for that..
Aconitin- Forumember
- Posts : 246
Reputation : 7
Language : Indonesian
Location : Indonesia
Re: Code for "sexy drop down nav bar"
What do you mean with..
?Rideem3 wrote:Also, make sure that you have the generated nav bar somewhere on your forum.
Aconitin- Forumember
- Posts : 246
Reputation : 7
Language : Indonesian
Location : Indonesia
Re: Code for "sexy drop down nav bar"
So, how to hide it?
Aconitin- Forumember
- Posts : 246
Reputation : 7
Language : Indonesian
Location : Indonesia
Re: Code for "sexy drop down nav bar"
And where we must put the dropdown menu codes if we may not replace {GENERATED_NAVBAR} ?
Aconitin- Forumember
- Posts : 246
Reputation : 7
Language : Indonesian
Location : Indonesia
Re: Code for "sexy drop down nav bar"
Yes.. I know we don't replace Generated navbar but in this tutorial -> http://www.csshelp.net/t225-sexy-drop-down-menu-with-jquery-css-punbb-and-phpbb2
we have to replace it..
Look at my testing forum -> http://test.homediscussion.net/
I don't get the dropdown menu..
Help?
we have to replace it..
Look at my testing forum -> http://test.homediscussion.net/
I don't get the dropdown menu..
Help?
Aconitin- Forumember
- Posts : 246
Reputation : 7
Language : Indonesian
Location : Indonesia
Re: Code for "sexy drop down nav bar"
Bump.. Any help?
Aconitin- Forumember
- Posts : 246
Reputation : 7
Language : Indonesian
Location : Indonesia
Re: Code for "sexy drop down nav bar"
The script you added doesn't load properly http://near-reality123123123.webs.com/bar.js
Try taking it out of overall_header and adding it in JS managment marking all pages. When I try it from a console drop down loads next to CLIENT navigation as Web Client and Desctop client so it should work.
Try taking it out of overall_header and adding it in JS managment marking all pages. When I try it from a console drop down loads next to CLIENT navigation as Web Client and Desctop client so it should work.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Code for "sexy drop down nav bar"
So, I add this script in JS Management
Thanks a lot, Nera..
- Code:
$(document).ready(function(){
$("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*)
$("ul.topnav li span").click(function() { //When trigger is clicked...
//Following events are applied to the subnav itself (moving subnav up and down)
$(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click
$(this).parent().hover(function() {
}, function(){
$(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
});
//Following events are applied to the trigger (Hover events for the trigger)
}).hover(function() {
$(this).addClass("subhover"); //On hover over, add class "subhover"
}, function(){ //On Hover Out
$(this).removeClass("subhover"); //On hover out, remove class "subhover"
});
});
Thanks a lot, Nera..
Aconitin- Forumember
- Posts : 246
Reputation : 7
Language : Indonesian
Location : Indonesia
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Code for "sexy drop down nav bar"
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Adding A Drop-Down Menu Code
» When i paste a long code via [code][/code] the page expands
» Drop Down List
» help in this code . the effect on code > add button to Put under the colored writing
» Hide Code? or Post to See Content Code?
» When i paste a long code via [code][/code] the page expands
» Drop Down List
» help in this code . the effect on code > add button to Put under the colored writing
» Hide Code? or Post to See Content Code?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum