FAQ Database Discussion Community


Navigation Mobile dropdown, make size of screen

javascript,php,css,drop-down-menu,navigation
I have a dropdown menu on my WordPress website, which displays all of the pages listed. But I want to make this dropdown navigation fill the height of the screen. So far, I am targeting #main-nav-ul If I set a height on this, it affects the height of the dropdown....

Navigation icon not showing up on mobile version?

html,css,mobile,navigation
So i've modified the css elements to add the background image but so far nothing succeeded in displaying the navigation icon on mobile devices. Please assist me in debuging the code in responsive design view at Link and tell me what worked. thanks for your time.regular css down below #menu-icon...

Make text in drop down menu white

html,css,navigation,hover
This is my website.. when you hover over the nav items and a drop down list appears, i want the drop down list to have white text permanently, not turn white. Also if anyone knows how to make it so when you hover over the menu items a black line...

Edge border for navigation bar

html,css,navigation,border
I have a fairly simple navigation bar with a bottom border but I would like to box it off on either side - but not the top. So I get a |______________| surrounding all of my links but I am just starting out and whatever I try seems to border...

Action Bar missing in Navigation Drawer

android,navigation
I have been working on Navigation Drawer. But my getActionBar() is getting caught in NullPointerException. On surrounding it with try and catch, the ActionBar becomes invisible. Any suggestion how to fix it?

CSS drop down navigation

css,html5,css3,drop-down-menu,navigation
I'm sure this is something simple I'm missing... My drop down menu is opening within the main navigation, widening it. Here is a link to the page I'm working on. The issue is with the navigation below the App buttons. http://membershq.incentiveusa.com/AwardPages/GoalUp_Test2/index_test3.html# Here is my HTML: <div class="container-fluid"> <div class="section-title2 text-center">...

Android navigating up on button click

android,navigation
I have two activities Activity A and Activity B with title bar hidden. I don't want to use NavUtils.navigateUpFromSameTask. I can go from Activity A to Activity B on button click. I need to navigate back to Activity A without using Intent. Activity_A.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"...

Element on my website overlaps on menu

html,navigation
As you can see the countdown seems to appear on-top of the navigation when It drops down with the social icons. I was wondering how I am able to make It so the countdown goes hidden under the nav dropdown. SEE IMAGE BELOW OF WHAT I MEAN > HTML Source...

CSS percentage width not working

html,css,navigation,width,percentage
I've been trying to edit the CSS for my website's navbar in order to transform it from having fixed width and height values into percentage values (in order for it to become responsive and work better with different screen sizes). However, when I converted the values, the individual divs didn't...

Windows Phone page navigation does not work

c#,.net,navigation,windows-phone-8.1
I'm new in creating apps for Windows Phone. I've got problem with redirecting to another page. I've created blank page with HyperlinkButtonand in .cs file I wrote this: private void but_elf_Click(object sender, RoutedEventArgs e) { this.Frame.Navigate(typeof(Elfy)); } In xaml: <HyperlinkButton x:Name="but_elf" Content="Elfy" HorizontalAlignment="Center" Margin="100,125,100,255" Grid.Row="1" VerticalAlignment="Center" Width="200" Height="70" /> When...

Navigation Border-Bottom Not Affected By Padding? CSS

html,css,css3,navigation
I am trying to create a responsive navigation menu with a border-bottom animation on a:hover but when I try to space out the text with padding it affects the borders. Is there any way that I can make the borders not be affected by the padding? If not is there...

How to move the second child in my nav menu with CSS

html,css,menu,navigation
I have trouble customizing my navigation menu in CSS and am looking for anyone who can help me with this. I would like my second child element in the navigation menu on its new line and not underneath the first child (see picture for explanation). A working example for this...

Problems with superior menu items

html,css,menu,navigation
On the following site I can't click on the superior menu items: http://sax-holz.ch/fenster/trenn-und-heimatschutzfenster/ But only on this single page on my site. Here (http://sax-holz.ch/fenster/hebeschiebetueren/) for example, it is possible without any problems. Any suggestions?...

How do I modify the Bootstrap drop down navigation to work on iPad?

drop-down-menu,twitter-bootstrap-3,navigation
I am working on a Bootstrap site that has drop down navigation. The navigation works fine on the desktop version, but on iPad, if I have a live URL instead of a hashtag in the parent navigation, the drop down navigation does show and I am unable to access those...

