Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 21st, 2004, 11:57 AM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default External Javascript to determine Navigation

Here's the deal. I am communicating with a back office Unix server that has differing software flags turned on or off. I am building wizards using html and javascript to interface with the setting up of certain options on this server. There are certain options that are not available based on their config. As it stands now, the customer would have to go through the wizard and setup options, even those that do not affect them. I want to make this as quick and painless as possible. So here is what I would like to do...I want the wizard to look to the Unix server, figure out what they do and do not have on their config then take them theough only the options flags that pertain to them. I have the code done for seeing what their config is and we have the individual options pages done. So now I need to figure out the navigation. At the bottom of every options page is a submit button that sets the option and takes them to the next option. How do I dynamically set this to go to a page based on their config? Right now it is set statically. Do I build an external js file that has the htm file names and build some code to look at that or what. I know this is long winded and due to that and space, I am not posting code, but please let me know what code you want to see and I will post.

Thanks

Clay Hess
__________________
Clay Hess
 
Old May 21st, 2004, 02:43 PM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maybe some simplification would help...

I simply want to know if anyone has done anything with assigning navigation to buttons dynamically? The pulling of the info, I will ask in another post.

Clay Hess
 
Old May 21st, 2004, 03:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

What kind of navigation? Are you referring to click events? If what you are talking about is a property, you can use javascript to access anything on the web form.

Brian
 
Old May 21st, 2004, 03:42 PM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Basically I have several htm pages that have submit buttons on the bottom of them that perform various tasks and then take the user to the hext htm page. I want to vary the htm pages that it takes them to dynamically.

Clay Hess





Similar Threads
Thread Thread Starter Forum Replies Last Post
Query string to a external javascript file anujrathi ASP.NET 1.0 and 1.1 Professional 1 November 4th, 2006 01:26 AM
External JavaScript with XSL NEO1976 XSLT 2 September 5th, 2006 07:19 AM
external CSS in JavaScript code webdesign Javascript 1 September 1st, 2006 04:35 PM
External Javascript indexed by search engines? Sushifiend3000 Javascript 1 November 27th, 2004 09:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.