Menu Positioning On A DIV Using Include
i found a code for a menu which retrieves the links from a database, problem is i can't seem to position it properly on my layout.
at the same time, i want to make the asp codes external, so i can just include it in the areas i need it, which is the entire site.
i zipped a folder to make better sense... the sample.asp in menus folder, works fine on it's own, but the moment i placed it in the laid out page, the menu stays at top left and not on the navHeader layer that i want it to be in Code:
View Replies
ADVERTISEMENT
I am working on an ASP website and my boss wants to have drop downs.
I have taken the existing code of menu includes but am unable to view
the drop downs. it just shows the url (menu.asp) in the browser but
doesnt throw the drop down.
View Replies
View Related
I am currently working on a project and i need to have drop down menus on a form which include data from tables in a database. There will be a number of drop down menus on this form as well as text boxes. I'm struggling with the code and need to know how to code a drop down menu that would include all the records from a drop down menu.
Is it possible to use all the values in the form, including the drop down menus to insert the values into a relational database. I'm assuming i would have to use variables to pass the information into the database using an SQL insert, but i am once again unsure how to code this.
View Replies
View Related
I managed to make This code works, in the sense that the <tr> are clickable, but the only problem is that it prints the first values (cat) on a separate column above the table.
code
<table align = center bgcolor = skyblue border = 2 width = 90%>
<%
while not rsTypes.EOF
Response.write "<tr style=""cursor: hand"" onmouseover = ""this.className='orangeThing';"" onmouseout = ""this.className='skyThing';""> <a href=""editfirstmarch.asp?cat=" & rsTypes.Fields.item("cat").Value &""" >" & rsTypes.Fields.item("cat").value & """ >"
Response.write "<td align = center >" & rsTypes.Fields.item("one").Value & "</td>"
Response.write "<td align = center>" & rsTypes.Fields.item("two").Value & "</td>"
Response.write "<td align = center>" & rsTypes.Fields.item
("three").Value & "</td>"
%></a><%
Response.write "</tr>"
rsTypes.MoveNext
wend
Response.write "</table></html>"
%>
View Replies
View Related
Does any one know how I can position the output at certain point? Such as If I want to print "hello" starting at position 50 from the left in the file.
View Replies
View Related
I'm having trouble with an asp page. First off, I'm new to the html / asp world, but not to software development. I'd like to minimize or "normalize" the site, so I'm trying to use one menu page and include it into any page that needs the menu. The problem is, I include the header.asp page, include the menu.asp page, but when I write the body of the page, it sticks the text underneath the side menu.
I'd like the text to begin under the header (logo) but beside the menu on the left side of the page.The page that I'm working on is at ttp://www.hemmingway.com/default.asp.what I should look at or what I might want to try searching .
View Replies
View Related
I'm having problems positioning results tables in ASP. Basically it's a catalogue site and I want to display 2 products side by side in rows of however many products there are in the category.
At the moment all items in the catagory are appearing side by side in one long row.....Can any one advise me what I'm doing wrong? Code:
View Replies
View Related
I was wondering whether having ASP pages hinders search engine positioning. I am soon to encourage submission and wanted to know whether recode some 'key' pages (ieindex.asp) to .html pages?
View Replies
View Related
does frame support pop out menu? Thanks....
View Replies
View Related
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:
View Replies
View Related
I want to be to call my menu from another file onto my page so that i dont have to add it to every page of my website. The problem is when i try to add it using the include method it says that only one include file is allowed on an ASP. The other include file is my connection string so i cant really take that out of the page because then nothing else will work!
How can i get the menu page included as well as the connecting string?
Have added the code below, i have highlighted the 2 include files that i want to use in blue, i have also left the div tag in for where i currently have the menu which is what i want to take out and have ther include file there instead, if that makes sense. Basically the bit in red i want to be able to remove from all of my pages and add the blue file above the red code in instead, but i dont know how!!!!! Code:
View Replies
View Related
i have menus and sub menus written in java script in an asp page.at times teh sub menu bars overlap with the text fields of some of the pages.I want to set some option on the menu bars so that if they overlap with the text feilds of the page still they remain on the top and r visible over the text feild.
View Replies
View Related
I am trying to create a Menu, like the one on this page, that looks like this:
Viewing: ASP Free Forums > Programming > ASP Development
But have no idea what it is called and how to do one. Can anyone please point me in the right direction.
View Replies
View Related
I want to create with asp a "menu" that will have a dynamicall drop down menu. Is there any ready drop down or a tutorial for this?
View Replies
View Related
I have been searching for tutorials everywhere on how I could make a menu that is multi levels but that can be updated dynamically through asp...so basically when I add a link in the database it will update the menu...now I know how to pretty much pull links from the database for a basic menu...but lets say there is a link called about us and under about us there is more options to choose from.
How would i code this so the menu would know which ones were parents and which ones where childs? And does anyone know of a good tutorial, or of an example. and basically I want this because I would like to create a content manager...but I don't understand how the menu would work when pulling data from a database.
View Replies
View Related
I am using asp and access database. I need to create a menu according each member access. In other words, if member login I need to display the menu according to the services the member selected during registration. Each service contains diff type of products.
Service1
-produc1
-product2
Service2
-produc1
-product2
-product3
..more
Service3
-produc1
-product2
..more
What is the best way to this...
View Replies
View Related
I need to create a page which updates a products information within a record.
the tables are,
products (ID,CatID,sID)
supplier (sID,sName),
category (CatID, CatName)
The above tables supplier and category have relationships to products by using the sID and CatID
I need to update the product details by having a select/option for a supplier and category but if not changed by the user the value already within products table stays the same, therefore the list must be dynamic so that the first item in the list is the one relating to the value in the products table. Also the value must be the ID numbers but must display the names not the ID's to the users within the select/option.
View Replies
View Related
I am trying to create a menu with multiple tiers. I want to use the one menu as an include file throughout the site. Depending on what page you are on, I want the 2nd and third tiers to show up.
The rest just show the tier 1 links. I'm pretty sure this can be done in CSS, but the problem is that with a very big menu, I'd rather not have to load up the entire menu when it all won't be showing.
There for I figured I could create it in ASP. I could set some sort of parameter in the page so the menu include file would know what page I'm on, and then would only show and load the 2nd and 3rd tiers of that section. Is this possible? Code:
View Replies
View Related
is it possible to have an asp menu tree? or possible to swap an inc though a link click
View Replies
View Related
I've got three drop down menus which allows the user to select a date on a html form. The day drop down menu has the values 1-31, the month menu has values 1-12 etc etc. However i would like when the page is loaded for the current date to be present as the intially selected value in the menu. How can i apply the selected attribute of the current date.
View Replies
View Related
My last (maybe) problem is to make a nested menu (I think is possible only with Java) and I must take the names of the selections from a DB ...
is possible? I can't find documents where is explained how to use MDB files with Java
View Replies
View Related
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 ?
View Replies
View Related
how to get collopsible menu to be used with ASP pages??
View Replies
View Related
if you guys have managed to do a asp-function that prints out
a full menu using SOThink menu builder.
the example http://www.sothink.com/product/dhtm...aspdb/aspdb.php
is very unclear to me atm.....
things as stm_bp("p0",[0,4,0,0,3,1,0,0,100,"",-2...... ) and
stm_bpx("p1","p0",[1,4,0,-1,.....)
now how to know what numbers shall be printed out?I would be thankful if anyone showed a proper parent-child database example
that works.
View Replies
View Related
I am generating my menu dynamically as a dhtml menu. however the third level 'MenuSubCat'. I cannot get it to display properly and to loop all the third level sub menus to correct second leve menu. Code:
View Replies
View Related
I have a serious question here. Two websites: www.morepoweracing.com and neil.morepowerracing.com.
I am trying to build a menu system which is dynamic, and the live site, www.morepoweracing.com is what is going on right now. The test site is neil.morepowerracing.com and I am trying to make my menu dynamic so it feeds off the sql database. Secondly, I need to have a .5 second delay just like windows XP, becuase when your mouse is scrolling over from one button to the other, it tends to dissappear the menu you are looking at. Also, all severs are in house, so if you need me to copy the code down
View Replies
View Related
l've created an Access db with these fields (Title, Body and Section) Section field is Lookup column (About Me, Contact and Links). Also I created a form on add_data.asp to add data from it. On the form there's a Drop Down Menu. The peoblem is how to add from the drop down menu to the database. Here's my code:
View Replies
View Related
I have a form page in ASP where the first menu/list function as a filter of
the second menu list. Once I select an item form the first combo I get the
second menu full of options. This is correct. My probem is that the first
combo gets the default value again and I do not see what I did choose.
View Replies
View Related
I want to have two pull down menus, 1 for continents and the other for
countries. On selecting the continent how can I change the menu of another
pulldown or how to display the list of corresponding countries in that. And if no continent is selected then nothing should appear in countries pulldown.
View Replies
View Related
I have a menu control that has two Menu choices
One is "View History Items"
the second is "PDA"
My problem is as you roll the mouse over the menu options, the second
one works only if your mouse is actually over the text "PDA". Since it
is much narrower than the first item, the entire width lights up like
an active link, but the link won't work unless your exactly over the
area that has actual text. So it appears to the user who clicks too far
to the right that nothing is happening (which it isn't)
View Replies
View Related
I'm using this code to populate a drop down menu and i'm using a query to populate the menu with certain info. from the table column. How could I add other drop down menus to this form and have them filled with different info than in the first drop down menu but still be in the same form? Code:
View Replies
View Related
I am able to query an Access DB and return the values no problem. Now I want to create a "DISTINCT" list, lets say car makers, showing no duplicates. Once you click on the brand, it will then re-query and give you all available models, etc etc. I have done this before using Cold Fusion but this time I do not have that option.
Now is there an easy way to do this? I have been looking for days for an easy way, like 2 or three pages(like in CF), to do this in ASP. What is my first step? Record sets? I have no problem accessing a DB and querying data. Its the drill-down that confuses me. Also is there a way to make the menus expanding menus in ASP or does that use jScript?
View Replies
View Related
i have menu bars to the side of the asp page and have text boxes in some asp form ,the menu bars sometimes overlap the text boxes in the form,but what happens is the menu bars get overlapped by the text boxes. What i want is the menu bar to overlap the text boxes.
View Replies
View Related