hello friends i'm using the boostrap menu for my website it was fine until i wanted to get menu element from database so u got the syntax error unexpected '<' in line 3 and the line 5, 6, 7, 9, 10, are shown red in my IDE i gues if i solve the line 3 i will get the same message for that lines too ! <?php while($row=mysqli_fetch_array($sqldonee, MYSQLI_ASSOC)){ <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated link</a></li> <li role="separator" class="divider"></li> <li><a href="#">One …

Member Avatar
Member Avatar
+0 forum 4

https://jsfiddle.net/fzbx09qL/1/ Having above code. This is as far as I've gotten. I need someone to instruct me on three things. First off, how do I make sure it appear smoothly? I have `transition` but it doesn't seem to work, must be other way. Second, there is some code that I commented out in HTML box. When I add it, the entire "dropdown" breaks. This might be because of links, but in future I'd really need it. Is there a work-around? Third, it seems this box is a little bit off to the side, is there a way to place it …

Member Avatar
Member Avatar
+0 forum 8

Why is my menu not working in internet explorer but working in chrome and firefox.. here is my code: html: <html> <head> <title>practice</title> <link rel="stylesheet" type="text/css" href="style.css" > </head> <body> <div id="container"> <div> <nav> <ul> <li><a href="#">HOME</a></li> <li><a href="#">CATEGORIES</a> <ul> <li><a href="#">Samsung</a></li> <li><a href="#">IPhone</a></li> <li><a href="#">Cherry Mobile</a></li> <li><a href="#">Myphone</a></li> <li><a href="#">Nokia</a></li> <li><a href="#">Huawei</a></li> </ul> </li> <li><a href="#">SCHEDULE</a></li> <li><a href="#">ABOUT US</a></li> <li><a href="#">FEEDBACK</a></li> </ul> </nav> </div> </div> </body> </html> css: #container { margin: auto; padding: auto; width: 1000px; background: #ffffff; } nav ul { list-style-type: none; overflow: hidden; margin: 0px; padding: 0px; background: #004eff; } nav ul li { display: inline-block; …

Member Avatar
Member Avatar
+0 forum 2

Hi, I have a menu bar with its source derived from an xml data source. I have successfully created the menu bar, but now I want to make that menu bar responsive. I have tried many options but I can't get a correct solution. I hope for a answer here. The code is given as below. <div id="abchome_menu_bar"> <table> <tr> <td width="auto" align="center" valign="middle" style="text-align:center"> <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" Width="94%" ondatabound="Menu1_DataBound"> <DynamicMenuStyle CssClass="IE8Fix" /> <LevelMenuItemStyles> <asp:MenuItemStyle CssClass= "mainmenu" /> <asp:MenuItemStyle CssClass= "levelmenu" /> <asp:MenuItemStyle CssClass="sublevelmenu" /> </LevelMenuItemStyles> <StaticSelectedStyle CssClass="selected" /> <DataBindings> <asp:MenuItemBinding DataMember="Menu" TextField="text" ValueField="text" NavigateUrlField="url" /> <asp:MenuItemBinding DataMember="SubMenu" TextField="text" …

Member Avatar
Member Avatar
+0 forum 1

Just noticed that the blue burger menu is showing 'Web Applications' as a forum, but when you get there it is called 'Cloud-based Applications' instead.

Member Avatar
Member Avatar
+0 forum 2

I've been inspecting this and going crazy trying to figure it out, but I can't find what's going on with this menu of mine. The links and hover state are shifted lower and to the right on my site on this page: http://www.50allstars.com/2015/08/mega-menu.html But elsewhere (off my site) it works perfectly. I've gone through my site's html line for line, and can't figure out what's affecting this negatively. Any help would be great. Thanks! <link rel="stylesheet" href="https://dl.dropboxusercontent.com/u/5739741/OMAR/code/megamenu_files/HTML/css/megamenu.css"><!-- Mega Menu Stylesheet --> <script type="text/javascript" src="https://dl.dropboxusercontent.com/u/5739741/OMAR/code/megamenu_files/HTML/js/jquery.js"></script><!-- jQuery --> <script type="text/javascript" src="https://dl.dropboxusercontent.com/u/5739741/OMAR/code/megamenu_files/HTML/js/megamenu_plugins.js"></script><!-- Mega Menu Plugins --> <script type="text/javascript" src="https://dl.dropboxusercontent.com/u/5739741/OMAR/code/megamenu_files/HTML/js/megamenu.js"></script><!-- Mega Menu Script --> …

Member Avatar
Member Avatar
+0 forum 5