Change colour of line hr

html,css,navigation,hover
This is my website.. I need that line on the third section to be black.. I used the hr tag and styled it as white on css because the page after it i need it in a white colour? so how do i style them differently? Sorry, im new to...

Changing the colour of link text that are not hovered while hovering over a link?

html,css,asp.net,user-interface,navigation
Quick scenario: I have a menu that has black anchors by default and when I hover over a link it changes to white using :hover, standard enough stuff. How though would I then change all the other links to darkgray whilst the link that is being hovered over stay white?...

Dynamic navigation links with Mysql, Php and Javascript

javascript,php,mysql,dynamic,navigation
My Javascript function actually works, but not on this code. I get all the content displayed, but the Navigation Links wont target my Iframe. Could anybody explain me what is wrong with my code? Here is my code: function goto(url) { document.getElementById("contentFrame").contentWindow.location.replace(url); } </script> <title>SOLSTEN</title> </head> <body> <div id="rubrik"><h1>SOLSTEN</h1></div> <?php...

Clarification on WPF Window.Show() and Window.Close() and how they work with Multiple Windows

c#,wpf,navigation,window
The issue I am having and looks like many people have had in the past when dealing with WPF is I want to either hide or close the MainWindow of the application when a new Window is open. The reason I want to do this is because making tabs for...

CSS / HTML Navigation and Logo on same line

html,css,navigation
I can't figure out how to put them on the same line. http://codepen.io/anon/pen/dovZdQ <body> <div class="navigation-bar"> <div id="navigation-container"> <img src="logo.png"> <ul> <li><a href="#">Home</a></li> <li><a href="#">Projects</a></li> <li><a href="#">About</a></li> <li><a href="#">Services</a></li> <li><a href="#">Get in Touch</a></li> </ul> </div> </div>...

MVC5/Bootstrap: adding to Nav doesn't push body content down

layout,twitter-bootstrap-3,navigation,asp.net-mvc-5.1
I am working in VS2013 U4 with an MVC/bootstrap website and when I add to the nav/menu, it's not pushing everything down, the top of the body is getting cut off. I have two sub-menus that show depending on what controller(s) the user's hitting. When they show up, it cuts...

Custom/common toolbar in Swift

ios,swift,navigation,toolbar
I'm quite new to Swift and am working on an app where I'm not sure how to setup the navigation. It works with a tab bar, except that I want the bar to display nomatter what view is being displayed. There are 4 "main" views that the user should always...

Building large menu that combines many other menus

php,wordpress,menu,navigation
Can I use following script to build my primary menu which includes items of many other menus? Example: my main menu looks like this - -1 --1.1 --1.2 -2 and I have many other menus with ID = (1.1, 1.2, ......), so while building menu on a webpage it should...

iOS 7 - Maintain view controller instance in Storyboard segue

ios,navigation,storyboard,segue,custom-transition
I have an interactive custom view controller transition based on a storyboard segue (push). The target view controller takes some time to be loaded as it contains a table with a lot of data; moreover when I leave this vc and come back, I need the table to maintain its...

Two navbars collapsed into 1 for mobile?

css,twitter-bootstrap,menu,navigation
I have two menus in Bootstrap 3 - a Social Menu and a Main Menu. When collapsed on mobile, I get two menu open/toggle buttons to open the corresponding menu items. Is there any way when collapsed, I can move the Social Menu Items into the Main Menu and use...

CSS navbar submenu closes when mouse outside of div height

html,css,navigation,navbar
I'm making a navbar with submenus for the first time. The problem is that the navbar has a set height it's supposed to take up. But the only way the submenus will work is with height: auto; which moves the content down the screen CSS #topnav { position: relative; padding:...

Android navigation drawer always open on tablet

android,navigation,fragment,drawer
I have seen many examples around, but I could not understand how to have the navigation drawer, always open in the tablet. I'm using this navigation drawer https://github.com/kanytu/android-material-drawer-template. I will have to create another xml file? and in OnCreate () what kind of code I need to add? public class...

navigate to back page in page based interface on event programmatically

objective-c,interface,navigation,watchkit
My application is page based, i want on one event my app swipe to left page programmatically.i tried using becomeCurrentPage method but how to use it in this case. please help. any suggestions will be appreciated. Thanks

Change color of Bootstrap background navbar

