Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: New window with no controls
mtlguy123
Junior Member

Posts: 6
Registered: 1/27/2003
Member Is Offline
posted on 1/30/2003 at 08:14 PM Reply With Quote
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!!!!
View User's Profile View All Posts By User U2U Member
mtlguy123
Junior Member

Posts: 6
Registered: 1/27/2003
Member Is Offline
posted on 1/30/2003 at 08:22 PM Reply With Quote

In the Javascript, make that 'windowpart=no', where windowpart can be replaced by scrollbars, toolbar, status, menubar, location or resizable.
View User's Profile View All Posts By User U2U Member
mtlguy123
Junior Member

Posts: 6
Registered: 1/27/2003
Member Is Offline
smile.gif posted on 1/30/2003 at 08:35 PM Reply With Quote
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!
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 1/31/2003 at 08:37 AM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
mtlguy123
Junior Member

Posts: 6
Registered: 1/27/2003
Member Is Offline
posted on 1/31/2003 at 05:43 PM Reply With Quote

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:




How is this implemented in the following:
Code:
['WaitTime', "javascript:location='menu.html';window.open('popup.html','Airing','HEIGHT=500,WIDTH=400,scrollbars=yes')"],


And is there also a way to have more than one javascript command for an item? I also wanted to hide the address in the status bar when the mouse is over the link. It's easy javascript, but because I already had javascript, I didn't know how to mix both.

You know, it's very kind of you to offer so much support to people who haven't purchased software. I do want to let you know that I'm definitely buying either the pro or the gold version soon, once the my project gets approved, since I need support on the most browsers possible.

Thank you!
View User's Profile View All Posts By User U2U Member
fschuff
Newbie

Posts: 1
Registered: 11/7/2003
Member Is Offline
posted on 11/7/2003 at 06:09 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 11/10/2003 at 09:22 AM Reply With Quote

The following construction works:

var MENU_ITEMS = [
...
[wrap_child("Popup", null), "javascript:win('popup.html')", null]
...
];

function win(url) {
window.open(url, '_blank')
}
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004