I'm having trouble applying the javascript necessary to close one set of sub-menus when another set is opened. The tutorial site provided some demo code that works, but I can't get it to work without displaying all the various buttons to activate the other available skins. Up top is the code, and below that is the provided javascript. I'm sure it's easy, but I'm just clueless. Any help would be wildly appreciated. Thanks! Taken from: http://www.jqueryscript.net/accordion/Animated-Vertical-Accordion-Menu-with-jQuery-CSS3-mtree-js.html <link href="https://dl.dropboxusercontent.com/u/5739741/omar/code/Animated-Vertical-Accordion-Menu-with-jQuery-CSS3-mtree-js/mtree.css" rel="stylesheet" /> <style> a{text-decoration:none; letter-spacing:2px;} </style> <ul class="mtree transit" style="width:250px"> <li><a href="#">Menu 1</a> <ul> <li><a href="#">Sub-menu 1</a></li> <li><a href="#">Sub-menu 2</a></li> <li><a href="#">Sub-menu …

Member Avatar
+0 forum 0

I like this menu and how it's done: http://www.peterstone.com/ Does somebody has any idea and suggestion, how the easiest way is, to realize this kind of main nav they have? Cheeers Simon

Member Avatar
Member Avatar
+0 forum 30

Need Help i got this assignment to create a program to insert element in array, delete element in array and view elements in array by using Menu Driven Programs plz help me

Member Avatar
Member Avatar
+0 forum 6

Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; }elseif ($user_choice == "font_style_3"){ $font = 'thiredfont'; }elseif ($user_choice == "font_style_4"){ $font = 'forthfont'; } ?> <html> <head> <style> h1 { font-family = $font; } </style> </head> <body> <form method='post'> <select name="font_styles"> <option value="font_style_1">font_style_1</option> <option value="font_style_2">font_style_2</option> <option value="font_style_3">font_style_3</option> <option value="font_style_4">font_style_4</option> </select> <input type="submit"> </form> <h1>username</h1> </body> </html> I want when a user opens the drop-down menu and chooses an option, the font of the <h1> tag changes and the user …

Member Avatar
Member Avatar
+0 forum 7

Hi. I want to create a drop-down menu for user's location (choosing cities) in the form. I know how to create it, but as I want a long list of citis, so is there any other way to create it? Or do i have to create each city one by one?!

Member Avatar
Member Avatar
+0 forum 1

I have this dilemma where I need to make my sub-menus hover over the other content on my page but I cannot seem to do this, I have searched and searched but to no avail. I am to the point where I just need a little bit of guidance on this. I’m still relatively new to css but have slowly gotten the hang of it over time. I just cannot seem to figure this one out though. My issue is that when I hover over the tabs in my tab menu the drop come is triggered BUT it pushes everything …

Member Avatar
Member Avatar
+0 forum 13

How can i create a drop-down menu in Tkinter?

Member Avatar
Member Avatar
+0 forum 6

The total bill doesn't add up correctly, don't get where I went wrong? Total bill is way off. #include <iostream> #include<cmath> #include <iomanip> #include <string> using namespace std; const float Small = 1.20; const float Medium = 1.50; const float Large = 1.70; const float less_inches = 3.75; const float more_inches = 4.00; int main() { int No_Sand, Sand_size; float DrinkCost = 0.0, SandCost = 0.0, total = 0.0; float No_Drinks; char Drink_size; cout << fixed << showpoint << setprecision(2); //Display Menu cout << "------------Menu-------------" << endl; cout << "Drinks " << endl; cout << setfill('.'); cout << left << …

Member Avatar
Member Avatar
+0 forum 4

