Einzelnen Beitrag anzeigen

Benutzerbild von jfheins
jfheins

Registriert seit: 10. Jun 2004
Ort: Garching (TUM)
4.579 Beiträge
 
#2

Re: [Javascript] Referer übertragen mit window.open()

  Alt 20. Nov 2004, 18:00
Machs doch einfach mit einer Variable, die angehängt wird ...
z.B. so:
Code:
<a href=\"window.open(
'modules.php?name=help&seite=$PHP_SELF',
'fenster',
'menubar=no,
locationbar=no,
resizable=YES,
scrollbars=YES,
status=no')\" >
Oder wenn du eine Seite à la .../index.php?seite=xyz hast, so:
Code:
<a href=\"window.open(
'modules.php?name=help&seite=$seite',
'fenster',
'menubar=no,
locationbar=no,
resizable=YES,
scrollbars=YES,
status=no')\" >
oder so:
Code:
<a href=\"window.open(
'modules.php?name=help&seite=".$PHP_SELF."?".$QUERY_STRING."',
'fenster',
'menubar=no,
locationbar=no,
resizable=YES,
scrollbars=YES,
status=no')\" >
  Mit Zitat antworten Zitat