473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Dynamically specifying an anchor and name/value pairs

Hi everybody

Need your help.

I have a DB-extracted list of say 5 items per page, which have links on each
one that takes you to more detailed info on the 'clicked' particular item.
When you are taken to the more detail page I have a link to take you back to
the list. This all works fine and is standard stuff.

My problem is that the user wants the go back link on the detail page to
take them to specific item on the 5 items per page list.

Now I know I need an anchor to force the list page to move to the particular
item within the list page and I've already created a routine whereby I use a
counter, as I'm listing the DB-extracted items to the page, to act as the
anchor name for each item and I also querystring this onto the detail page
for it to extract and put in the return address, but when you click on the
return address its as if the anchor info in the URL has chopped off all of
the name/value pair parameters, eg:

http://mydomain.com/search-results.a...=0&max=2000000

The 'x3' is the anchor-positioner, but I get an error back saying the type
param does not exist. Have I put the anchor in the right place? Can I not
have an anchor value and name/value pair list in the same string?

Thanks

Robbie
Jul 22 '05 #1
2 2074
sorted it - you put it at the end don't you!
"Astra" <in**@noemail.com> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...
Hi everybody

Need your help.

I have a DB-extracted list of say 5 items per page, which have links on each
one that takes you to more detailed info on the 'clicked' particular item.
When you are taken to the more detail page I have a link to take you back to
the list. This all works fine and is standard stuff.

My problem is that the user wants the go back link on the detail page to
take them to specific item on the 5 items per page list.

Now I know I need an anchor to force the list page to move to the particular
item within the list page and I've already created a routine whereby I use a
counter, as I'm listing the DB-extracted items to the page, to act as the
anchor name for each item and I also querystring this onto the detail page
for it to extract and put in the return address, but when you click on the
return address its as if the anchor info in the URL has chopped off all of
the name/value pair parameters, eg:

http://mydomain.com/search-results.a...=0&max=2000000

The 'x3' is the anchor-positioner, but I get an error back saying the type
param does not exist. Have I put the anchor in the right place? Can I not
have an anchor value and name/value pair list in the same string?

Thanks

Robbie

Jul 22 '05 #2
lol yip...... thou duth <g>

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Astra" <in**@noemail.com> wrote in message news:#$**************@TK2MSFTNGP15.phx.gbl...
sorted it - you put it at the end don't you!


"Astra" <in**@noemail.com> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...
Hi everybody

Need your help.

I have a DB-extracted list of say 5 items per page, which have links on each
one that takes you to more detailed info on the 'clicked' particular item.
When you are taken to the more detail page I have a link to take you back to
the list. This all works fine and is standard stuff.

My problem is that the user wants the go back link on the detail page to
take them to specific item on the 5 items per page list.

Now I know I need an anchor to force the list page to move to the particular
item within the list page and I've already created a routine whereby I use a
counter, as I'm listing the DB-extracted items to the page, to act as the
anchor name for each item and I also querystring this onto the detail page
for it to extract and put in the return address, but when you click on the
return address its as if the anchor info in the URL has chopped off all of
the name/value pair parameters, eg:

http://mydomain.com/search-results.a...=0&max=2000000

The 'x3' is the anchor-positioner, but I get an error back saying the type
param does not exist. Have I put the anchor in the right place? Can I not
have an anchor value and name/value pair list in the same string?

Thanks

Robbie




Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Andrew Thompson | last post by:
I have written a few scripts to parse the URL arguments and either list them or allow access to the value of any parameter by name. <http://www.physci.org/test/003url/index.html>...
39
by: Randell D. | last post by:
Folks, I'm sure this can be done legally, and not thru tricks of the trade - I hope someone can help. I'm writing a 'tool' (a function) which can be used generically in any of my projects. ...
3
by: DaveF | last post by:
I need to put it in a specific place. Here is the old code switch(CAMERA_TYPE_ID) { case "0": case "7": // this is an image
10
by: Kathy Burke | last post by:
HI. in asp.net app, I have an xmlDocument that I transform to the client html. Using xsl I create a few textboxes to capture user input. Each of these are related to <data> elements in the xmlDoc....
0
by: Diane Yocom | last post by:
I'm very new to ASP.Net and probably jumped in a little over my head, but... I'm trying to create a user control that will control navigation through my site. It's sortof like Amazon.com, where...
10
by: elibol | last post by:
Hi, Is there an event that fires when the back or forward button on a browser is pressed? I need an event to fire when someone clicks the back or forward button after an anchor has been set. ...
2
by: muthu | last post by:
Hi freinds, In my aspx page i have generated some check boxes dynamically using dhtml. When i check any check box and submit the form,how can i capture the value of check box. How should i...
2
by: James Black | last post by:
I am dynamically generating a table in IE to display some information. I will probably change it to divs later, but I just want to get it working properly first. In my div I have the following...
1
by: PraveenAnekalmat | last post by:
Hi everyone, I'm using anchor within the for loop which means the number of anchors(links) dynamically varies. Within the anchor i'm calling one javascript function and passing the dynamic value...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.