Best Way To Display Selected Menus?

what is the best way to highlight menus...as in like being in a particular section? like this:

my menu is database driven and in order for me to show it selected, i have to put something like menuid=12 a querystring.

case.asp?caseid=1323&menuid=12

this is what i'm doing so far but it seems terribly inefficient. does anyone have any suggestions?

View Replies


ADVERTISEMENT

How To Display Selected Images On New Page

I am creating a form with checkboxes that contains in the value property, the ID of the image. The filename of the image displayed above the checkbox along with the image.

On that page, I am storing the "checked" information in a cookie. When the user clicks submit, I need to retrieve the actual image that they selected on the previous page and display it along with the image name which I get from the value property.

Right now the only data being passed is the value in the checkbox input tage which is a text string and not the actual image. How do I retrieve the images my users checks off. I hope this make sense. Sort of like a shopping cart, but I only want to be able to select images and post back the ones selected.

View Replies View Related

Display Drop Down Options Based On The Selected Item From Another Drop Down

The code that I have has 2 drop down boxes dd1 (visible) and dd2 (hidden). Based on the option selected in dd1, dd2 should be visible and populate options. I think I can have OnChange script but how could I return the value and put it in the SQL query (see variable in red in thecode)? Code:

View Replies View Related

Nav Menus

Im putting my website together, and I have made some simple text buttons that are aligned across the top of my page from left to right.Anyway, I have with this navigation a need to have more navigation options, which I hope to gain by having sub-menus appear when you roll over the button.

What I mean is how do I or can someone point me to a tutorial that will allow me to have a dynamic drop down menu generated via asp with data from a access databse that will allow the user to navigate to that sub menu content.

View Replies View Related

Pop Up Menus

Hope you can help with a small problem I am having. I have a very simple table displayed on a page -

ID Name
1 x
2 y
3 z

and what I am trying to do is this - Roll over the ID number and display a pop up menu (which has more links to run other ASP scripts) and pass the ID number from the original page, though the pop-up menu and into the final ASP script (as selected on the popup menu) as a parameter for an SQL query.

View Replies View Related

Drop Down Menus

I want to have a drop down menu, that when you select an option, loads data from the database into another drop down menu. So that's one part I don't know how to do. There will be a total of three options from the first dropdown, which represent different tables in the same database. So that's the other problem, how to load, depending on the table selected, into the drop down menu.

View Replies View Related

Select Menus

I am trying to figure out how to pass one selectedIndex value to another select menu on a subsequent page without opening the page in a new window. I know how to pass information from one text field to another using Request.form or a Session, but I am not certain how this works with select menus. I have seen other examples that require you to open a new window, but again I would prefer not to do this.

I have two different select menus. This appears on the first asp page.

<form class="fbox-form" name="form" action="" method="post"

<select name="movietype" onchange="this.form.action=this.options[this.selectedIndex].value">
<option value='' "> </option>
<option value="dvd.asp">DVD</option>
<option value="tape.asp">Tape</option>
<option value="reviews">Revews</option>
</select>

<select name="area">
<option value=" ''> </option>
<option value="North">North</option>
<option value="Southwest">Southwest</option>
<option value="East">East</option>
</select>

<input name="continue" type="button">

</form>

The next page has the exact same select menus as above and I would like it to populate the same value the user chooses from the first form page. I should state that the first select menu does redirect the user to different pages, however it should not matter because the above options for the select menus are consistent on all the pages the user is redirected to. I'm assuming the answer to my query will consist of utilizing ASP and JavaScript, however if not, I'm still game.

View Replies View Related

DB Driven Pop Out Menus

Does anyone know where I can find any resources for dynamically creating pop out menus using a database backend for the links?

View Replies View Related

Drop Down Menus In ASP

I am trying to write a function on a navigation page so I can just include the nav page on my other asp pages this way I only need to edit one file when I need to update the navigation system.

The problem I have is that if I try and do this with the response write statement how I can't use " inside the strings i.e

sub dropnav()

Response Write "<form name="form1">"
Response Write "<div align="right">"
Response Write "<select name="menu1"

etc etc

end sub

How do I store " inside a variable called say SP so I can do this?

Response Write "<form name="&SP&"form1"&SP>"

I am am guessing there must be a way you can store an asci value into a variable. But what is the command for this and what is the ascii code for "?

Finally is there I way I can write a drop down menu purely in ASP so I can avoid putting the HTML code inside strings?

The reason I have to have it the ASP code is simply I want to call the function that outputs the drop down menu in other pages, if I did not do a function it would not work as it would output the drop down menu at the top of the or whereever the include statement is.

View Replies View Related

Search Using Drop Down Menus