Hi, I was informed the only way to get [this](http://cssdeck.com/labs/navigation-dropdown-with-flip-effect) drop down to work on Andriod, WP & to a larger extent iPhone is though JS, I was hoping someone could lead onto what that problem may be ?

Member Avatar
Member Avatar
+0 forum 10

I have problem in my site and accrues only when using htaccess, I have many css and js files stored in my site when import them on localhost by using relative path <script src="js/jquery.min.js"></script> when using htaccess the js or css cannot be loaded and firefox show me message "**The connection was reset The connection to the server was reset while the page was loading.**" I've tried many browsers and same problem still but when using CDN for files it loaded succefully like : <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> how to solve this problem . live example http://hawkiqshare.netne.net/share.html ![bef0ea1f4dca89ccf462e73e661bc09f](/attachments/large/3/bef0ea1f4dca89ccf462e73e661bc09f.jpg "bef0ea1f4dca89ccf462e73e661bc09f")

Member Avatar
Member Avatar
+0 forum 3

hey guys , I'd like to add a fancy navigation menu for users like this example http://tympanus.net/Development/SelectInspiration/index8.html but this is a select input not a link, I need a tutorial to achive something like that using jquery and css, so I put a link image when press on it a circular menu appears and user click on one of them, could anyone point me to any tutorial ?

Member Avatar
Member Avatar
+0 forum 1

I have a horizontal menu: "HOME" "DISCOVER" "STRATEGY MODEL" "PROFILE" "CONTACT US" ![9fa0ee7bb1a4cdc493624e869eba98bc](/attachments/large/2/9fa0ee7bb1a4cdc493624e869eba98bc.jpg "9fa0ee7bb1a4cdc493624e869eba98bc") The "DISCOVER" has a drop-down submen (in green for clarity). The HTML: <ul id="menutop"> <li class="root"> <a class="bullet" href="http://www.clivestacey.co.za/"> <span> HOME </span> </a> </li> <li class="root"> <a href="#" class="daddy"> DISCOVER </a> <ul class="menusub"> <li> <a class="sub_menu" href="/index.php?option=com_content&view=article&id=60&Itemid=59"> <span> Insight </span> </a> </li> <li> <a class="sub_menu" href="/index.php?option=com_content&amp;view=article&amp;id=47&amp;Itemid=60"> <span> Innovate </span> </a> </li> <li> <a class="sub_menu" href="/index.php?option=com_content&amp;view=article&amp;id=48&amp;Itemid=61"> <span> Implement </span> </a> </li> </ul> </li> <li class="root"> <a class="bullet" href="/index.php?option=com_content&view=article&id=66&Itemid=64"> <span> STRATEGY MODEL </span> </a> </li> <li class="root"> <a class="bullet" href="/index.php?option=com_content&view=category&layout=blog&id=41&Itemid=66"> <span> PROFILE </span> </a> </li> <li class="root"> <a …

Member Avatar
Member Avatar
+0 forum 10

Hi all, I have a 3-tier menu system in that there are 3 levels such that each top-level menu item has X mid-level items and each mid-level item has Y bottom-level items. For each top-level item I need to split the mid-level and bottom-level items into 3 columns as equally as possible with the restriction that I cannot split the children of a mid-level item into 2+ columns. If I didn't have to keep all the children of a mid-level item together, making equal columns would be pretty much as simple as diving the total number of children in a …

Member Avatar
Member Avatar
+0 forum 1

Hey everyone i have a little problem with the navigation bar, i have created the design of the menu but i want to be in one file (menu.html) and to show on all pages in the website... here is my code for `menu.html` <html> <body> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <style> form.position-and-style { opacity:1; position:absolute; border-radius:20px; width:150px; left:-1%; top:10%; height:100px; background-color:white; border:1px solid gray; } #pocetna { opacity:1; position:absolute; top:10%; left:20%; font-feature-settings:normal; font-style:normal; font-family:sans-serif; font-size:15px; } #kontakt { opacity:1; position:absolute; top:70%; left:20%; font-feature-settings:normal; font-style:normal; font-family:sans-serif; font-size:15px; } </style> <form class='position-and-style'> <a id='pocetna' href='index.html'><b>Почетна</b></a> <a id='kontakt' href='sleden_cekor.html'><b>Контакт</b></a> </form> </body> </html> Tell me how …

Member Avatar
Member Avatar
+0 forum 10

Hi everyone! I'm making an application which requires users with different permissions/previleges to login and use the application.For example, if the user is "admin", all menu items in the menu bar are shown and enabled. If the user is say "user_group1", some of the menu items are to be hidden. The same for "user_group2", "user_group3", "user_group4" and so on. I could put a code for each specific user in each form but that's a great deal since users and their user groups may be added after application deployment. So it has to be something flexible. I want the user "Administrator" …

Member Avatar
Member Avatar
+0 forum 21

Hello. I have a navigation menu: <ul id="nav"> <li><a href="home.php">Home</a></li> <li><a href="event.php">Events</a></li> <li><a href="#">Guest</a> <ul> <li><a href="add_guest.php">Add Guest</a></li> <li><a href="seating.php">Seating</a></li> </ul> </li> <li><a href="rsvp.php">RSVP</a></li> <li><a href="contact_data.php">Contacts</a></li> </ul> how do i check which link is active? there are tons of this kinda questions and answers but i can't seem to make it work on my nav. from what i gathered, i know that window.location.pathname should be used and also the each function to check through the list. theres also split('/') -> window.location.pathname.split('/') but im not sure what that is for. the script is probably something along these lines: $(document).ready(function(){ $(#nav li …

Member Avatar
Member Avatar
+0 forum 2

Hi, Im having issues with a drop down menu in wordpress, when hovering over the top level it displays the first child as well as any child links within them. I need it to only display the child links when the parent is hovered over just as any other drop down menu would. Here is a screenshot: ![c93ed891c4051aa19e28d9319737acdd](/attachments/small/4/c93ed891c4051aa19e28d9319737acdd.png "align-left") Here is the css associated with the sub menu: #top-nav .sub-menu{position:absolute;min-width:144px;list-style:none;padding:0;margin:0;visibility:hidden;padding:10px 25px;margin:0 0 0 -2px;background:#640000;border:1px solid #000f1a; } #top-nav .sub-menu:after{clear:both} #top-nav .sub-menu.drop{visibility:visible;} #top-nav .sub-menu li{float:left;clear:both;background:0;} #top-nav .sub-menu li:first-child a{padding:0;width:auto;height:auto;text-indent:0;background:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;white-space:normal} #top-nav .sub-menu a,#top-nav .sub-menu .current-menu-item a{margin:0;padding:0;color:#fff;border:0;background:0;-webkit-transition:color .1s ease;-moz-transition:color .1s ease;-ms-transition:color .1s ease;-o-transition:color …

Member Avatar
Member Avatar
+0 forum 2

I have a simple menu like this **HTML** <div> <ul> <li> <a href="#">Demo</a> </li> <li> <a href="#">Demo2</a> </li> <li> <a href="#">Demo3</a> </li> <li> <a href="#">Demo4</a> </li> <li> <a href="#">Demo5</a> </li> </ul> </div> **CSS** ul li:nth-child(1){border-top:4px solid red;} ul li:nth-child(2){border-top:4px solid pink;} ul li:nth-child(3){border-top:4px solid blue;} ul li:nth-child(4){border-top:4px solid orange;} Now my question is will this work on ie7 and higher? I am working with wordpress so i can't use a different class for each li. **jQuery** //no conflict mode jQuery(document).ready(function($){ $(ul li).on("click",function(){ //each li should have a different arrow color that matches the border color if($("ul li:nth-child(1)")){ $(this).removeClass("arrow-red").addClass("arrow-red"); } }); …

Member Avatar
Member Avatar
+0 forum 1

hi , i am searching for a good tree menu design for products categories to use it in my website , i need it to be flexible so i could style it as needed and also simple so i can target it with my own javascript. thanks again.

Member Avatar
Member Avatar
+0 forum 2

So I have made a menu and a guy helped me, We have used enum in the menu is there anyother way i can do it, cause my teacher is not allowing me to use classes, files and arrays, please help, if u guys have anything simple and better i need it urgently.. here is the code:- enum MenuState{MenuPlay,MenuHelp,MenuExit}; // the idea of using enum is that instead of using an int to represent a set of values, a type with a restricted set of values in used instead. MenuState ms=MenuPlay;cout<<" *-=MOD=-* v1.0\n\n\n\n\n"; char ch=0;//or anything other than '\r' while …

Member Avatar
Member Avatar
-1 forum 1

"a menu must be provided that asks the user of the software what task they would like to perform; it then activates the required task. The menu should loop until the user requests to exit"- that is the requirement. And i haven't learn about switch-case. So how can i create my menu? thanks

Member Avatar
Member Avatar
+0 forum 13

I have a list of id like this from mysql JM.1 JM.2 JM.2.1 JM.2.2 JM.2.1.0 JM.2.1.1 JM.3 ... ...etc I want to make a display as well JM.1 JM.2 ---JM.2.1 ---JM.2.2 ---------JM.2.1.0 ---------JM.2.1.1 JM.3 ... ...etc How to display using PHP and How To using CSS like that, Or is there who has a reference?

Member Avatar
Member Avatar
+0 forum 2

Hi, i created a Menu controller and inside my views folder i create a page Menu.cshtml with the list of my menus and submenus, now, i would love to show this page in my _Layout.cshtml, this is the code : @model IEnumerable<Menu3.Models.Menu> <!-- If the Model isn't null --> @if (Model != null) { <!-- Iterate through the menus --> foreach (var menu in Model) { <li>@Html.ActionLink(menu.MenuName, "Details", "Menu", new { id = menu.MenuId })</li> <!-- Iterate for each Submenu that corresponds to this menu --> foreach (var submenu in menu.SubMenus) { <a href="#"> @submenu.SubMenuName @Html.ActionLink("SubMenu", "Details", "SubMenu", new { …

Member Avatar
+0 forum 0

So here I am working on a Sunday morning, as usual, and I when I fire up my laptop (which serves as my desktop) a message appears informing that an update is being applied and it won't take long. Imagine my surprise when it turns out that this update appeared to be the long awaited and much talked about Windows 8.1 Update. ![4e3645163f0d7bcbf9f553fba86c8419](/attachments/large/0/4e3645163f0d7bcbf9f553fba86c8419.jpg "4e3645163f0d7bcbf9f553fba86c8419") The big news for me, and I suspected most Windows 8.1 users who actually have a keyboard and mouse attached to their device, is that despite denials and plenty of comments to the contrary over the …

Member Avatar
Member Avatar
+0 forum 9

The End.