Named Anchors

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


ADVERTISEMENT

Passing Variables Via Url With Named Anchors

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

Response.redirect And Named Anchors

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

Named Anchors Not Working In IE.... Fine In Firefox/...?

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

About Anchors

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

Use Anchors In ASP Page

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

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 View Related

QueryString And Referencing Anchors In The URL

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

Named CDO Constants

I've been searching for a complete listing of the CDO constants, but have
come up empty. Where can I find a listing of all the CDO named constants
that can be referenced directly with the CDO metadata typelib, i.e.,

<!--
METADATA
TYPE="typelib"
UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library"
-->

View Replies View Related

Named Array Not Numbered

Can I name my array index rather than number?I am reading a RS into an array and rather than reference the fields in each elements using a number, i would lke to use the column headers from the table:

myArray(13,6)

would become

my array(name,6).

The reason is that i am worried about a query being added to in the table and throwing the column numbers out.

View Replies View Related

Jump To Named Anchor

Let's say I have a form like this:

<form action="handler.asp"> ... </form>

Within handler.asp, I output a number of named anchors:

<a name="important1">Important 1</a> ...
<a name="important2">Important 2</a> ...
<a name="important3">Important 3</a> ...

In my form processing code, I want the returned page to jump to one of these anchors depending on the result of the processing.

How can I do this?I don't want to use a redirection because then I would have to
re-process the same page.

View Replies View Related

Creating Dynamic Named Folders

Basically, I would like to create a folder on my server for each user that comes to my site based on their last name which they enter. The code I have below is incomplete as I don't know how to incorporate the lastname into the CreateFolder method.

dim lastname, objFSO
lastname = Request.Form("lastname")
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
folder = Server.mapPath("/test/")
objFSO.CreateFolder(folder)
Set objFSO = Nothing

View Replies View Related

Dynamically Generated Named Ranges

I know it's possible to extract data from a named range on an excel sheet. What I want to know is can I dynamically generate a named range with X columns and Y rows with VBScript.

View Replies View Related

Search Result To Custom Named Page

Here is what I am trying to accomplish.

Language: .asp vbscript

Building a searchable real estate property database (MS Access)

Search page submits form variables to result page.

Works great but I have seen other web sites where the results page is a custom named page. for example.

If you search for homes with the following criteria.

Criteria: Buford, GA 30519

Your results page is named something like the following.

MLS-Buford-GA-30519-10-Distancea-0.aspx

Is this only doable in .aspx or can I accomplish this task in .asp?

View Replies View Related

Unable To Find An Entry Point Named EnumerateSecurityPackagesW In

I am trying to solve the following exception. The exception occurs when my
ASP.NET code behind code attemtps to access a remore site using SSL. Please
note that all certificates are valid and the remote site is trusted. Also, my
web site uses a custom HTTPModule implemented in a DLL named Security.dll.

Unable to find an entry point named EnumerateSecurityPackagesW in DLL
security.dll.

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.EntryPointNotFoundException: Unable to find an
entry point named EnumerateSecurityPackagesW in DLL security.dll.

View Replies View Related

Processing Forms With Dynamically Named Input Items

I am unsure how to process the results of a form where the name of the <input> is generated dynamically i.e.

<input name="X<%=counter%>">

or similar.

How is each input then referred to in the page the form is posted to? I can't see any way to dynamically create variable names in ASP?

View Replies View Related







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