Dynamic Anchors Within ASP Page
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
ADVERTISEMENT
I'm developing a framset with links in the top frame that I want to use to position the page in the bottom frame to a certain anchor. Problem is the page in the bottom frame
is an ASP page. Code:
View Replies
View Related
How can I get an "anchor" part of URL such this:
"www.domain.com?field1=zzz&field2=yyy#my-anchor"
in ASP code?I have to create new URL in ASP script with mixture of some parameters but the anchor must be in this one too.
View Replies
View Related
Can you use named anchors in ASP links?
I am using an <IFRAME> on one of my pages and want to jump to one part of the page that is loaded, but I'm also passing querystring variables in the link. It doesn't seem to recognise the #now anchor that I want to jump to.
View Replies
View Related
I have a need to pass a url via the address field to a page - i.e.
page.asp?myurl=newpage.asp.
When I get the QueryString object for "myurl" it correctly comes back
with 'newpage.asp'. However, if I pass an anchor name on the url -
e.g. page.asp?myurl=newpage.asp#myanchor - the result is still just
'newpage.asp'.
Is there a way to pass the anchor link into the page and get access to
it?
View Replies
View Related
I am trying to passing some variables via the url and also a named anchor appended to the end. unfortunetely the named anchor is been read in as part of the last variable.
threads.asp?t=96&f=15&j=y#288
I use request.queryString("j") to retrieve the value but the value returned is y#288 and no y as expected.
Is there anyway to fix this problem.
I can't pass the value via a form.
here is the code I use to create the url
Code:
View Replies
View Related
All of these fail :
response.redirect("page.asp?Param=Param#Anchor")
response.redirect("page.asp#Anchor?Param=Param")
This one works fine :
location.href = "page.asp?Param=Param#Anchor"
I have a solution i dont like :
i can replace #Anchor by &Anchor=Anchor
Does someone has an other idea ?
View Replies
View Related
I have developed an extranet system, that is not recognizing any named anchors in IE. The top drop down on the page should be jumping the user to each section. It works beautifully in Firefox, but not in IE. Has anyone encountered this before? Any insights?
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
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
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
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 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 code that creates a calendar for each month and then it displays events from that month that are stored in a db. I need to loop through my recordset and display all the events, but I can't quite figure out how to do it. I am thinking I need to do an array. But I am not really sure.... any ideas. Here is where you can view the calendar. Code:
View Replies
View Related
Ok, I have a Javascript ASP and in it I have a dynamic repeating table with certain attributes to people. If one of these attributes is old or invalid, i want to change the color of the text (and maybe make it flash, blink, change size, something) so that it's easy to read.
View Replies
View Related
I want to create textboxes dynamically but with dynamic names also.
i am retrieveing a load of values from a table in SQL into a DataReader.
Then i want to create textboxes from those variables. I want to dim various
textboxes with different names depending on what I retrieve from SQL. I
tried the following:
dim dtrcondet.item("contact_detail_description") as new textbox()
but this does not work
View Replies
View Related
I am trying to create a site that has dynamic page generated based on if a value is present.
PROBLEM
I want to be able to show a certain dynamic page if a certain value equals to true. The page should be able to generate values from a db
e.g. <%=aspscript%>
And if the value equals to false, then the page should not appear at all.
I tried using SSI (Server side inlcudes) but cant append variable names to it or use them with if then statements
View Replies
View Related
I would like to have some text appear in a different color if it matches a result in a database. I am not sure how the syntax would work, this is what I have come up with so far. Not sure how to insert it.
If <%=(Picks.Fields.Item("Pick1").Value)%> = <%=(Results.Fields.Item("Pick1").Value)%> then class="style1"
Is this possible? and if it is does it have to be entered for each occurance of the dynamic text or can it be added to css?
View Replies
View Related
i want o make the images on my website depending on who is logged in. I have all of the Images names stored into my database, which i have uploaded there using the Pure ASP upload 2.09 add on for dreamweaver, and that all works fine and my image is stored in the correct folder and the name of that image is stored into the database as imagename.gif which is exactly what i want, but i dont know how i need to declare that value from the database into my style sheet. Code:
View Replies
View Related
I need to create a bunch of sites with slightly dynamic CSS. Basically,
all the image paths in the CSS need to be dynamic, depending on the
values of certain ASP variables.
I can think of 3 ways to do this:
1. Write a script to create a semi-dynamic CSS file, which will be run
whenever we need to make changes to the ASP variables controlling the
image paths.
2. Have an ASP script generate the CSS on the fly:
<link href="dynamiccss.asp" rel="stylesheet" type="text/css">
3. Put all static CSS in a normal CSS file, and have a special dynamic
style sheet for only those rules that require variability. We could
either use method 2 above to generate a second style sheet, or place
dynamic rules directly in the actual asp pages.
View Replies
View Related
I have a form element and the name is dynamic
name="<%=cnum%>"
i now need to do this but it's telling me that it needs an to be a string.
JobsToUpdate = Split(request.QueryString(cnum),",")
and what would be ideal is the value of Jobstoupdate will be
This Cnum ->cnum=Split(request.QueryString("staticcnum"),",")
Hopefully I explained it well enough.
View Replies
View Related
is there a way to make a dynamic dim, or am i looking at this all wrong
<%
Dim A & request.form("") & B
A & request.form("") & B = Request.form("")
%>
View Replies
View Related
how to dynamically build an XML document with IIS6 and 404 error custom handler?
At the moment if I dinamically create an XML page with Response.Write(xml code here) I cannot remove header "404 errorpagepath" that IIS adds automatically. How to remove that header from Response object?
View Replies
View Related
i think my code is correct.but it still can't work when i run in the nokia mobile browser,i had run my wap gateway and internet service server(ISS) also.
can anyone help me to solve this problem? The attaches file is the wml,asp and database for this program.
View Replies
View Related