most people (doctors) will be launching from the exe file which I have set up to auto run. How would I go about attaching the Javascript for the exe.
Thanks
cs
Printable View
most people (doctors) will be launching from the exe file which I have set up to auto run. How would I go about attaching the Javascript for the exe.
Thanks
cs
You can't put the JavaScript in the EXE at all. JavaScript requires a browser so you will have to put that code in the < head> section of any HTML files that you want resized.
But many modern browers like IE and FF will give warnings if a local file tries to access javascript functions..
So i would highly suggest: Forget about a custom size.
(we achieve it @ work with a custom EXE which runs its own IE control.. )
How about centering the content in those html pages, for a nice look 'n feel?
[edit]
@jasonsplace:
I think he doesn't know how happy he can be, having the "double-feature-help" ;)
I agree with McUsher...in fact I made a small browser one time for someone but I don't know whatever happened to it but the security warnings will probably scare clients away.
BTW....What is "double-feature-help"?
@ jasonsplace:
Mostly the experienced people in here grab one person, that needs help and (hopefully) help until the problem is solved.
Very rarely 2 experienced people simultaniously care about one with a prob...
I consider this being a "double-feature"... (remember, i talk Krautenglish ;) )
I see and it's true...I usually avoid any thread that already has replies unless I can tell I have a guaranteed fix from just the title which isnt very often....I will also look sometimes if it looks like something interesting.
We are what our politians should be:
Same of a kind.. ;)
Sorry @ cspohr for getting a bit offtopic :)
No problem guys I really appreciate the help. You both are bailing me out big time. I have been very impressed with how both of you are helping me out.
Now how do I go about centering the object in the html code. Will this keep it nice and neat so there are not breaks in the images when the browser window is adjusted in and out by the user.
I have an idex.html file that shows me the size 750 x 550 and then the launch.html does not have the size. Like I said I did not create these files. Here is the code for the launch.html that I think is where I should place the size constaints.
<html>
<head>
<title>Powered By Accordent</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset cols="770,*" framespacing="0" frameborder="NO" border="0">
<frameset rows="550,*" framespacing="0" frameborder="NO" border="0">
<!-- actual frame goes here -->
<frameset rows="18%,82%" frameborder="NO" border="0" framespacing="0">
<frame src="top.html" name="region2" scrolling="NO" noresize id="region2">
<frameset cols="32%,68%" framespacing="0" frameborder="NO" border="0">
<frame src="left.html" name="video" scrolling="NO" noresize id="video">
<frame src="clear.html" name="region1" scrolling="NO" noresize id="region1">
</frameset>
</frameset>
<!-- frame end here -->
<frame src="blank.html" name="topFrame" scrolling="NO" noresize>
</frameset>
<frame src="blank.html" name="topFrame" scrolling="NO" noresize>
</frameset>
<noframes>Your browser does not support Frameset!</noframes>
</html>
or should I do it in the index.html?
Thanks
chris
which is...
<html>
<head>
<title>Powered by ACCORDENT</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="800" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="800" height="137"><img src="index_01.gif"></td>
</tr>
<tr>
<td width="800" height="422" valign="top" background="index_02.gif">
<table width="800" height="132" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="64" colspan="3" valign="top"> </td>
</tr>
<tr>
<td width="47" height="33" valign="bottom"> </td>
<td colspan="2" valign="bottom"><font color="#333333" size="4" face="Arial, Helvetica, sans-serif">To View Presentation</font></td>
</tr>
<tr>
<td height="35"> </td>
<td width="153" height="35" align="right">
<br><a href="#" onclick="MM_openBrWindow('launch.html','pres','wid th=750,height=550')"><img src="button.gif" width="79" height="28" border="0"></a></td>
<td width="600"> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="800" height="41"><img src="index_03.gif"></td>
</tr>
</table>
</body>
</html>
Thanks again
Chris
omg.. sorry but i don't get it:
You have a launch.html which contains some framesets and in one of the frames
you open launch.html again??!?
And the javascript in the index.html is no good.. but we expained that before..
That looks somehow very "old-stylish" ...
(the frameset code makes me feel like beeing an archaeologist ;) )
If i were you i'd totally omit those old launch htmls and write new ones..
that is pretty funny... we outsourced for this html coding to be done, it figures that it would be crappy.
So is there a way that I can input some Javascript into the launch.html code to constrain the proportions to 750 x 550 or to center the content in the html pages.
Thanks
Chris
Please read again, what we wrote about javascript in local (from drive) http documents...
got ya, sorry I had to go back a page. I will let you know if it works.
Thanks
Chris