Fullscreen Method / Sending Commands via html

Post your HTML code (as attachments) here and a description of what that scene does.
David2376
Member
Member
Posts: 55
Joined: Thu Dec 02, 2004 6:00 pm
Location: Tampa Bay, FL
Contact:

Fullscreen Method / Sending Commands via html

Postby David2376 » Sat Jan 06, 2007 8:34 pm

Just thought I would share the method I use for launching my control interface in fullscreen. I use a combination of a batch file along with frames. This method works great and is true fullscreen with no status bars, menu bars, etc... I also have included other coding that I found very useful when creating web "scenes".

- Create a batch file for launhing internet explorer:
@ECHO OFF
START iexplore -k C:\directoryofyourstartpage\index.html
EXIT

This launches Internet Explorer in kiosk mode...true full screen.

- Create your pages using a basic frameset:
<HTML>
<FRAMESET>
<FRAMESET ROWS="99.99%,.01%">
<FRAME NAME="main" SRC="main.html" frameborder="0" noresize scrolling="no">
<FRAME NAME="MLServeCmd" SRC="blank.html" frameborder="0" noresize scrolling="no">
</FRAMESET>
</HTML>

This sets your pages into frames without scrollbars. I used a tiny bottom frame to send commands to MLServer. Simply target all commands to the MLServeCmd frame.

- Other useful codes:

Code for getting rid of the annoying IE menu when hovering over images.
<meta http-equiv="imagetoolbar" content="no">

Place above code in the <head> section of your html page.


Below is a must have javascript code if you are using a web browser as a front end. Typically when you run your mouse across the screen (or finger if using a touch screen) everthing gets highlighted. This can be really annoying and not attractive to look at. Simply insert this code on every page at the top of the body section to prevent highlighting anything on the screen.
<!-------------------- NO HIGHLIGHTING SCRIPT -------------------->
<script language="JavaScript1.2">
//Disable select-text script (IE4+, NS6+)
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!-------------------- END NO HIGHLIGHTING SCRIPT -------------------->



Hope this information can be useful to some people. I love the Web Server function built in MLServer!!! Thanks smoothtlk for creating this forum, hopefully it will starting getting some use.

David

Jefferson
Newbie
Newbie
Posts: 2
Joined: Mon Feb 05, 2007 4:14 am
Contact:

Re: Fullscreen Method / Sending Commands via html

Postby Jefferson » Mon Feb 26, 2007 11:08 am

Below is a must have javascript code if you are using a web browser as a front end. Typically when you run your mouse across the screen (or finger if using a touch screen) everthing gets highlighted. This can be really annoying and not attractive to look at. Simply insert this code on every page at the top of the body section to prevent highlighting anything on the screen.
<!-------------------- NO HIGHLIGHTING SCRIPT -------------------->
<script language="JavaScript1.2">
//Disable select-text script (IE4+, NS6+)
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!-------------------- END NO HIGHLIGHTING SCRIPT -------------------->


David,

Do you know how this script can be ammended to work on windows mobile internet explorer?
Thanks.


Return to “MLServer HTML Sharing”

Who is online

Users browsing this forum: No registered users and 1 guest