joshk2000
12-03-2003, 01:24 PM
hi im new :) and creating a 'send this link to a friend page'
I have a question that is driving me crazy.
I have a page that uses dreamweavers popup window behavior to launch a NEW window. this window has no scroll, menu,toolbar etc and it gets those attributes from the link on the main site. the window opens fine and looks good, except one problem, i can get the file name of the window that launched it (using coldfusions CGI.HTTP_REFERER)... It seems that when i use this dreamweaver function the window that launched it - in this case ill call it the REFERING WINDOW - is not recognized by the popup window. So basically i cant get the REFERING window file name. which i obviously need inorder to send the link to a friend.
What DOES work...
I can simply create a link to the 'sendthis link to a friend file' and have it target a _blank document and THEN i can use CGI.http_referer to get the name of the file.
BUT...
when i do this the window has all the toolbars etc on it since it wasnt launched from a function that built the window with them removed- and i dont want them because they look ugly.
SO...
is there a way for that window to "self removev the toolbars etc? this way i could pass the proper info on from the REFERING window and still have it look nice.
thank you very much in advance ( not refering to time but the amount of thanks that i offer)
ALSO...
can you explain the difference between using a function to launch a window with a function VS linking to a new document using target _ Blank?
Josh
Have a good one.
I have a question that is driving me crazy.
I have a page that uses dreamweavers popup window behavior to launch a NEW window. this window has no scroll, menu,toolbar etc and it gets those attributes from the link on the main site. the window opens fine and looks good, except one problem, i can get the file name of the window that launched it (using coldfusions CGI.HTTP_REFERER)... It seems that when i use this dreamweaver function the window that launched it - in this case ill call it the REFERING WINDOW - is not recognized by the popup window. So basically i cant get the REFERING window file name. which i obviously need inorder to send the link to a friend.
What DOES work...
I can simply create a link to the 'sendthis link to a friend file' and have it target a _blank document and THEN i can use CGI.http_referer to get the name of the file.
BUT...
when i do this the window has all the toolbars etc on it since it wasnt launched from a function that built the window with them removed- and i dont want them because they look ugly.
SO...
is there a way for that window to "self removev the toolbars etc? this way i could pass the proper info on from the REFERING window and still have it look nice.
thank you very much in advance ( not refering to time but the amount of thanks that i offer)
ALSO...
can you explain the difference between using a function to launch a window with a function VS linking to a new document using target _ Blank?
Josh
Have a good one.