Dynamic Page Location Display
a code snippet that I wish to create/use on 90% of my pages. I want each page to display their location to the user. Obviously I could do this by just hardcoding this in but I would prefer to create a mor dynamic template that automatically displays the relevant info. Examples of what i would like displayed is:
You are here: >> Home Page
You are here: >> Services > Update Personal Details
View Replies
ADVERTISEMENT
How can I direct Response.Write to output to a specific location on my page?
View Replies
View Related
I have a client who has had a ASP site with an Access database for several years. It stores information for the used cars on his lot. I have stored text in the database that points to the location of the image for each record. Each record will have a thumb image that is supposed to display in a list of vehicles available then the user can select an item from this list and a new page displays with the information and the regular size image. So far everything has worked fine exept for the display of the images which are stored in a separate directory called veh-photos. All I get are image place holders. I am using Dreamweaver 2004 and and Access 2000 for the database.
Following is the code to list vehicles: ....
View Replies
View Related
I have a SQL table that I am displaying dynamically...
The primary key of which is the ID, I have another table that I want to display as a subset of a row from the first table but only if they have the same IDs??
THe things I am trying are not working and I am sure I am missing an obvious step..
example:
ID GROUP NOTES
-- ------- -------
1 People None
- 1 Blah Blah Blah
- 1 Something else
2 People None
3 People None
- 3 Something here too
Sorry if I didnt do avery good job explaining but I am about fried out on this.
View Replies
View Related
i have this output from a recordset
<%=(RS1.Fields.Item("EMAIL").Value)%>
how can i change this so that it's a hyperlink and when a user clicks on it, it will show the email address in "send to:" in outlook.?
View Replies
View Related
Hi, I am trying to output an image using a filename from a database.
My code:
Response.Write("<img src='uploaded/" & bannerRecordSet("Banner_Image_File") & "'>")
Response.Write("<img src='uploaded/homepage1.jpg'>")
The first example works but doesn't display the image
The second example works and always displays the image
I don't know what is wrong with my code as the images are definitely on the server.
View Replies
View Related
I am rewriting from scratch some code done by previous programmer on a glossary for our website. I have a database with three fields, ID, Term, Definition and a table called glossary. I need to be able to display everything to the *same* ASP page.
I have already successfully created the db connection and the records display according to the SQL statement, i.e. where Term like 'a%'.
What I would like to do is to display each letter of the alphabet dynamically from the Term field as a hyperlink that will display the terms beginning with that letter, i.e.
A B C D .... Z
The terms would be displayed as hyperlinks and when clicked will display that term and the definition. If A were clicked: Code:
View Replies
View Related
after the form has been posted I want to keep the querystring the same and not have it reset, i have this:
<form method=post name=main action="index.asp?MEMBER_ID=" <% Request.Querystring("MEMBER_ID") %>
but all i get in the address bar after "post" is this: index.asp?MEMBER_ID= without the member Id. how can i do that?
View Replies
View Related
What I want to be able to do is create a user control that will display an
entire page page within it. Does anyone know how to do this or better yet
have any same code?
View Replies
View Related
I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.
Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:
View Replies
View Related
I am having a page where leave is applied.
- In this page 1 new rows is created dynamically everytime the 'Add
row' button is pressed
- Each row has a begin date text field and beside it a calendar,
enddate texr field and a calendar etc...
- It has a delete button for each row so onecan delete the row is its
not needed.In total there has to be 5 rows and minimum 1 row.
Now the problem is there is a function called 'reorderRows' . Which is
it re-initialises the text boxes (the objects in the row)..there is
some errors I face when this is done. would any of you able to figure
out what causes the error . I am guessing its the calendar
re-initialisation error Code:
View Replies
View Related
I've noticed when I go to various websites to read online articles, when the
link is clicked, I frequently see a file such as NewsArticle-17229.asp.
The ASP file is totally different for each article.
How is this done?
Is there an ASP file created that is unique for each article?
The # on the end appears to change.
View Replies
View Related
Have an ASP form which is filled out with Maintenance Alert info. Upon completion, the form posts data to a dynamic page to control look/feel. I then use IE's Send Page function. In Outlook Express, the Subject line comes through as the Title of the page (Maintenance Alert - Whatever).
But in Outlook, the filename becomes the subject. Is there anyway to define the subject line through Send Page? And yes, this is a painful way to get a message sent, but due to user limitations and cooperation, this is what I am left with.
View Replies
View Related
I know how to create dynamic tables in dreamweaver to display fields and records in a table of a database, but in my case I need to create a dynamic table that lists all the tables in the database, then to click on the one i want 2 edit the data in there.
View Replies
View Related
I am currently building a page that initially displays a list of categories e.g.
Category 1
Category 2
etc
Clicking on a category should cause a list of the items in the category to be shown e.g. clicking Category 1 should lead to:
Category 1
Item 1
Item 2 etc.
Category 2
I have implemented this part successfully. I have placed a hyperlink in each Category so that when it is clicked the page is refreshed, with a parameter 'categoryid' used to return the relevant items from the database. Code:
View Replies
View Related
so for this weeks project for class I have to create a dynamic page in asp. As of now im completely lost and failing.I was finally able to setup IIS and get everything going. I made a page in asp saying "Hello World". Now the question is what exactly do I need to do to make a dynmaic page in asp? Im assuming he wants me to create a database in say access and pull it up in asp.
Does anyone have a simple database in access they can post a link to so I can download it and also a link to the asp code to display it properly on a page? I want to take a look at the code and see if looking at it I can gain a better understanding of what to do and how asp can help make dynamic pages.
View Replies
View Related
What I need to do is use asp to read the contents of a web page (that is generated on another server), put the html in to a sting, and then take action based on the contents of the string. I can probably do all of the sring manipulation myself, but want to know if I can open the page and read the first 200 characters in to a variable that I can then manipulate.
View Replies
View Related
I'm trying to give each page the title of whatever is in my first <h2> header tag. Does anyone know how to do this?
View Replies
View Related
my site (which I am currently redeveloping) has 3 different sections to the site. All which well contain different information.
What I want to know is how can I make the starting page of the site display information which the users is looking for.
eg. if the user always go to one section of the site the main page well show information relevant to that section. (I hope you know what I mean)
So I was thinking about how to do this and this is what I came up with.
Set a cookie for the site and each section has there own number value (eg. 1 to 10)
When the user hits the main page it gets the values of all 3 sections from the cookies and checks which has the most value (eg 3, 5, 10).
Based upon the highest value each section has there own .asp include which is shown to the user.
View Replies
View Related
Are there any free/open source ASP solutions that will allow you to dynamically convert an HTML page to a PDF?
What I'd like to do is include a "Convert to PDF" button on a .asp page that will convert whatever is there to a PDF.
Is there a free version that works well out there?
View Replies
View Related
I would like to read the dynamic contents of an asp page and set these in a variable.
In php I can do it with the help of include, but include is not exactly the same in asp.
Any clue?
View Replies
View Related
I have a seperate asp page for each due of the week (mon.asp tue.asp wed.asp etc...). I need each day's page to show on the site at 3am that morning, for example... I want tue.asp to show up at 3am on tuesday morning
View Replies
View Related
I'm running IIS 5.1 in Windows XP Pro. I moved all my ASP files and scripts from my backup CD to my new server.
Some of the pages can't be displayed, the browser would redirect me to Http://www.perfectnav.com/....uid.... web search engine page. How can I stop this? I mean I couldn't fix the problem if I don't see actual error of the page.
I open my IIS logfile and found Error 500 next to the request.
But the HTTP 500 error page never get displayed.
I turned off the "Display Friendly Error Message" in Internet Option and set all the 500 error page to default.
View Replies
View Related
I have created an .asp page in Microsoft Visual Studio 2003, and the page consists only of html and vbscript. When I click "view in browser" the page displays and works as I want it to.But When I view it in IE7 the stucture of the page is all messed up. I suspect that IE7 has problems in enterpreting the vbscipt because the html parts looks ok.
probably IIS right?
I have run regiis -i (dont remember the correct syntax) so that shouldnt be the problem.
View Replies
View Related
I have IIS installed on Win XP. When I type http://localhost/*.html (*.html mean any htm file) in IE, it works well. The page is displayed. But for any http://localhost/*.asp file, it always return either HTTP 500 Internal server error or Cannot find DNS server. I tried http://localhost/iishelp, it does not work also.
View Replies
View Related
I have an asp page where im creating dynamic rows on an onclick function and textboxes are created in the dynamic rows and when i submit the asp page it goes to another asp page, where i whant the values entered in the textboxes of dynamically created row of the previous asp page. Code:
View Replies
View Related
Can anyone recommend how to do a screen scrape from a dynamic page and save it to a text file?
View Replies
View Related
inserting dynamic page code in .html page? i.e. i would like to insert a code which will display links. where my homepage link extension is .html. if it is .asp it would have been very easy. and also i would have worked fine. but now the problem is the homepage index file extension is .html.
so if i insert the code it is not displaying the links. i tried inserting the code in a separate file and saved as file.inc and gave the link from home page <!--#include file="file.inc"--> but still the link is not showing and not working.
View Replies
View Related
i have a website that uses (or needs to use) dynamically driven dropdowns using asp & JS on all pages. it contains 3 different dropdowns that are DB fed and are dependent upon the value of each other. the drop down values are updated using a repost to itself.
they work perfectly on the initial pages where no other variables are involved, but i am having troubles on the pages where more variables are being sent. eg: i have use a lot of error checking, and when i repost, the variables are deleted, and thus the error listings take effect as the variables are now blank. can i refresh the dropdowns without repossting to the samepage without effecting the existing variables on that page? sessions? cookies?
View Replies
View Related
I want to display a page in a text area.
For example i have a page default.asp in the directory about.
I want to be able to open this page in a text area for editing.
It must show the code for the whole page, including all <% and %>
View Replies
View Related
I have an ASP page hosted on a windows 2003 server.
This page was working fine until Saturday. Now, the server doesn't
serve it and gives a 404 page not found error. The file DEFINITELY
exists in the correct folder (it worked fine previous to now).
I have tested the page on our in house server, which is a Windows 2000
server and the page works fine. I have exported the database data and
tables which are necessary to the 2000 server and again it works fine,
so I don't think it is any data in the database which is causing it.
We serve many other sites off this server, and the asp works fine on
all of them, and throughout the rest of this particualr site which is
causing the problems.
View Replies
View Related
when using a web application which includes taking an asp page then going to another asp page and coming back to first page ...some times connection to iis gets terminated
and page canot be displayed error comes .. this error does'nt comes on a particular page .
View Replies
View Related
i would just like to know if there is a way to check if the table exists in the database?
if it does the search query would be carried out but if it does not exist the user would just be redirected to an error page.
View Replies
View Related