Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Dynamically specifying an anchor and name/value pairs

Reply
Thread Tools

Dynamically specifying an anchor and name/value pairs

 
 
Astra
Guest
Posts: n/a
 
      03-11-2005
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


 
Reply With Quote
 
 
 
 
Astra
Guest
Posts: n/a
 
      03-11-2005
sorted it - you put it at the end don't you!


"Astra" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
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



 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      03-11-2005
lol yip...... thou duth <g>

--
Regards

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

Keeping it FREE!

"Astra" <(E-Mail Removed)> wrote in message news:#$(E-Mail Removed)...
> sorted it - you put it at the end don't you!
>
>
> "Astra" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> 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
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help adding "onclick" event to anchor tag dynamically pbd22 ASP .Net 4 10-24-2007 04:07 PM
I need help adding "onclick" event to anchor tag dynamically pbd22 ASP .Net 1 10-24-2007 01:45 PM
Dynamically create an anchor tag Andrew Javascript 1 12-13-2006 10:07 AM
specifying a query string in an href dynamically Robert Rotstein ASP .Net 1 11-25-2005 03:41 AM
Specifying __slots__ in a dynamically generated type Ron Garret Python 7 03-28-2005 02:52 AM



Advertisments