× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Don,

The "fullscreen" option is available in IE on the window.open function.
It will literally give you a full screen with no visible elements apart form any of your own html.
But you must code a link or button to close it otherwise the operator has to know to press Alt-F4.

The macro below will do this if you use the fullwin() function as the onload function.

However, I have coded the popup() function which I suspect is what you want.
The macro will display Don's Page and automatically launch a popup window for macro "mywindow" at the position and size you desire, just fiddle with the variables for t and w (top and height)

%html(macro) {
<script>
function popup() {
t = 130;
h = screen.height-(t+90)
w = 800
settings = 'toolbar=no'
+ ',location=no'
+ ',directories=no'
+ ',status=no'
+ ',scrollbars=yes'
+ ',resizable=yes'
+ ',copyhistory=no'
+ ',width='+w
+ ',menubar=no'
+ ',top='+t
+ ',left='+ (screen.width-w)/2
+ ',height='+h;
url = "mywindow"
popwin = window.open(url,'PopupWin',settings);
}

function fullwin(){
window.open("mywindow","big","fullscreen,scrollbars")
}

</script>
<body onload="popup()">
Don's page
</body>
%}


%html(mywindow) {
Don's window
%}


Cheers,
dtwdude

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Don Cavaiani
Sent: Saturday, 21 November 2009 11:52 a.m.
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Net.data macro launching a new window

I have a short macro which currently just launches a url in a full browser .

I would like to insert code (JavaScript?) into that macro which would execute the url application in another window DEVOID of all toolbars, back buttons and refresh buttons.

Does anyone have a simple example of that?

TIA,
Don C.

Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063

"It's amazing what you can accomplish if you don't care who gets the credit." Harry S. Truman




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.