HighDots Forums  

Re: hiding toolbars etc

alt.html alt.html


Discuss Re: hiding toolbars etc in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bob Calvanese
 
Posts: n/a

Default Re: hiding toolbars etc - 07-06-2003 , 12:39 AM






<script>
function OpenForm(){
window.open("MyPage.asp","width=300,height=200");
}
</script>

<a href="OpenForm();">Link to open MyForm</a>

"Rob Ellison" <rob1 (AT) teamhardcore (DOT) co.uk> wrote

Quote:
hi, i have a form that when you press submit, posts data to an asp page.
i want this resulting asp page to be in its own window with no toolbars
(completly blank) and a specifc size (say 300x200) is this possible, and
if
so, how do i do it??
i'm completly new to this, so have no idea at all!
thanks for any help






Reply With Quote
  #2  
Old   
Toby A Inkster
 
Posts: n/a

Default Re: hiding toolbars etc - 07-06-2003 , 04:47 AM






On Sun, 06 Jul 2003 00:39:50 -0400, Bob Calvanese wrote:

Quote:
script
function OpenForm(){
window.open("MyPage.asp","width=300,height=200");
}
/script

a href="OpenForm();">Link to open MyForm</a
or better:

<script>
function OpenForm(){
window.open("MyPage.asp","width=300,height=200");
}
</script>

<a href="MyPage.asp" onclick="OpenForm();return false;">Link to open
MyForm</a>

as this will work for browsers that don't understand JavaScript (e.g.
Lynx, secure installations of IE, Googlebot...)

--
Toby A Inkster BSc (Hons) ARCS | mailto:tobyink (AT) goddamn (DOT) co.uk | pgp:0x6A2A7D39
aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:tai (AT) jabber (DOT) linux.it
http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
playing://(nothing)


Reply With Quote
  #3  
Old   
Bob Calvanese
 
Posts: n/a

Default Re: hiding toolbars etc - 07-06-2003 , 01:29 PM



Yes... You are correct...
I was merely demonstrating the basic approach of how to do this.
Thanks
Bob Calvanese

"Toby A Inkster" <UseTheAddressInMySig (AT) deadspam (DOT) com> wrote

Quote:
On Sun, 06 Jul 2003 00:39:50 -0400, Bob Calvanese wrote:

script
function OpenForm(){
window.open("MyPage.asp","width=300,height=200");
}
/script

a href="OpenForm();">Link to open MyForm</a

or better:

script
function OpenForm(){
window.open("MyPage.asp","width=300,height=200");
}
/script

a href="MyPage.asp" onclick="OpenForm();return false;">Link to open
MyForm</a

as this will work for browsers that don't understand JavaScript (e.g.
Lynx, secure installations of IE, Googlebot...)

--
Toby A Inkster BSc (Hons) ARCS | mailto:tobyink (AT) goddamn (DOT) co.uk |
pgp:0x6A2A7D39
aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:tai (AT) jabber (DOT) linux.it
http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
playing://(nothing)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.