BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Web Action new window

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
George Mirza
Guest





PostPosted: Tue Dec 09, 2003 3:41 pm    Post subject: Web Action new window Reply with quote



Is it possible to redirect a web action to a new window and specify the
window size, toolbar, scrollbars,...

thanks,


Back to top
Robert MacLean
Guest





PostPosted: Wed Dec 10, 2003 7:10 am    Post subject: Re: Web Action new window Reply with quote



George Mirza was moved enough, that he took time and energy to create the a news
post (which will probebly come back to haunt him in the future):

Quote:
Is it possible to redirect a web action to a new window and specify
the window size, toolbar, scrollbars,...

Not with Delphi, with javascript you could.



Back to top
Fiqri
Guest





PostPosted: Wed Dec 10, 2003 7:10 am    Post subject: Re: Web Action new window Reply with quote



Hi,

you can use this by a simple javascript...

Your html code :

<script language="javascript">

funciton doPopup() {

window.open( "windowname", "http://localhost/yourapp/yourdll/webaction",
""width=550, height=500"" )

}

</script>


Inside DELPHI or html:

<a href="javascript:doPopup()">click here</a>


Hope this helps
Regards
Fiqri



"George Mirza" <gfmirza (AT) hotmail (DOT) com> wrote

Quote:
Is it possible to redirect a web action to a new window and specify the
window size, toolbar, scrollbars,...

thanks,





Back to top
George Mirza
Guest





PostPosted: Wed Dec 10, 2003 11:56 pm    Post subject: Re: Web Action new window Reply with quote

What am I missing?


"Robert MacLean" <robert (AT) nospam (DOT) sadev.co.za> wrote

Quote:
George Mirza was moved enough, that he took time and energy to create the
a news
post (which will probebly come back to haunt him in the future):

Is it possible to redirect a web action to a new window and specify
the window size, toolbar, scrollbars,...

Not with Delphi, with javascript you could.





Back to top
George Mirza
Guest





PostPosted: Wed Dec 10, 2003 11:57 pm    Post subject: Re: Web Action new window Reply with quote


The problem is the new window is initiated from the server from a web
action. Is there a combination Delphi/javascript to accomplist this.

thanks,

George


"Fiqri" <fiqri (AT) msn (DOT) com> wrote

Quote:
Hi,

you can use this by a simple javascript...

Your html code :

script language="javascript"

funciton doPopup() {

window.open( "windowname", "http://localhost/yourapp/yourdll/webaction",
""width=550, height=500"" )

}

/script


Inside DELPHI or html:

a href="javascript:doPopup()">click here</a


Hope this helps
Regards
Fiqri



"George Mirza" news:3fd5ed3a$1 (AT) newsgroups (DOT) borland.com...
Is it possible to redirect a web action to a new window and specify the
window size, toolbar, scrollbars,...

thanks,







Back to top
Robert MacLean
Guest





PostPosted: Thu Dec 11, 2003 6:09 am    Post subject: Re: Web Action new window Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

George Mirza was moved enough, that he took time and energy to create
the a news post (which will probebly come back to haunt him in the
future):

Quote:
The problem is the new window is initiated from the server from a
web action. Is there a combination Delphi/javascript to accomplist
this.

Have the action send back the html+javascript
and in the body tag of the html have a trigger to execute the
javascript.
not the easiest way, but it gets the job
- --
- --
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
Robert MacLean
[email]robert (AT) sadev (DOT) co.za[/email]
http://www.sadev.co.za
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][]

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBP9gKGGKbqld7dYgLEQIkLQCfbSjQAN5lPfmBNlSrlOzwRUmsyTkAoOGl
HLYm8EC5c626+FZE1W/UFcRM
=Ii9J
-----END PGP SIGNATURE-----



Back to top
George Mirza
Guest





PostPosted: Thu Dec 11, 2003 3:17 pm    Post subject: Re: Web Action new window Reply with quote

But that means you end up with two forms? do you have an example?

thanks,

"Robert MacLean" <robert (AT) nospam (DOT) sadev.co.za> wrote

Quote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

George Mirza was moved enough, that he took time and energy to create
the a news post (which will probebly come back to haunt him in the
future):

The problem is the new window is initiated from the server from a
web action. Is there a combination Delphi/javascript to accomplist
this.

Have the action send back the html+javascript
and in the body tag of the html have a trigger to execute the
javascript.
not the easiest way, but it gets the job
- --
- --
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
Robert MacLean
[email]robert (AT) sadev (DOT) co.za[/email]
http://www.sadev.co.za
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][]

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com

iQA/AwUBP9gKGGKbqld7dYgLEQIkLQCfbSjQAN5lPfmBNlSrlOzwRUmsyTkAoOGl
HLYm8EC5c626+FZE1W/UFcRM
=Ii9J
-----END PGP SIGNATURE-----





Back to top
Robert MacLean
Guest





PostPosted: Thu Dec 11, 2003 3:21 pm    Post subject: Re: Web Action new window Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

George Mirza was moved enough, that he took time and energy to create
the a news post (which will probebly come back to haunt him in the
future):

Quote:
But that means you end up with two forms?
Nope, you don't have any forms. you do end up with 2 windows (the

javascript created one and the one that created it).

Quote:
do you have an example?
Unfortunately nothing I can give out. But I can assure you it does

work. Maybe speak to some javascript people and get the js code to
make the window popup and size and everything you want and post it
here, and i can help from that a bit for you.

- --
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
Robert MacLean
[email]robert (AT) sadev (DOT) co.za[/email]
http://www.sadev.co.za
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][]

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBP9iLiGKbqld7dYgLEQIsKACeJ4j4Hv6vu5fJT330oTC+DfvxXUAAoKfB
O/0xQb92/UubMxSxO4/QiQiM
=47Sh
-----END PGP SIGNATURE-----



Back to top
Dmeister
Guest





PostPosted: Wed Dec 17, 2003 1:24 am    Post subject: Re: Web Action new window Reply with quote

Yes with delphi and javascript. You open a new window with javascript and
set the URL to your ISAP/CGI and set the remaining window properties. See
the Javascript window.open method....

"Robert MacLean" <robert (AT) nospam (DOT) sadev.co.za> wrote

Quote:
George Mirza was moved enough, that he took time and energy to create the
a news
post (which will probebly come back to haunt him in the future):

Is it possible to redirect a web action to a new window and specify
the window size, toolbar, scrollbars,...

Not with Delphi, with javascript you could.





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.