Ist zwar etwas kompliziert, aber es funktioniert:
if (!isset($ofrid))
{
echo "if (window.location.search.length == 0)";
echo " parm = '?';";
echo "else parm = '&';";
echo "var ofrid = window.location.hash.substr(1,window.location.hash.length -1);";
echo "var cloc = \"". $_SERVER["SCRIPT_URI"] . $_SERVER["QUERY_STRING"] ."\";";
echo "if (window.location.hash.length > 0)";
echo "window.location.href = cloc + parm + 'ofrid=' + ofrid + window.location.hash;";
}
?>
Viele Grüße,
Pims
http://www.breitkopf-art.de
geschrieben von
Pims
,
25.07.2003, 13:24 Uhr
, 30 mal gelesen