Drop Down Menus

Folks, there are hundreds, if not thousands of sites offering code to create drop down menus.

Some places to start…

css drop down menus

http://www.cssmenumaker.com/

http://www.cssmenus.co.uk/

and my favorite for js type menus

http://www.dynamicdrive.com/dynamicindex1/index.html

and if all else fails

Drop Down Menu Search

Ok I have searched, Read, and just plain beat my head against my monitor . Now can someone help me? I have the general Idea of how to make the Drop down menu I want, but I get confused by where everything goes. What i need it a drop down menu with slide out for sub menus. any Ideas would be helpful. And Like I said I have searched til my eyes are crossed. thanks in advanced. Remember I am old so give me a break

Lloyd

I suppose you could adapt this, its something i was messing about with,

Its from ivao but it will give you an idea. It came from when i was learning different menus and styles

[menu.zip](< base_url >/applications/core/interface/file/attachment.php?id=186)

I suppose you could adapt this, its something i was messing about with,

Its from ivao but it will give you an idea. It came from when i was learning different menus and styles

that is what I was looking for Now one question do I copy and past the script on the CSS and place it on my CSS in my skins folder?

I am having issues grasping this as well. sorry. I must analyze it too much or something. Do you add the drop down menu code to the core_navigation file? And if so, how does it all fit into to that with different being logged in vs not logged in? Do I reference a different css file or do I add to the existing css?

Sorry if I seem dense over this whole thing, but I seem to have a real mental block with piecing it all together with phpvms. I had a drop down menu prior to phpvms, so I knew how to add it then. Sorry for bothering, but I still need help.

I need some simple guidance here please. How/where do I add the data in relation to a “logged” in menu vs a “not logged” in one. I think I can muddle through the rest. I just need to know how/where to edit the “core_navigation” file. Think of me as a caveman who is very old and stupid.

If you are trying to get the Admin panel and the Pilot Center to switch from Registration, put these codes in:

Register => Pilot Center Code

<?php

if(!Auth::LoggedIn())

{

// Show these if they haven't logged in yet

?>

<li><a href="<?php echo SITE_URL ?>/index.php/registration">Register</a></li>

<?php

}

else

{

// Show these items only if they are logged in

?>

<li><a href="<?php echo SITE_URL ?>/index.php/profile">Pilot Center</a></li>



<?php

}

?>

For the Admin Panel:

<?php echo $MODULE_NAV_INC;?>
<?php
if(Auth::LoggedIn())
{
if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))
{
	echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>';
}
?>

After MUCH headache and swearing, I have figured it out.

Ok, just one thing now…On my site: http://www.canadianclassicairlines.com/CPC , I want to put the drop down menu BELOW the header graphic and also to have the drop down boxes line up properly. I will keep fumbling with this, but any guidance would be great.

Hi Bruce,

In your layout.tpl file look for the line

$this->show('core_navigation.tpl');

and move that line to after the <div> that is calling your header. That should fix you up.

1 Like

In the process of doing my site up…I never used the layout.tpl file. So, should I try to incorporate that into my site? Is the layout.tpl a necessity? Because it has been fine without using it. Not sure WHY I didn’t have it with my skin, but nevertheless, where would I go instead to move the menu?

Ok, so now I have my dropdown menu working…but NOT in Internet Explorer!!? It works great in Firefox. Anyways, any idea on how to fix this?

http://www.canadianclassicairlines.com/CPC/

Ok, apparently it is IE8, that is having trouble, I believe. I will look further. I thought it was affecting ALL IE versions, but I am mistaken. Why do people have to bother using IE anyway!

In case anyone cares…it was the “compatibility view” in IE8 that was checked. Turned it off and all was well. Sorry for the bother!

Quick question…How do I get the drop down menu to stay on top of the acars map?

Quick question…How do I get the drop down menu to stay on top of the acars map?

It’s tricky, Like my skin, i had to adjust the hieghts and it was hard to firgure out what is casuing this. Try hieging up.

One last question(hopefully), about drop down menus…I see my dropdown menus fine on IE7 and IE8, but I want them to work with IE6 as well. Is there something I can do to force that on my end? Because I can’t change anything on the computer that won’t show the menus in IE6(long story). Other drop downs show up, so not sure why mine don’t in IE6?!?

I suppose you could adapt this, its something i was messing about with,

Its from ivao but it will give you an idea. It came from when i was learning different menus and styles

Did you ever use this drop down and if so were you successful? I can not get it to go any wider no matter what I do. I have adjusted the width and all. If I add another menu item, it just drops it below the menu.

I am really scratching my head on this one. I can’t give a link either unless I catch you on. It is on my WAMP server so I would have to turn it on for anyone to see it.

I suppose I could add a screen shot. I may do that tomorrow. I was just curious if you ever used it or not.

I use My CSS Menu for all of my other websites. I have yet to try to use it in phpVMS though. If anyone is successful, let me know. (Yes! It is free to use, and has millions of possibilites to make it unique to use with any website skin)

1 Like

Hello,

pretty nice generator, and it works

Martin