Ask a Question related to Dreamweaver AppDev, Design and Development.
-
bthouin #1
ASP VBS: Equivalent of "self.close" ?
Hi,
Simple question: how do I force, in a server-side script, the page to
close ?
I have this separate page which I create for special users making some
data maintenance of the site, and I'd like the page to "kill itself"
when the user is finished. I can detect that on the server, before the
user sees the page and can close it, but I don't know how to do it.
Thanks for help
Bernard
bthouin Guest
-
animation "open" onPress( animation "close" ) go to Frame "myFrame"
I have searched hi and low for the answer and nothing has helped me as of yet. My Main timeline is sectioned off by keyframes that are 10 frames... -
Is there an equivalent for "alter session set NLS_DATE_FORMAT = 'dd-mm-yyyy'" in Informix?
Hello everybody, does anybody know, if there exists an alternative for "alter session set NLS_DATE_FORMAT = 'dd-mm-yyyy'" in Informix? ... -
Equivalent of "friend" or package-level access?
I have a group of related classes, and I would like them to have certain methods which can only be called by classes within the group. In C++ I... -
frontpage "shared borders" equivalent in Dw
Hi, I'm trying out Dreamweaver MX and I'm adapting to the new environment after using Frontpage. Basically, I wanted to know if there's an... -
Debian Equivalent of Group "Wheel"?
Dear List, Iım a newcomer and tried to find this topic in the archives, but I had trouble using Glimpse to filter out ³wheel mouse². I hope Iım... -
Manuel Socarras #2
Re: ASP VBS: Equivalent of "self.close" ?
i'm not sure what you mean. if a page doesn't have/generate HTML code,
it'll never be seen by the user
bthouin wrote:> Hi,
>
> Simple question: how do I force, in a server-side script, the page to
> close ?
>
> I have this separate page which I create for special users making some
> data maintenance of the site, and I'd like the page to "kill itself"
> when the user is finished. I can detect that on the server, before the
> user sees the page and can close it, but I don't know how to do it.
>
> Thanks for help
> BernardManuel Socarras Guest
-
Julian Roberts #3
Re: ASP VBS: Equivalent of "self.close" ?
Try
Response.Write "<scr" & "ipt>self.close()</script>"
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest
-
bthouin #4
Re: ASP VBS: Equivalent of "self.close" ?
The page in question is a separate, "temporary" page, created by a main
page, a croos between a MsgBox and a completely normal HTML page. That
separate page, like every ASP page, consists of a lot of server-side
scripts, and of an HTML part (also with some server-side scripts in it).
When the user submits that page, in some cases the processing done on
what the user entered tells the script: OK, the user is finished, the
page should be "killed", i.e. there is no need to show the page to the
user, because he is done, and he should "return" to the main page (which
is still open underneath). I'm searching for a neat way for the page to
"destroy itself" without the user having to click on the top right
"kill" icon, that's all. And I don't know how to do it. But I think
Julian has given me the answer. I'll try his suggestion.
Regards
Bernard
Manuel Socarras wrote:> i'm not sure what you mean. if a page doesn't have/generate HTML code,
> it'll never be seen by the user
>
> bthouin wrote:
>>> Hi,
>>
>> Simple question: how do I force, in a server-side script, the page to
>> close ?
>>
>> I have this separate page which I create for special users making some
>> data maintenance of the site, and I'd like the page to "kill itself"
>> when the user is finished. I can detect that on the server, before the
>> user sees the page and can close it, but I don't know how to do it.
>>
>> Thanks for help
>> Bernardbthouin Guest
-
bthouin #5
Re: ASP VBS: Equivalent of "self.close" ?
Brilliant, Julian, it works ! What's the trick of separating "scr" and
"ipt" ? I tried not separating, and it did not work anymore. Is it to
fool the interpreter into thinking it's just a normal text ?
Bernard
Julian Roberts wrote:> Try
>
> Response.Write "<scr" & "ipt>self.close()</script>"
>bthouin Guest
-
Julian Roberts #6
Re: ASP VBS: Equivalent of "self.close" ?
Yeah, for some reason, you can't have
Response.Write "<script>"
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest
-
Manuel Socarras #7
Re: ASP VBS: Equivalent of "self.close" ?
now i have a doubt, i have a page where i generate a JS array
dinamically without problems with the <SCRIPT> tag. wich is the
difference, the close() method?
<%
Response.Write "<SCRIPT>price = new Array("
If ... Then
...
Response.Write arrayValues & ");</SCRIPT>"
Else
...
Response.Write ");"
Response.Write "price[0] = " & arrayValues & ";</SCRIPT>"
End If
%>
Julian Roberts wrote:> Yeah, for some reason, you can't have
>
> Response.Write "<script>"
>Manuel Socarras Guest
-
Julian Roberts #8
Re: ASP VBS: Equivalent of "self.close" ?
By golly, you're right. It must have been fixed in IIS5 and I never noticed,
lol.
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest
-
bthouin #9
Re: ASP VBS: Equivalent of "self.close" ?
Julian,
It works, brilliant !
But what's the trick with separating "<scr" and "ipt>" ? So that the
compiler doesn't notice it's a script statement. I tried without
separation, and it didn't work anymore, that's why I ask.
Regards
Bernard
Julian Roberts wrote:> Try
>
> Response.Write "<scr" & "ipt>self.close()</script>"
>bthouin Guest



Reply With Quote

