Jump to content

Recommended Posts

Posted (edited)

Dose anyone know how to send an external program instructions using javascript?

Or how to create a html page that is a certain size like 100x100, tht has no boarders, no buttons, or anything of that sort, and to be able to position the window, like a pop up box that can't be closed without using (Alt+F4) and then be able to send javascript commands between 2 windows. Info from one window sent to this window?

If so can you show me how to do any of it.

Edited by almulder

Posted
Dose anyone know how to send an external program instructions using javascript?

Or how to create a html page that is a certain size like 100x100, tht has no boarders, no buttons, or anything of that sort, and to be able to position the window, like a pop up box that can't be closed without using (Alt+F4) and then be able to send javascript commands between 2 windows. Info from one window sent to this window?

If so can you show me how to do any of it.

heres a page that will give you an ideal on javascripting remote controlled windows

http://www.javascriptkit.com/javatutors/remote2.shtml

the only thing i can think of to resize it 100 by 100 and positioning it would be to use some what of an onlick method

example

onClick="window.open('./UserManual/manual.html','mywindow',& #39;width=700,height=400,left=0,top=100,screenX=0,

screenY=100,scrollbars=yes,toolbar=no,directories=

no,location=no,status=no,menubar=no,resizable=no,'); return false"

but as for having it chromless meaning with out having buttons to control its shut down,, i have no clue on how to make one that isnt full screen,, because the only way that i know of to make a window chromless is by using the windows variable fullscreen effect

im no javascript expert im only some one on a quest to learn it better, so thats te best i can do for you,, i hope some of the information helps you alittle

best of luck :)

Posted

Maybe not a whole new .html file but maybe the content in a tag (like <div></div>) that you can show, hide, move almost anywhere with CSS, which could be controlled by the JS (eg.. document.getElementById("div_id").style.top = "100px";)?

There's even a way to give this floating window a drop shadow. Check out the popups for Google Maps to see what I mean :)

You could even get fancy a create some "windows" like the one on this site (login as a Guest :) ): LFS World

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...