My project is to make a website that lists all kinds of different items. The Items are sorted into sub categories and the sub categories are sorted into Main Categories. Of course this is all connected to a database
What I need is for the main categories to be presented into a vertical menu then once the mouse is over a Main Category for a menu to appear on the right listing the sub categories and then once the sub category has been clicked a list of items will appear in a form on the center of the page.
I have already been able to connect a wepage to the database and pull off records using SQL statements. I Understand the concept of relationships, primary and foreign keys.
I need to make a simple navigation menu where I click on a link(href) and either expand or collapse a menu. Based on what I click, my menu changes. I think I know how to do most of this, byt my question is, how do I pass the value of the link I clicked ?
I have created a dropdown menu that allows users to navigate and load other pages into a different frame (detail) than the one in which the dropdown is sited. All menu items and urls are stored in an access db.
Now I would like to try and make 2 improvements but I don't know how:
1. I would like to use the [Category] field in my data set to produce (non-clickable) headings in the drop down list. Code:
Does anyone know of a good solution for maintainable navigation? We are redesigning a huge site for a large energy company. This site has a ton of navigation links in the left menu. There are primary, secondary and tertiary levels. When you are on a particluar page, the navigation associated with it is in the "at" condition. I don't think I can use a menutree because each link goes to a different page. The only think I can think of doing is this: I was thinking about creating a navigation include for each main section of the site. This include would include every combination of primary, secondary and tertiary nav for that section. Each nav element would be called with variables passed through the querystring. The at and off conditions would also be called this way. However, it would be driven by a ton of if then statements. My goal is for the user to not have to update a bunch of pages each time the navigation scheme changes. They should be able to make one adjustment which effects the navigation throughout the site. Is there a better way to do this?
Can any one help with code for form menu in which sub menu appear on selecting the main menu. This is one field of an access database to be submitted by user.. Now I have code only for selecting from main menu. Code:
i want to have a dynamic navigation that will look at a database and then fill the navigation side. I want to have a category, then a sub- category also. Can this be done?
I have used ASP to force a user to log on to a page prior to allowing them to see a page including images. However, once a person knows the URL to the image on its own a person can type in that full URL and see the image, without being logged in.
For example, password login required to get to: http://www.mydomain.com/showmypics.asp
But, you can navigate straight to: http://www.mydomain.com/pictures/mypicture.jpg
how to prevent a user going to the picture directly?
Completely new to technologies like CSS, but trying to learn fast.... I've seen a few sites with "very sophisticated" navigation tools that provide menus that both drop down and expand horizontally...very similar to the menu tools we're used to in Windows applications. Anyhow, in an attempt to mimic this, I've looked at a web few sites and studied the source files. It appears that there are two schools of thought here.The first uses unordered lists and the second uses tables to hold the information. Both then use a combination of CSS and JavaScript to control the behaviour.Which really is the method of choice?
I've been trying to search for a script that allows me to make a navigation bar, include it once and have it display the current link based on the file path.
I intend to have a file that basically has a sitemap where all but the current area is hidden, and the current page is highlighted in the navigation.Please could someone point me to a tutorial or example code of this.
I have created a from in ASP,on which I am throwing first record from one database.now I want to have a button on the form by pressing which it should show next record,suggest me a logic.
When the user creates a new page, rather than go through every other page in the site and add a new link to the left hand navigation I want to use an include file and search the folder for all .asp and .htm files and display them in the navi as a link. If that makes sense?
I've been playing around with FileSystemObject, but am struggling to get the desired results. Rather than display the full name of the file in the navi, I want to remove the file extension and the path, and maybe convert the leading letter to a capital so it looks like a regular nav.
Is it possible to have dynamically generated links for a multi folder web using ASP? If I just wanted a nav menu for a flat web I could use an #include to put either the URL's or the html code block containing them into my asp page, but I'm dealing with pages in multiple folders. So if I have a page 'mywebsubfolderpage.asp," is it possible to use the same list of links as I use for 'mywebmainPage.asp'?
I'm a complete ASP newbie, and I've been digging through the ASP tutorials on w3schools etc., but no one seems to mention if this is possible or how it would be done, which is somewhat discouraging.
Here is want I want to do. Create an asp script that can:
1.) go to a page 2.) fill in the values needed in a form 3.) click a submit button 4.) use XMLHTTP to capture the contents of the resulting page after it loads
Is this possible, and can anyone point me in the right direction?
how to get my ASP page to open and display only the first record in the database table. Then have navigation buttons to scroll through the remaining records one at a time on the form? Or a drop down list to select the record they want to view only?
In my web site I'm trying to include one HTML ( navigation bar is created in this file) files in another SHTML files using SSI or iframe tags. both of them are not working.
how do a navigation bar in a server side include? All my rollovers work but I need the overState to stay on when the user is on the subsequent page. Is there a way name each button/tab/page oe give it a number and when the user goes to this page then the image changes. Well I know there is a way, I just don't know where to start.
I've used Dreamweaver (apologies!) to extract data from a DB in sets of 10. I've done the < first | previous | next | final > links but I also need to do a paged navigation i.e. < page 1 | page 2 | page 3 | page 4 | page 5 > if anyone could point me in the right direction I'd be ever so happy on this miserable day in the West Midlands (UK)!
I have a page that displays results of a database query that is paged to 5 records per page and i have some very messy code for the navigation.
Firstly i have a "First/Previous/Next/Last" navigation set then i have direct page numbering which is limited to 10 pages and as you move through the pages the page numbers change depending where you are in the page set.
If that makes any sense.
i.e. if you are on pages 1 to 5 it shows pages 1 to 10, if you then go to page 10 it shows pages 5 to 14 etc.
This all seems to work quite well, not sure how but it dose.
What i am having problems with is the URL's the links point to as the page can have various parameters. the URL always calls the same ASP page but the parameters can be different.
example:
Page.asp (default page) page.asp?page=5 (default but on page 5) page.asp?user=userID&page=5 (page with specific user and on page 5)
at the moment there is only the user parameter apart from the pages but this could change.
I need to be able to build the URL's for the links dynamically so it includes all previous parameters from the existing page but then changes the page number when navigating through the pages.
Anyone got a good solution to this one, i keep hitting a snag with the parameter separator whether to use ? or &.
It is probably something small, but I can't seem to find the error. As long I have records, it recordset navigation works fine. But if it empty I get an syntax error: Code:
Up until now I have mostly used a script that I got from somewhere way back for adding the page navigation on a results page ie. << 1 2 3 .. 4 5 6 >>
Ive decided to make my own but there seams to be too many cases/options in my script.I am using an array to store my results so if anyone knows a place where I can view a simple one or even some logic behind it.
The navigate2() browser function has a parameter to replace current page in history with new URL. Can IIS achieve the same task by sending a browser appropriate headers or something?
I'm working on the site. And as you can see when you click on a tab in the menu it leads you to the site and the bottom bar with the subchoices changes color and shows the corresponding links. However when you click on the Loss prevention tab it goes back to home.I am not the original coder....and the code is pretty scary.
Is there anyone out there willing to try and help me figure out where the problem is...that is making the loss prevention tab loop to home?
i am having a hard time finding out whats wrong i get the users login name from the first page and then i have this page which displays the abstracts
whats happening now is if the user has 9 abstracts assigned to him he sees 5 abstracts on the page and then there is page navigation so he sees the number 2 when i click on number 2 i should see the rest 4 abstracts but i cant see anything it doesnt give an error can anyone tell me whats wrong Code:
how can i create a NEXT, PREVIOUS record navigation link; such that when i retrieve from the database and click NEXT it will display the next set of records, or when i click on PREVIUOS, it will display previous set of records from the database.
I am using SSI navigation on my new ASP web site. On the original HTML version, if you clicked a link on the main navigation and entered a section, for example, SKILLS, the skills link on the navigation would be highlighted in a different colour, so the user would know which setion the were in.
To achieve this, in every single HTML page, I changed the CSS tag of the selected section. For example, Code:
It looks like that when the window.open call is made, and a new window is created - my users lose all the information they entered - if they navigate backwards then forwards. If the second window was already created... navigating backwards and immediately forwards, seem to behave 'normally' (i.e. all their previous inputs are there on the screen.).
Is this normal? Is there some way to kick-off a new window without losing the inputs previously entered at an earlier screen? There was an earlier post about losing session info when opening a window - is this a similar situation?
I suppose I don't really have to have two windows opened at the same time - using a simple anchor link seems to work without the side-effect. It's just not as snazzy and the work-flow is slightly more stilted.
While I've been toying around with some other work-arounds - I was wondering if anyone else has ever run into this situation? Or am I missing some critical piece of info?
I have this file called "inc_BreadCrumbs.asp" basically this is a Navigation include file as breadcrumbs style, and I inserted this to every page in my site. It works fine but one thing I cant configure is that:
It displays the file names as for example: search.asp or results.asp etc... But i want it to display as SEARCH or RESULTS etc... How to implement this? Can it display only page title name or something else how can you change it? Code: