navigation

JSF2: Using EL in navigation rules. Redirect on timeout?

I am wondering the following: When a request comes into the JSF servlet, is it possible to redirect to a session timeout page if a session bean indicates that the session has not been logged in? For example: <navigation-rule> <from-view-id>*</from-view-id> <navigation-case> <if>#{not userBean.loggedIn}</if> <to...

Silverlight Navigation - how to override Back button behavior

I'm trying to override the default behavior of the browser's back button in Silverlight (v4). Each of my XAML pages has an ability to show options. I want these options to be hidden when the user presses the back button, or to move to the previous page if the options are not visible. The Silverlight Frame seems to set back and forward po...

Building static nav in concrete5

I've inherited a site built with the CMS concrete5. I'm just starting to dissect it but was hit with a wicked short deadline on a complete overhaul to the nav. So, I want to build out a static nav and then go back when I have more time and integrate it with the auto-nav. Does anybody have experience working with concrete5? If so: W...

Silverlight Navigation Menu

I am using the Silverlight Business Application Template. The navigation consists of a few HyperlinkButtons in a StackPanel. I would like to create a more robust navigation menu (multilevel) with dropdowns and such. Telerik has one for silverlight (http://demos.telerik.com/silverlight/#Menu/FirstLook) I don't want to use Telerik cont...

Breadcrumb Navigation For Cocoa

Is there an open source implementation of a breadcrumb navigation for the Cocoa framework? Those path bars seem to gain more attraction these days (used in Transmit or Instinctiv) but the implementations I found are closed source. ...

Generate navigation from a multi-dimensional array

The question: How do I generate navigation, allowing for applying different classes to different sub-items, from a multi-dimensional array? Here is how I was doing it before I had any need for multi-level navigation: Home Pics About and was generated by calling nav(): function nav(){ $links = array( "Home" => "...

Trying to create a JQuery menu with a submenu that slides up on hover, and slides down when mouse exits

Hi, I've found someone with a tutorial showing what I'm essentially after, however, the demo is for a submenu that slides down instead of having the the submenu slide up above the menu item. Here is the link to the tutorial: http://www.darkscarab.com/blog/read.php?id=14 Here is the jQuery script it uses: $(document).ready(function()...

Dynamic vertical menu for Wordpress

Does anyone know how to achieve a dynamic multi-level page menu for Wordpress? I have found a couple scripts but none of them put the subpages directly under the parent page or some will show every subpage to the entire menu Example: page1 (selected) –subpage1-1 –subpage1-2 page2 page3 This code comes close by inserting the subpages ...

Nested <ul><li> navigation menu using a recursive Python function

Hi. I want to render this data structure as an unordered list. menu = [ [1, 0], [2, 1], [3, 1], [4, 3], [5, 3], [6, 5], [7,1] ] [n][0] is the key [n][1] references the parent key The desired output is: <ul> <li>Node 1</li> <ul> <li>Node...

Disabling normal link behaviour on click with an if statement in Jquery?

I've been banging my head with this all day, trying anything and everything I can think of to no gain. I'm no Jquery guru, so am hoping someone here can help me out. What I'm trying to do in pseudo code (concept) seems practical and easy to implement, but obviously not so =D What I have is a navigation sidebar, with sub menu's within so...

[Silverlight, Navigation] Layout of elements added to a tabcontrol on a different navigation page wrong.

Hello, I am developing a Silverlight client using the provided navigation template for an imageboard I developed. I have a "search" tab which lists all searches for tags which were executed. I also have a show post tab which shows (also in tab-form) posts, opened from the search tab. When I open a post from the search page, it instan...

Passing parameters among views in a navigation frame INSIDE a custom control

I created a silverlight 3 application with a navigation frame and 3 views: search, add and edit. I used the app file to pass parameters among the 3 pages, eg: ((App)Application.Current).SNIPSELECTED = currentSnip; Then in the receiving page: currentSnip = ((App)Application.Current).SNIPSELECTED; currentSnip is a SnipItem object: ...

How to get the current project directory or the bin directory and move a few level up?

I have an ASP.Net MVC app, and i have some xsl files inside of the Content directory. I've try a few methods to get directory dynamically buy keep on coming short. So how do i get the directory to point to the Content/xsl folder? the closest that i came to was with this: this.GetType().Assembly.CodeBase which only returns the proje...

html multiple frames navigation

Folks, I want to create a webpage with three panes (frameLeft, frameMiddle, frameRight) The content on leftmost pane is a list from file list.html Upon clicking on an item in the leftmost pane, it loads the corresponding html file (call it listLvl2.html) in the middle pane. This is also a list. Clicking further on an item in the midd...

Making .net navigation menu role specific

Hello all. I'm currently using the good ol login control, .net membership & role providers for a web app I'm building. I have a tabbed navigation menu that I want to make role specific i.e. everyones sees 'Home', one role would be able to see additional tabs, another would be able to see three, etc. Doe sthe allow for such a thing? H...

Pass string from tableviewcontroller to viewcontroller in navigation stack

How should I pass a string to the view controller that gets pushed when a tableviewcell is selected. Should I create a custom init method in the view controller? eg [[myvc alloc]initWithURL:...] Set a property? eg [myvc setURL:...] or myvc.url = ... or just create a custom method? [myvc setLoadingURL:...] ...

Jquery slideViewer nav above gallery

Hi there, I'm trying to get slideViewer 1.2.js to put the clicker navigation above the actual gallery container, instead of after it. Simply changing line 40 from .after to .before breaks it (can't click on image to trigger the next slide anymore..) I don't fully understand what happens from line 41-52, I suppose it finds each list ele...

How return a value from view2 to view1 when using navigation bar

Hi All, I am New to the iPhone Development. How can i carry a string value from view2 to view1 when using navigation bar. I have no problem in carrying string values from view1 to view2 to view3 to....by using pushviewcontroller But when i come back to previous views using Back button of navigation bar, I cannot able to hold string v...

Help with PHP recursive navigation list menu

Hi all, I am trying to add a dynamic recursive navigation list menu to a site of am working on. The scenerio is that the menu has 2 levels related by a parentid(preid). My issue is that I can display the 1st level list correctly, however I cannot get the second level to display properly. I am not sure where to add the UL and /UL tags f...

How to build a custom tab navigation in jquery?

I am trying to build a navigation/menu system in which users can create custom tabs similar to yahoo mail. To be more descriptive, a user would have a fixed set of tabs when on the menu and then add tabs to the menu and navigate freely within tabs keeping context. I would prefer to do this in jquery but am open to other frameworks as we...