navigation

Ruby on Rails simple_navigation Gem

I'm using the simple_navigation gem with RoR 2.3.5 It all seems to work correctly, I followed the info in the RDoc (seen here http://rdoc.info/projects/mexpolk/simple_navigation) However, when I actually render out the simple_navigation menu on my main application.html.erb file it escapes all of the html in it (multiple escapes actual...

Silverlight NavigationService Is Always Null

I read that a few people were having a problem with this so I wanted to post a (somewhat) elegant solution I came up with while trying to deal with this. The problem is when you create templated pages in Silverlight and the ContentControls do not have the parent Frame's NavigationService (it's always null when you try and use it). There ...

c# ListView focus on second column

I have a ListView with several columns, let's say column A,B,C,D in that order, sorted by column A. In long lists I could press a letter on my keyboard and scroll down to the first item in column A that begins with the letter pressed. A new column has been inserted at the beginning, yet I still want to be able to press a letter on my...

Is it possible to integrate Google Maps with the directions and the Transit layer into an iPhone app?

Sorry if this question is obvious for some of you. I know we can link to the existing Goggle Maps app, but I would like to have an app that does not exit and provides the direction within. I intend using GTFS for public transit. On the other hand, would it be possible to plot a line inside the iPhone app the results as returned by Goo...

XML jquery shortcuts

I am writing a bit of code that appends my site nav with and extra ul that gives a description about where that link takes you. I need to use our CMS's built in Nav structure so appending via jQuery was the best solution, and XML makes the data easier to manage. My question is this: is there a more efficient way to write out the js? What...

jQuery prevent action to be executed before it starts

Hello all, I am having a small problem. I have a nevigation build which opens when mouse is over, but also listens to keypress, than firing same animation as if mouse is over, just additionally opens the submenu. Now, when keypress is active and I am going with the mouse over that navigation, it fires the closing action before I can cli...

Wordpress: Check if there are previous posts before displaying link

I'm using the following code to display a 'previous posts' link on my Wordpress blog. <nav> <ul> <li><?php previous_posts_link('Newer Entries &raquo;') ?></li> </ul </nav> Problem is, when there ARN'T any previous posts, while the link doesn't display, I still get <nav> <ul> ...

Utilizing Frames/Pages and Composite Application Guidance (Prism) in Silverlight Solution

Is there any way to use pages/frames in a Silverlight Composite Application? I have previously created a Silverlight Application that utilizes System.Windows.Controls.Navigation.Frame and System.Windows.Controls.Pages. Here is the key piece of code: <navigation:Frame x:Name="FrameMain" Source="/Pages/StartPage.xaml"/> I am trying to ...

How should i use navigation properties while writing a query using eSQL?

i am trying to write a query using eSQL where in my entity has got navigation properties. i am not able to include these navigation properties in the query. Like in Linq to SQL we have this .Include method, how will it be possible in eSQL? ...

Navigation Controller Views in Landscape

Hi, I have set up a navigation controller ( navController ) in Portrait mode to which I push all the viewcontrollers I have. Now when a user switches to Landscape mode, I need to display all the views as a coverflow. For this I use [navController viewControllers] to get all the view controllers in the stack. In the Landscape view contr...

PHP Include Windows XP Notepad++ Editor - Nav Include Not Working - Nav Disappears

I am creating a website, and have a tabbed horizontal menu. In order to cut back on the number of files I have to edit when I have to make changes to the menu I want to put the navigation in a separate file that I can call using a PHP include statement. When I do this, however, the nav disappears entirely from the page. The rest of the c...

What does the Navigation Sharepoint Sitemap/Breadcrumb use to populate links?

I am building several layered site and the breadcrumb is skipping in-between sites. Main Site > Current Site I would like it to show, as I've seen in other sites Main Site > SubSite > Current Site Main Site > SubSite > SubSubSite > Current Site ...

Comparing route to current request in Symfony

For my site navigation I'd like to indicate the current page. If each page in the navigation has its own route is there a way to see if the current request matches the route? Something like: $request->getRoute() == '@my_route' Or, more generally, is there an idiomatic way of setting the active page when creating site navigation in Symf...

Silverlight Navigation using Mvvm-light(oobe)+MEF?

What is the best approach for navigating between UserControls/Pages(out of browser experience)? I'm fairly new to Silverlight and even newer to the mvvm pattern. How well does the Navigation Framework Integrate with the MVVM Light Toolkit? A snippet for general application flow control with the two would be great. The plan was to use...

ASP MVC Sitemap with MvcSiteMap

MvcSiteMap - http://mvcsitemap.codeplex.com/ Is it possible to create such links in a sitemap with MvcSitemap? I can create a simple sitemap but not one with the link below.. www. ... .com / Eventname / groupID /Tasks/ Details/ taskID Eventname, groupID, TaskID are dynamic. If not is there another solution for my problem? TY in adv...

Eclipse's Visual Studio Ctrl+Tab and Ctrl+Shift+Tab Equivalent

In Visual Studio, I always use Ctrl+Tab and Ctrl+Shift+Tab to navigate between documents. I see that Eclipse has Ctrl+F6 to navigate between editors, but this isn't nearly the same behavior. The difference being, pressing it once and then again will get you moving back and forth between two files, whereas in VS, it will cause you to navi...

Auto-Selecting Navigation works for active page but how to add class to parent menu items?

I am following this article http://docs.jquery.com/Tutorials:Auto-Selecting_Navigation I am able to successfully add a class to the active page li menu item but does anyone know how to modify or add to this script so that any parent menu li items also get the active class? I would like to avoid having to add ID's as the menu items will...

How to use a ListView and a ViewFlipper to navigate user in an Android app?

I want to set up some menu-like navigator for my app. There is a listView in the main page and it contains two items, click each one will show its child view with ViewFlipper, and if user clicked the back button, he will return to the homepage again. The question is how to make it, I can only use ViewFlipper to flip to next screen or ...

jQuery: looking for a lightweight vertical slide navigation plugin

hi all, i'm having a vertical navigation in my website (items below each other) and i'm looking for a menu script (i think it's called accordeon style) when clicking on a menu item all subitems should slide out and the rest of the navigation should also slide down. thanks ...

Does rails have a previous_path/url ?

If not, is there a gem I can install that lets me do something like: <%=h link_to "Back", previous_path %> ??? ...