css,colors,navigation,navbar
I'm curious how to change the color of the navbar. I'm using bootstrap business casual. Here's the picture of the navbar whose color I want to change. ...

uncaught typeError: cannot read property 'querySelectorAll' of null

javascript,jquery,mobile,navigation,internet-explorer-11
I am trying to use this menu for mobile on a site. http://tympanus.net/codrops/2013/08/13/multi-level-push-menu/comment-page-8/#comment-466199 I have it working but one ie11 user is reporting an error and i am seeing the following error in console Uncaught TypeError: Cannot read property 'querySelectorAll' of nullmlPushMenu._init @ mlpushmenu.js:89mlPushMenu @ mlpushmenu.js:67(anonymous function) @ (index):1062 Here...

Centering navigation bar won't work

html,css,replace,navigation,center
I have made a navigation bar and I am trying to make it centered to fit all screens, with position absolute and then use left: 50%; and then place it by margin-left: 100px; to get it exactly where I want it. I have done this to all my buttons and...

Go back to unvisited page on IOS

ios,navigation,back
I am unfamiliar with IOS development, so probably a simple question: is it possible that the user presses the "back" button on the top, and go to a (so far) non-visited page? Here is the picture: On window "1" user presses a button, the next window is "2". But here,...

why is sliding drawer in android deprecated in API 17?

android,navigation,slidingdrawer
I am new to android app development. Using API19 in android studio 1.2. I found sliding drawer attractive to use in my app. But when I used it in design layout, i got to know that it is deprecated. Hint says it is unsupported and use your own implementation. Why...

How to get info about previous page on Frame.GoBack()

c#,navigation,windows-phone-8.1
Say we have some Page PageA and I have a button that, when clicked, does the following: Frame.NavigateTo(typeof(PageB)); After the user is done doing stuff, he navigates back from PageB to PageA calling Frame.GoBack() I want be able to determine that I'm navigating back from PageB I could use: protected...

DrawerLayout in Windows Phone

c#,navigation,windows-phone-8.1,drawerlayout
I created DrawerLayot in my Windows Phone app with a help of library DrawerLayout. All fine work in emulator., but when I run the application on my phone, he takes off. I noticed., this happens after the call Frame.Navigate(). what is the problem?

Unwanted animation of the NavDrawer when getting back to previous Activity

android,performance,navigation,navigation-drawer
I have a Navigation Drawer that launches activities when items are selected. Here's the problem: when I press back from an Activity, i get back to the previous Activity, but unfortunately i see an animation of the Navigation Drawer closing. This is an unwanted behaviour: i want to get back...

Mapbox: Marker Nav links outside of map

javascript,navigation,mapbox,markers
I have been trying to use the example on Mapbox.com for link navigation. marker nav I want to be able to change the js innerHTML to different properties in my own geojson i.e. change title to "editorname". I can get the nav links to reflect the correct properties, but it...

Android - Cannot find symbol variable drawer_open when implementing navigation bar

android,navigation,drawer
I'm trying to implement a navigation bar within my android application. However, my compilers complains with following errors: Error:(39, 25) error: cannot find symbol variable drawer_open Error:(39, 47) error: cannot find symbol variable drawer_close My code: import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.support.v7.app.ActionBarDrawerToggle; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view.MenuItem;...

How to set different size of navigation drawer in different values folder

android,android-studio,navigation
I want to resize the width of my navigation drawer between layout-large and layout-xlarge, so I've created different folders: res/values-sw480dp res/values-sw600dp But it doesn't work, so i tried: res/values-large res/values-xlarge But it doesn't work either: <fragment android:id="@+id/fragment_navigation_drawer" android:name="fr.solutis.solutis.FragmentDrawer" android:layout_width="@dimen/nav_drawer_width" android:layout_height="match_parent" android:layout_gravity="start" app:layout="@layout/fragment_navigation_drawer"...

Caliburn.Micro & Windows Phone 8.1: How to pass parameters to the navigation GoBack() method?

navigation,windows-phone-8.1,caliburn.micro
I have a WP 8.1 (native) app and I'm using Caliburn. Micro. In the MainPageViewModel I navigate to the another page, where I want to set some value to the MyObject (property on the MainPageViewModel) and push it back to the MainPageViewModel. So I navigate to the new page with...

Jekyll and Liquid for-loop

html5,for-loop,navigation,jekyll,liquid
I want to create a little side navigation vor on-page navigation. The site contains multiple images one above the other, the navigation is inside every single image and is linking to the individual id's. I am using jekyll with the liquid templating engine. To not hard code every single element...

multi site not showing the header/nav on one site [closed]

javascript,css,magento,navigation
so i have a multi site setup and everything seemed to run fine until the other day when one of the sites decided to not show the header/nav here are the two sites: https://allholders.com/ and http://marketingholders.com/ i think this happened after i combined JS/css but all my other sites are...

Nav bar does not take up full width of page when zoomed in

css,google-chrome,navigation,width,zoom
My problem can be seen here if you zoom into 110% or more on your browser. (It happens with Chrome, I'm not sure about other browsers). Basically, on the right side you can see a grey sliver of a few pixels after the 'contact' button when you zoom in. I'm...

JSF Page navigation using rewrite (Need to change browser url for navigation )

jsf,redirect,navigation,jsf-2.2,prettyfaces
I have my RewriteConfiguration class @RewriteConfiguration public class ApplicationConfigurationProvider extends HttpConfigurationProvider { @Override public int priority() { return 0; } @Override /** * map URL with resource */ public Configuration getConfiguration(ServletContext context) { return ConfigurationBuilder.begin() .addRule(Join.path("/page1/{param}").to("/view/page1.jsf?product={param}")) .addRule(Join.path("/page2/{param}").to("/view/page2.jsf?product={param}")) ; } } My managedBean @Named("myBean")...

Can't Navigate to next Frame [duplicate]

wpf,navigation,windows-store-apps,windows-phone-8.1
This question already has an answer here: Navigate to another page at OnNavigatedTo? 1 answer I've got a problem with navigate to next page in section: protected override void OnNavigatedTo(NavigationEventArgs e) { Debug.WriteLine("Test1"); Frame.Navigate(typeof(LoginView)); Debug.WriteLine("Test2"); } The method Frame.Navigate didn't work at all if only it's call in OnNavigatedTo....

How to navigate a car parked at some place

android,navigation
I was having a problem i parked my car in a crowded area. I was not able to find it in rush. Is there a way i navigate my car by using google maps or gps . Please guide me how to start with it . What i thought is...

How to show my layout below the navigation drawer?

android,android-layout,navigation,drawer
I have implemented the navigation drawer following this. After adding in my xml the activity is not showing the imageview in center position. Following is my xml file <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#2ba886" app:contentInsetEnd="0dp" app:contentInsetStart="0dp" >...

Some navigation links work, others don't. Relative URL path?

css,url,navigation
I'm just getting started with HTML and CSS and I can't figure out why some navigation links don't work. I'm building a basic website and the files are served on my local C drive under a folder called 'shirley'. Inside this folder I have: -index.html (landing page) -styles.css -an img...

Should I use an image map to create a navigation bar? If not, what would be a better option? [closed]

html,image,navigation,navigationbar,imagemap
I have recently started to learn web design, so, please bear with me if my question is a bit trivial. My question is: Should I use an Image map to create a navigation bar? If not, what would be a better option?

Navigation showing in wrong order

navigation,nav
I have my navigation shown like so: #header-menu #navigation { text-align: right; } #header-menu #navigation ul { display: inline-block; } #header-menu #navigation ul li { float: right; margin: 10px; display: flex; align-items: center; height: 80px; } #header-menu #navigation ul li a { text-decoration: none; color: white; font-weight: 800; font-size: 14pt;...

jquery animate height, “from bottom to top”, stop before top

jquery,html,css,animation,navigation
I am trying to toggle a navigation container/div with jquery. and i have the following code style.css #site-navigation { position: fixed; bottom: 45px; left: 30px; right: 30px; top: 50px; } .main-nav-toggle { display: none; position: fixed; bottom:0; right:0; z-index: 100; } .main-nav-toggle .icon { background: gray; color: white; font-size: 30px;...

How to seperate wordpress header navigation into side to side by edition Php files?

php,css,wordpress,header,navigation
I want to separate my WordPress menu navigation into both left and right, i have put the menu function into "functions.php" which added the menu from the backend, and frontend will be edited by the "header.php", but i couldn't retrieve the result, can anyone help me ? my function.php: register_nav_menus(...

Logo Issue/Challenge - Bootstrap Navbar

css,twitter-bootstrap,navigation,graphical-logo
I'm stuck on a small part of the logo, trying to make something different using Bootstrap's navigation bar. What I'm trying to achieve is the logo having a border bottom radius of 50px! (almost rounded), and all the other corners square. The issue here is the left and bottom part...

Overlapping inline elements that span container width

jquery,css,navigation
I am trying to create a "bookshelf" style navigation with overlapping elements in a container that is responsive. The number of books needs to be dynamic, I need their spacing to be based on container width, and number of books to create and offset for each book till it fills...

bootstrap responsive navigation. Toggle button position

mobile,responsive-design,navigation,bootstrap
I'm working on a responsive template and I can not sort this out!!! So.... My header and navigation HAS TO LOOk like this in mobile screen: But I'm struggling because the natural behave of the navigation, as you see in desktop size: The navigation is the grey bar, so when...

ios Navigation can't pass value to next Viewcontroller when I popViewController again

ios,navigation,push,pop
I have two ViewController (ViewController, ResultViewController). There have three button in the ViewController,and there have a back button in ResultViewController. In the ResultViewController I want to get the value from the ViewController passing. So I add the below code in the ResultViewController @interface ResultViewController : UIViewController - (IBAction)backEvent:(id)sender; @property (weak,...

ASP.Net datasource navigation

c#,asp.net,gridview,navigation,dataset
I've been looking for a while, and didn't find a proper solution; I'm trying to search in a DataSet (which is a source of a gridView) which consists of usernames & details in an ASP.Net page. If the user wants to find a specific row, he needs to insert the...

navigation drawer how to add image view above list view

android,listview,navigation,imageview,drawer
I am working on app where I need navigation drawer .I used the code of google to develop Navigation drawer <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent" > <!-- Framelayout to display Fragments --> <FrameLayout android:id="@+id/frame_container" android:layout_width="match_parent" android:layout_height="match_parent" /> <!-- Listview to display slider menu -->...

Navigate with routes (laravel blade.php)

php,laravel,laravel-4,routes,navigation
Hi there so I am trying to construct a navbar that will change the information being displayed. NOTE using laravel 4 The idea is to have one page where you enter information into a form and then another where you can then edit that form data but i cant get...

When creating a nav in SilverStripe, what is the number after $Menu?

navigation,silverstripe,template-variables
The below template code from one of the tutorials on the official SilverStripe website ("How to create a navigation menu") includes the template variable $Menu(1) What does the (1) mean? What happens if it gets changed to something else? <ul> <% loop $Menu(1) %> <li> <a href="$Link" title="Go to the...

Better way to handle navigation between ContentControls in WPF MVVM?

c#,wpf,mvvm,navigation,datatemplate
I am currently developing a C# WPF application and am trying to follow the MVVM design pattern. The way it is working now, is I am using a ContentControl in my main window and binding it to the CurrentViewModel, and declaring in App.xaml my datatemplates. When I want to change...

How to create a mobile navigation toggle using pure CSS?

css,css3,navigation,toggle
I have an old site. Now I want to make it mobile friendly. So I am trying to add a mobile navigation and for making it works I want to use pure css only. NO javascript. I am not allowed to add JS code to the files. I tried following:...

Show a floating navigation bar on scroll

javascript,jquery,css,navigation,blogger
I am using blogspot, and I wanted to exactly achieve this kind of floating navigation bar: http://apairandasparediy.com/ As you can see, when you scroll, the floating navigation bar shows as it slides down. All I know is make a navigation bar: <div id="floating-nav-content"> <div class="floating-nav"> <ul id="menu-floating-menu" class="menu"> <li>...</li> <li>...</li>...

CSS List Navigation: Align All Items Left, but Last Item Right

css3,navigation
I've got a simple list driven navigation that looks like this: Page 1 Page 2 Page 3 My Account I need 'My Account' to float right: Page 1 Page 2 Page 3 My Account Here's the list: <nav class="nav"> <ul class="menu"> <li>Page 1</li> <li>Page 2</li> <li>Page 3</li> <li>My Account</li> </ul>...

Magento: Navigation static page directly to specific product

magento,static,navigation,product
I would like to add a static link at the navigation bar that can link directly to a specific product. My site: http://www.ecosa.com.au/ As I only have one product listing under category "pillow", I wish to set it to go into the product directly, skipping the catalog view. Product: http://www.ecosa.com.au/pillows/100-cotton-pillow.html...

Adding a search function to the Android tab bar

android,mobile,tabs,navigation
We're developing an app on the Android platform. We currently have 3 tabs on the top for navigation. To save on space, it is permissible to add the search icon to the extreme right of the Tab bar on the top? Or does it against the Android Design Guidelines?

JS + changing element CSS + named anchors

javascript,css,navigation,anchor,singlepage
I need help with some javascript, cos I'm a total newbie at it. Basically the effect I'm working on is to have a nice landing page, with several links, and when the links are clicked, that whole initial "screen" should slide to the side and become a side-menu bar. I...

Can I loop through an array to change and elements attributes on hover

jquery,arrays,navigation,hover
This seems a little verbose, is there a better way of doing this? I'm using jquery to change a navigations aria attributes from hidden=true to hidden=false on hover (same for expanded). I'm sure this can be done in far fewer lines of code but i'm not quite sure how. I...

How do I DRY up this script?

jquery,css,navigation,dry
I have been plugging away at this navigation code, and I finally got the 1st layers of my menu to work. Yay! But I've noticed that my code ONLY works on the 1st layers. Well, kinda. Open menus are supposed to close when you click on a different menu. It...

Play framework page navigation issues

html,playframework,navigation
I am having an issue with page navigation: When I am on a page such as localhost:9000/data/userX/userhome, and I click the home button on this page, it is going only to one level backward and trying to open localhost:9000/data/userX/index. I have tried different route entries but didn't work....

EF4 update navigation property An entity object cannot be referenced by multiple instances of IEntityChangeTracker

entity-framework-4,navigation
I am trying to implement a let's say "change my account email address" fonctionality. I want to keep backup of all user emails in (R_EmailAddressHistory table). Here are some of my project's code. public bool ChangeEmailAddress(string username, string newEmailAddress, string callbackUrl) { DateTime currentUtcTime = DateTime.UtcNow; R_User currentUser = UserRepo.GetSingle(whereCondition:...

How to I get this element to span 100% of LI? [closed]

html,css,navigation
I'm working on this navigation bar, and I'm almost done, but I just have pretty much one issue that needs to be solved. My navigation uses jQuery and the code targets <SPAN> elements to open the submenus. My issue is that for some reason the span doesn't include the whole...

Is it possible to get Children of children in a SilverStripe menu?

navigation,silverstripe,template-variables
I'm putting together a 3 tier navigation menu in a SilverStripe 3.1 template, and have the following code in my template: <% loop $Menu(1) %> ... <% loop $Children %> ... <% loop $Children %> <li><a href="$Link">$Model</a></li> <% end_loop %> <% end_loop %> <% end_loop %> However I'm not getting...

The parent dropdown menu button does not navigate to href location

html,css,navigation,hyperlink,bootstrap
I have the following code for a drop downmenu on my site but when I click on it nothing happens. How can I get this to follow the href link? <li class="dropdown"> <a href="iaas/index.html" class="dropdown-toggle" data-toggle="dropdown">IaaS<span class="caret"></span></a> That is the parent item in the dropdown menu. The child items work...

Why navigation controller does not navigate in callback using Swift?

swift,callback,navigation,navigationcontroller
I have created a navigation controller and assigned it to my View Controller in Swift. I created the following method: @IBAction func btnLoginPressed(sender: AnyObject) { let userManager = UserManager() userManager.login(txtBoxLogin.text, password: txtBoxPassword.text, operationCompleteHandler: { (token: String?) -> Void in if let token = token { ApplicationState.ApiToken = token var mainView...

Open Navigator after clicked on a Rss Reader

java,android,android-studio,navigation,rss-reader
i have a news reader (using rss), it's work as well, now i'm trying to open the navigator after clicked on a news, but i don't know how to get the link (i just know that i have to use getLink() but i don't know where): Actualites.java public class Actualites...

UL LI 4 Column List: Center in each column

css,list,navigation
I'm building a footer navigation with four columns: <ul> <li>Top Level 1 <ul> <li>sub 1a</li> <li>sub 1b</li> <li>sub 1c</li> <li>sub 1d</li> </ul> </li> <li>Top Level 2 <ul> <li>sub 2a</li> <li>sub 2b</li> <li>sub 2c</li> <li>sub 2d</li> </ul> </li> .... (repreat 2 more times).... </ul> I have each of the 4 columns...

Path to a file up in the hierarchy

jsf,jsf-2,navigation
Here is file structure of my JSF application. User directory is secured & one needs to authenticate to see user/success.xhtml. user/success.xhtml has a button which is used to logout. That button submits form to following method. public String logout(){ HttpSession session = (HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(false); session.invalidate(); return "index"; } Last line of...

How to keep active state on anchor links?

hyperlink,navigation,anchor,active
Preview: http://cssdeck.com/labs/w7bzvb5r Is it possible to keep the navigation link active once clicked and inactive when not selected? I would like it to change color based on which link is selected. For example, on mouse-over it changes from black to blue. How can it stay blue when it is active...

Referancing form in DoCmd.SearchForRecord when using Navigation form - Access

forms,ms-access,search,navigation,subform
I have a Mainform with textbox and button to search subform record it works fine when i directly open Mainform and searching desire record but when i open my form in Navigaition form it gives me error. Download My Access Project What i have tried. Below is my code: Private...

Programmatically get navigation case from faces-config.xml by outcome

jsf-2,navigation,faces-config
Is there any way to get the <to-view-id> of a navigation case in the backing bean? Let's say I want to get the <to-view-id> from the outcome success, which is supposed to be page1.xhtml. Is there any helper function? <navigation-rule> <from-view-id>start.xhtml</from-view-id> <navigation-case> <from-action>#{pageController.processPage1}</from-action> <from-outcome>success</from-outcome> <to-view-id>page1.xhtml</to-view-id> </navigation-case> <navigation-case>...

How to remove left/right nav buttons from the super.simple.slider

javascript,jquery,html,navigation,slider
Hello I have a grid layout with sliders in most of the squares. As you can see below I have two parts to my jquery as I have two different sliders with 2 different effects. In one of the sliders I want to turn off the Nav buttons which I...

Owl Carousel 2 - hide custom nav (if 1 item)

javascript,jquery,navigation,hide,owl-carousel-2
I'm looking for a way to hide the Owl Carousel custom navigation, and to stop the "loop" functionality if there is only one item. $('.owl-carousel').owlCarousel({ loop: true, items: 1, }); owl = $('.owl-carousel').owlCarousel(); $(".prev").click(function () { owl.trigger('prev.owl.carousel'); }); $(".next").click(function () { owl.trigger('next.owl.carousel'); }); Fiddle...

Identify when MKRoutestep finishes

ios,navigation,mapkit,directions,mkpolyline
I am trying to implement a turn by turn navigation system in iOS using MKDirections API. I am able to get the directions of the route and can draw the polyline on the map, and when navigation starts the app start showing the instructions using the MKRouteStep object in Steps...

IOS app Nav bar back button

ios,iphone,button,navigation
I have looked at all the navigation bars on all the story board scenes of my app, and I have gone through all the view controller m. files and there is no mention anywhere of the navigation bars settings. The mystery is that I have two different pages, one where...

Customize a navigation menu C#

c#,asp.net,navigation
Simple question but cant find any answers. How do i make my navigation menu in my web app in C# look "cool". I can see how to edit it etc. But how do get to customize it. Do i need to get another program or something ?...

How to navigate from xib to other xib in swift?

ios,swift,navigation
I want to navigate from xib that controlled by swift class to other xib that controlled by objective-c class. Here is my code: let cb_main_noticeView = cb_main_notice(nibName: "cb_main_notice", bundle: nil) as cb_main_notice self.navigationController?.presentViewController(cb_main_noticeView, animated: false, completion: nil) ** It didn't work ** Note: cb_main_notice is controlled by objective-c class ...

wordpress submenu (subpages) takes menu (pages) style

css,wordpress,navigation,submenu
I am working in wordpress building a theme from scratch. I register the menu with this in my functions.php: register_nav_menus(array( 'primary' => __('Primary Menu'), 'footer' => __('Footer Menu') )); And then through the appearance>menu I create the pages (menu) or the subpages (submenu). Because I don't do much html here,...

Place navigation bar at bottom of header

html,css,replace,header,navigation
I have made a navigation bar which functions as I want it to, the only problem is that the bar is placed on the top of my black header, where I would like it to be placed at the bottom of the header. How do I fix this? My code...

Frame Navigate in Windows Phone C#

c#,navigation,windows-phone-8.1,frame
I use to move between pages Frame.Navigate(typeof(Pages.AccountSettins)); everything works well on the emulator. but it does not work on your phone! constantly knocks application. earlier all worked well. what is the problem?...

Style UL LI list so all elemetns are vertically aligned and flushed left?

css,navigation
I'm building a footer navigation with four columns: <ul> <li>Top Level 1 <ul> <li>sub 1a</li> <li>sub 1b</li> <li>sub 1c</li> <li>sub 1d</li> </ul> </li> <li>Top Level 2 <ul> <li>sub 2a</li> <li>sub 2b</li> <li>sub 2c</li> <li>sub 2d</li> </ul> </li> .... (repreat 2 more times).... </ul> I'm having trouble getting the top level...

WPF PRISM - Display multiple pop-up view on the same time

wpf,navigation,prism,regions
My Shell Window contains a secondary pop-up region from the Stock Trader RI demo application infBehaviors:RegionPopupBehaviors.CreatePopupRegionWithName="{x:Static inf:RegionNames.SecondaryRegion}" I am activating my views using the regionManager's RequestNavigate method: regionManager.RequestNavigate(RegionNames.SecondaryRegion, new Uri(FooView, UriKind.Relative)); Everything works fine if I work just with a single View. However in my case I want to have...

Javafx NavBar Issue

java,javafx,navigation
I've been using javafx for the GUI in one of my projects. It is supposed to have capabilities of adding entries, deleting entries, viewing entries, modifying entries, and searching through the entries. I've accomplished all these things, and have been trying to make the GUI cleaner, by putting a navbar...

Mob Nav Disappears After Window Resize

jquery,css,navigation,nav
When I toggle mobile menu up and down and then resize window, my web menu is gone, despite declared "display:block". What am I doing wrong? CSS: #nav { display: none; } #toggle { background-color: #FF9; width: 100%; } #toggle::after { content: "≡"; float: right; } @media only screen and (min-width:...

ANDROID: Simple Up Navigation Not Working

java,android,navigation,up-navigation
Up Navigation in Android is not working. All I want it to do is go back. However everytime I click the back button it closes the app. I followed android developer. My error log doesnt even say anthing useful so I have no idea why this is happening. My first...

Why is my UL sub-menu taking the background of it's grandparent?

html,css3,background,navigation
I'm working on a menu and on small screens I have it using gradients for backgrounds. There are 4 levels to this sub-menu, and each have their own color backgrounds. But for some reason my 4th level sub-menu is taking the background color of the 2nd sub-menu (it's grandparent) instead...

How to keep nav bar from shifting elements to next line when zooming in?

html,css,google-chrome,navigation
Edit: solved by jirikuchta! I added white-space: nowrap; to #navigation in my CSS. Read on for more information on the problem that was fixed. Hope it can help someone else out there! I've seen this question a hundred times over the internet over the past few days trying to fix...

Bootstrap button and navigation bar not working

html,css,twitter-bootstrap,button,navigation
I'm a noob in this kind of thing, I don't understand what thing I'm doing wrong. I don't get a button nor a navigation bar; all I get is a small button that doesn't do absolutely nothing and is not with the color that I put in my CSS. My...

Breadcrumb looking Tabstrip for navigation

android,view,navigation
I'm trying to find out how to create this: https://365webresources.com/wp-content/uploads/2013/10/Creating-A-Flat-Style-Breadcrumb-With-Pure-CSS3.jpg My Question: Where do I start with this? I'm not really sure where to begin as searching Google for 2 hours has gotten me nowhere. So far I've come across the following: FragmentBreadcrumbsand ViewPagerbut neither seem to have the design...

Nav Drawer Home Button does not open drawer after opening another activity and going back

android,navigation,navigation-drawer
I have a particular situation where, I have a parent Activity which extends ActionBarActivity in that Activity I declare and initialize my DrawerLayout with all the boiler plate code for implementing a Navigation Drawer Then to save time I created new Activities which extend this DrawerActivity in my code so...

Javascript to change class in

javascript,asp.net-mvc,twitter-bootstrap,navigation
Based on the size of the window, I'm trying to alter the class of a tag: <ul id="navul" class="nav navbar-nav"> and making it instead be: <ul id="navul" class="nav nav-pills"> This is what I am trying, and isn't working: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function () { $(window).resize(function () { $("count").text(x += 1);...