I have a search page with 5 drop down menus(where data pulled from access database.

how do i give the select query , which will bring out results depending on the search critieria/fields set by user.

for example

the fields are first name, last name ,city, age,education.

if a particular city is choosen i want al the rows that matches the city filed.

if age and city are choosen .i want the results which has the age in that particular citty.

View Replies View Related

Creating Vertical Menus

Can anybody help me create a VERTICAL Menu bar please.

View Replies View Related

Performance On Drop-down Menus

I have a simple data entry form that has text boxes and some drop-down menus per row. My problem is the performance of the page.

I give the user the option of displaying 25, 50 or 100 rows at a time. Each row has 12 text boxes and 4 drop-down menus. The OPTIONS for the drop-down menus are being populated with data from our MS SQL database.

I'm using VIEWS to get the data and place them in recordsets, but how can I increase performance. It's taking way too long for the page to load and if the user clicks submits.. that takes a long time too.

View Replies View Related

Drop Down Menus And Value Changing

I have an asp form that submits information to a database. On this form, I have a drop down box with about 15 options, each with thier own value. The selection is down a bit in the form, after user fills out certain information.

On the same form, I have a hidden value stated for "assigned_to" field. Most of the options in my drop down menu need an "assigned_to" value=35 and one option needs an "assigned_to" value=40 . How can I do this?

View Replies View Related

Dependant Drop Menus

How do I make a dependant drop box? For example, when a user selects Item5 on the first drop menu the second one populates with the options for Item5? I know it will probably use Java of some sort but I do not know the code.

View Replies View Related

Linked Form Menus

I currently have a page with car manufacturers in a dynamic form menu. Users can select one and click submit to find available cars by that manufacturer. What i now need is a second menu on the page where when a manufacturer is selected, the models associated with that manufacturer display for a user to choose. For example if Ford is selected:

Menu One Menu Two
------------------ -----------------
Ford Focus
Fiesta
Ka....

Can i do this with ASP to say "if menu one is ford, menu two contains...."? Or is there a much easier way which i am somehow missing?

View Replies View Related

ASP/JavaScript Dependent Dropdown Menus??

i'm trying to create a dependent dropdown menu based on two objects, packages and steps (the steps dropdown will be dynamically updated/populated when a package is selected). the site uses ASP and since ASP is server-side, i am using JavaScript to handle the client-side "dynamic" change.

i've found several snippets of code that create the dependent dropdown; however, the two examples i have use arrays which are statically defined. the data that will populate the dropdowns is coming from a SQL database, and that data will be updated/changed fairly often. my question is this: is there any way to generate the arrays using ASP (outside javascript tags) and use them in the javascript?

or is there a way to use javascript to generate the correct arrays and fill them with data from my SQL tables? can i use a recordset ojbect in javascript? i have heard that you may use PHP inside javascript tags, but i'm unsure if that is what i want to do.. especially since i am using ASP as the main language for this site. Code:

View Replies View Related

How To Create Menu With Sub Menus Dynamicly

I've got a problem with asp.net i am trying to make a menu control. and have
searched the web for serveral controls but they don't work correctly.

I am pretty new to asp.net building. What am i looking for. i am looking for
code to make a dynamical menu with submenus The menu items are stored in a MS
SQL Table and when by loading the page the items will be created. i have made
a asp table. i want my menu on the left cell, in the middle cell i want to
change my pages to the menu item choosen. Code:

View Replies View Related

Parent-Child Form Menus

I have two menu form elements that need to refelect a parent child relationship. There are 85 zones and 2200 zone-network combinations.

I want to bind the networkid element to an xml datasource that contains only the networks related to that zone. I have read about something like this before but have never implemented it.

create table tblZone ( zoneid int, zonename varchar(20))
create table tblNetwork ( networkid int, zoneid int, networkname varchar(20))

<select name="zoneid" onChange="reloadNetworks()">...</select>

<select name="networkid">...</select>

View Replies View Related

Jump Menus To Query String

I have four pull-down menus and a GO button. Each menu contribute a parameter to an URL query string (like asp?a=1&b=2&c=3&d=4) where variable a is return from menu1, b returns from menu2 etc.

I created the four menus using Dreamweaver's INSERT JUMP MENU function and I find it difficult to modify its auto-generated javascript code to suit my needs. Does anyone has the complete code to accomplish this?

View Replies View Related

Keep Value Selected

Drop down value is selected and a query is performed on that value - I want the selected value to stay in the drop down field. Right now it goes back to the first value in the list once the submit button is clicked (it queries correctly).

When I come into the page there should be no value in the drop down list and when a value is selected it should stay in the field.

View Replies View Related

Option Selected?

I have a form named: 'formhandheld' and a select with the name: 'pricing_option'.

I'm trying to make the select <option> thats based on 'axDD3current' selected.

what's the code ? Probably more of a JavaScript question than ASP

document.formhandheld.pricing_option.options[<%=axDD3current%>].selected;
the above doesn't work

View Replies View Related

Catch The Selected Value

I have 2 drop down lists here. Supposingly, upon the selection of the 2nd drop down list, I should be able to see textbox entry allowing user to update data being displayed at the bottom. But in my case here, i see no response upon the selection of "selType" which is my second drop down list.
But both also don't work. So any suggestion on how can I retrieve the 2nd drop down list' selected value

View Replies View Related

Get Selected Value From Combobox

I have combobox that those value is based on my database. So i want to get the selected value in order to do another matching for the SQL statement. May i know how to get it? Is it just use for example WHERE column=' "&combobox&" '? use the combobox name.

View Replies View Related

Radiobuttonlist Get Selected Value

I have an aspx file where i've put a placeholder element. On load i create
dynamically a table which contains a checkbox and a radiobuttonlist in each
tablerow . The radiobuttonlist contains two items (yes,no). Both the
checkboxes and the radiobuttonlist are NOT autopostbacked ( .autopostback =
false).

When i press the submit button a sub is run. My problem is that i can
not get the selected items in the radiobuttonlists.This is caused cos in the
page_load i call the sub that dinamically recreates the table described above
and so all values are reset (there is a rdb.item(0).selected=true line in my
code.

If i try to remove it, the radiobuttons keep their values or not,after
each submit, without a pattern!). I've also tried to keep the values in a
collection, instasiated in the page_load but i couldn't do so cos the table
(that contains the checkboxes and radiobuttonlists) is not recognized at the
beggining of the page_load (i guess it's not an object yet cos the sub that
creates all that is at the end of page_load)....

View Replies View Related

Dropdown's Selected Value

By ASP
How can I get the dropdown(control'name)'s selected value?
What is it's property'name

View Replies View Related

Get Selected Value From Combobox

sourinsen is correct. that's the way to split values in your combobox.

View Replies View Related

Selected Value From Combo Box

I have a drop down select box that gets filled from database. I have to add "All" to this list which does not come from database. Also the default selected value should be the second value that is stored in array. For ex I have array of Countries names as America, Indonesia,china, Canada. My array gives me the value Myarray(intcount,0)(intcount,1) as America and so on (two dimensional array).

I want Indonesia as the default selected value when the page loads. Also I need to hardcode All at the end. Upn submitting the form the selected value fromthe drop down should get selected.

View Replies View Related

Put Value Of A Selected Item

I've got this listbox and this text field on an ASP page. Now I want the item I click on in the listbox to appear in the text field and I can't find the code nowhere for what seems to me such an easy thing to do.

View Replies View Related

How To Get The Selected Value In Dropdown

i need to get the selected value of dropdown from one page and i want it to be displayed in another page.

For that i used the below cade:

<%= request.Form("country") %>

country - drpdown name

But its not getting displayed.

View Replies View Related

Option Selected

I am displaying few values in a List box. I would like to put first item as selected by default. i.e <option value="some value" selected>Name</option>

Here is my code.

<SELECT size=15 id=select1 name=select1>
<% do while not Rs.EOF %>
<Option value=<%=Rs("value")%>><%= Rs("Name") %></Option>
<%
Rs.MoveNext
loop
%>
</SELECT>

View Replies View Related

Which Listboxelement Selected

I have an asp-page where I want the user to make a selection with a listbox. When the user changes to another listboxelement the page gets reloaded and depending on the selection a different content is shown.

I got this working so far but when the page has been reloaded the listbox always displayes the first selection in the list and not the one which the user selected. Code:

View Replies View Related

Emailing The Selected Template

I have different templates for different companies to be sent to the customer. first i get all the templates from the DB by giving: Select templates from tempates;

Now i want the user to select one..may be we can have a radio button displayed near the textarea in which i will be displaying the templates from DB. Once the agent selects one of the templates to be sent,that template should be sent as an email to the customer.

How do i go on achieving this ,with good formatted template in the DB?

View Replies View Related

NT Authentication For Selected Pages In ASP

I have a requirement where I need to have windows authentication
enabled for only few ASP pages of my Site (Virtual Directory), rest of the
pages should be enabled for anonymous access (No Authentication Dialog).
Could some body guide in achieving solution for this.

Flow Steps

1. User visits the home page (One.asp page) No NT authentication dialog
should appear.

2. The home page will have some Hyper links to other pages, on clicking on
the Hyperlink it should prompt for NT Authentication Dialog (asking windows
UserID and Password)

3. Once the UserID is validated by authentication process it should show the
Target ASP (Two.asp) Page. The Target Page will have a link Named 'Back'
which will redirect the User to 'One.asp'

4.Once user is redirected from Two.asp, if user clicks the Hyper Link it
should prompt again for the authentication (Previous login information should
be discarded, it should prompt again)

The Challenge i face is
1. Finding a solution to implement authentication for selected pages.
2. Logging off the User so that to Prompt the NT authentication dialog again.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved