navigation

Are there any tabbed navigation plugins or gems you would recommend for Rails?

I am going to develop a Rails application and the designer wants to include tabs as part of the interface / navigation (probably it will included nested tabs). Are there any places you would recommend I look, as I guess this has all been done before. Thank you. ...

Representing application navigation

I have a complex application with many pages. Each page can have many possible routes to other pages: 'A' can go to 'B' or 'C', 'B' can go to 'A' but not 'C'. etc. Rather than embed this "where to go to next" logic in each page (horror!) I of course want to encapsulate it in a main point of control. 'A' doesn't need to know about 'B' ...

IE 6 does not recognize the current page

I am using a simple list as navigation which brings up the appropriate background image depending on the state of the link normal, hover or current. In IE6 the current or actual page is being ignored, not displaying the different image and leaving the link active. The code is - <div id="mainNav"> <ul> <li><a href="../index.html">H...

How to navigate a datagrid using key presses?

It seems to me I remember that my DataGrid was once able to take me to the first row of a sorted column with the text starting with the same letter as a pressed key, i.e. type 'k' and the cursor would be located at the row with 'Kenny' as the contents. I don't know if I've accidently disabled this property or am confusing this feature wi...

How to prevent Eclipse from showing the opened file in package explorer

Hi, somehow I've ended up in a situation such that when I navigate through source files with Eclipse, the Eclipse always selects (and expands) the opened file with package explorer. With this I end up losing my location on Package Explorer Having my Package explorer expanded and pretty confusing. With brief googling/exploring on th...

Best jQuery drop-down nav Suckerfish alternative that works with Flash?

I think that my Suckerfish drop-down navigation does not play well with flash. I've done everything I can think of, yet my drop-down navigation keeps displaying underneath my flash movie. If I replace the movie with an image, it displays just fine. Only when I use a flash movie does the navigation display underneath the flash movie. I ha...

How to programmatically navigate WPF UI element tab stops?

Can anyone tell me how to programmatically navigate through all UI element tab stops in a WPF application? I want to start with the first tab stop sniff the corresponding element, visit the next tab stop, sniff the corresponding element, and so on until I reach the last tab stop. Thanks, - Mike ...

WPF: Jump/navigate to next data error using programmatic keyboard focus navigation

I've built a WPF application. All of the UI elements except the Window are created in response to data binding. Thus, I set the DataContext of the Window, and voila -- a very large hierarchy of UI elements materializes on the screen. The UI contains lists of panels with lists, labels, more panels, textboxes, checkboxes, you name it. ...

Locating the first WPF tab stop

Thanks to an answer on a previous question (Previous Question), I now have a body of code that navigates WPF tab stops (shown below). It works fine except for the first tab stop. Calling this.MoveFocus(...First) and followed by FocusManager.GetFocusedElement returns null. Any ideas? How do I get the first tab stop in my window? Than...

Scrolling problem in Blackberry application

Hello, I am not able to scroll through the application screen using trackball. I am using Blackberry Pearl 8100 simulator. Please help. Thanks in advance. ...

How to build a compass with the iPhone?

Hello, After some searching on Google, I ask myself: Is it possible to build a compass (simple showing the heading/direction) with the iPhone 3G's GPS sensor? I have the suspicion, that this is only possible, if the device is moving. Any ideas are appreciated. ...

Javascript: Check if the user is navigating away with a form submit or a simple link click.

I need to do remind the users something when they are leaving the page, and that can be handled with the window.onUnload event. But I also need to check if the user is navigating away by submitting the form on the page, or by clicking the navigation links. I could use the form's onSubmit event to set a flag, and then check against that f...

Call UIViewController from "subview"

Hello, I have a UIViewController which when it loads it loads up this.. MapViewController *mapController = [[MapViewController alloc] initWithNibName:@"MapView" bundle:nil]; self.mapViewController = mapController; [self.view insertSubview:mapController.view atIndex:0]; [mapController release]; I also have a switch views b...

Adding history support to ASP.NET / jquery web page

Hi, I've implemented a web page that loads content dynamically from the server via the jQuery.form plugin (for form POST requests) and via the standard jQuery load method (for all other requests). Now I'd like to add history support, to properly support the back / forward browser buttons. I've managed to do this for simple links, but ...

Can I optimize this PHP Script further for Generating a Dynamic Nav from MySQL Database?

I'm working on a new CMS to use on repeative projects. Basically this chunk of code connects to a server, grabs all the names of the tables and uses them to generate a simple navigation. It works pretty great for what I need however I'm just wondering if maybe I can optimize this code sniplet even more and make it even more simple. Ma...

wpf navigate form to form?

In the entry form of my wpf application, I have a list of buttons where the user can select where he wants to do, eg. enter new customer, run report... What is the best way to show the form (e.g enter new customer) after the user selection? I don't want the form to be a pop up. Also hiding the current work and show the next form will ...

Change to another view from tableview with a navigationcontroller placed in a tabbarcontroller

Hello experts! I recently found a good tutorial about how to place a navigation controller within a tabbarcontroller("The nib way"). http://twilloapp.blogspot.com/2009/05/how-to-embed-navigation-controller.html I continued with the second step and added a tableviewcontroller to the navcontroller. What I don't understand, is how I can...

Fast clicks on nav menu causing fadeIn of multiple divs

I'm having an issue with a script (my first try at jQuery) I wrote to fade in divs using a nav menu. If a user clicks different buttons on the nav menu quickly, it loads both divs over top of each other. Here is the code: $(document).ready(function(){ $("#about-button").css({ opacity: 0.3 }); $("#contact-butto...

Simple menu-like navigation in WinForms

Hello everyone, I am writing a very simple WinForms application with few data-entry forms. But before the user gets to these forms, she has to select which action to take (ie which form to open, possibly after entering a search query). As this application is a rewrite of a legacy custom DOS FoxPro app, the user wants the UI to be as sim...

Silverlight Navigation and Authentication service

I am creating a silver light application using Navigation app template. It is for internal use and hence uses windows authenticatoin. There is a dashboard page which shows couple of records filtered by logged in users id. To get the user id (which is an int) I call a web service by overriding the GetAuthenticatedUser and pass the usernam...