mtlguy123
Junior Member
Posts: 6
Registered: 1/27/2003
Member Is Offline
|
| posted on 1/30/2003 at 08:14 PM |
|
|
New window with no controls
Hi, I was wondering if it was possible to have a new window without any scrollbars, status, toolbars, etc...
In regular HTML, the code would be
text.
I tried only using the javascript part, but it did not work. I'm trying to develop a comment card where the customers can branch into the section
they would like to comment on, like:
AT THE AIRPORT
Length of Lines
At Counter
At baggage
Attitude of Agent
At Counter
At Baggage
ON THE INTERNET
FAQs
Bookings and Fares
So if the user chooses bookings and fares from "on the internet", he would only get a window with a text box and a submit button, and no browsing
buttons and all the works.
Also, this may be far fetched, but I would like to develop it using Access. So say if the user chooses bookings and fares, the new window would
automatically display the section he/she chose and submit it accordingly. Is there a possiblity of coding the links so that the ASP would work? There
would need to be a value for each level | item. It's better than making individual web pages with text boxes for all 42 categories that exist...
Thank you so much!!!!
|
|
|
mtlguy123
Junior Member
Posts: 6
Registered: 1/27/2003
Member Is Offline
|
| posted on 1/30/2003 at 08:22 PM |
|
|
In the Javascript, make that 'windowpart=no', where windowpart can be replaced by scrollbars, toolbar, status, menubar, location or resizable.
|
|
|
mtlguy123
Junior Member
Posts: 6
Registered: 1/27/2003
Member Is Offline
|
posted on 1/30/2003 at 08:35 PM |
|
|
Problem #1 Solved! Still have #2...
Ok! I figured the javascript part!
I am still pretty curious about the ASP/Access part though...
Thanx! This script rocks!
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/31/2003 at 08:37 AM |
|
|
if you want ASP code informed about user's menu selection you can have the form on your page with some hidden fields. When user clicks on the link
you can call javascript code that will fill hidden fields of the form and submit it. For server side script it will look like regular HMTL form
submitted by visitor.
|
|
|
mtlguy123
Junior Member
Posts: 6
Registered: 1/27/2003
Member Is Offline
|
| posted on 1/31/2003 at 05:43 PM |
|
|
ok, so I understood what you mean, and I thank you for answering so quickly.
I'm just confused about the way to go about implementing this.
I know that in a regular form, submitting a hidden field would be like the following:
|
|
|
fschuff
Newbie
Posts: 1
Registered: 11/7/2003
Member Is Offline
|
| posted on 11/7/2003 at 06:09 PM |
|
|
I have the same type of requirement - to send the link page to a specific popup window I create with JavaScript code. I would like to run my script
and then direct the link there.
I could not get this to work coding ['menu-entry', "javascript:location='my-asp-page.asp';createPopup();"]
My javascript createPopup creates window "Popup1" and my-asp-page.asp directs the output to target="Popup1".
I tried it with and without a thrird parameter of {"tw": "Popup1"}.
Should I be able to do this?
Any help would be appreciated. Thanks.
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 11/10/2003 at 09:22 AM |
|
|
The following construction works:
var MENU_ITEMS = [
...
[wrap_child("Popup", null), "javascript:win('popup.html')", null]
...
];
function win(url) {
window.open(url, '_blank')
}
|
|
|