[Gllug] OT: specifying anchors and cgi parameters in a single URI

Ryan Cartwright ryan at crimperman.org
Fri Feb 24 13:36:53 UTC 2006


Hi all,

very OT. Sorry - I have posted this to 
comp.infosystems.www.authoring.html as well - just wondering if anyone 
here can advise on this.

I need some advice on specifying URIs.

In a dynamic page (perl driven) we list a number of items presented in 
an hierarchical tree structure. Within that page is a form which allows 
you to search for items containing various strings (trying to get the 
users to *remember* CTRL+F was proving fruitless). The results are then 
presented at the top of the page with links to the relative anchor 
references (<a href="#foo">) . When clicked these would take you to that 
item in the hierarchical tree.

The problem is that the URI of the page itself contains CGI parameters 
( e.g. http://www.foo.com/script.cgi?p=1&r=2 ) and these are carried 
over to the URIs containing the anchors ( e.g. 
http://www.foo.com/script.cgi?p=1&r=2#foo ).

These URIs containing parameters and anchors work in IE (6 and below) 
but not in Moziall,Firefox, Konqueror or Opera. Any ideas on what I can 
do to enable the same functionality cross-browser?

cheers
Ryan
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list