Results 1 to 4 of 4

Thread: Working with frames within an HTA

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    30

    Exclamation Working with frames within an HTA

    I'm trying to create an HTA application, and so far things are going well. However, I would like to add two images to the top of the HTA window, and within a frame.

    However, from what I know about frames (which is very little working knowledge), you have to provide a SRC link to an HTML page. Is there any other way of displaying content within a frame without a SRC?

    Thanks,

    Chris

    {EDIT}

    Just in case, here is the code I'm using:

    Code:
    <html>
      <body>
    	<frameset rows="25%,75%" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>
    		<frame name="_header" scrolling=0>
    			<img align=left src="http://www.axcentsolutions.com/images/axcent.jpg">
    			<img align=right src="http://www.axcentsolutions.com/images/questionmark.jpg">
    		</frame>
    		<frame name="_body">
    			<form name="DomainAssessment">
    				<B>Please enter in the following:</B><BR>
    				<BR>	
    				<B>Company name:</B><input id=companynamefield class=text type=text name="companyname_field" tabindex=1><BR>
    				<B>Report path:</B><input id=HTMLReportLocation size=50 type=text name=HTMLReportLocation tabindex=2><font color=ff0000></font><BR>
    				<B>Please select a domain or multiple domains from the list:</B><BR>
    				<div id="ListOfDomains">
    				</div>
    			
    		
    				<HR>
    				<input id=runbutton  class="button" type="button" value="Run"  name="run_button"  onClick="RunScript()" tabindex=4>
    				<input id=quitbutton class="button" type="button" value="Quit" name="quit_button" onclick="QuitScript()" tabindex=5>
    				<BR>
    				<input id=Debuggingcheckbox class="checkbox" type="checkbox" name="debug_checkbox" tabindex=6>Debug output?<BR>
    				<font size="1">If selected, report will be saved to C:\DEBUG.TXT</font>
    			</form>
    			<div align=Left><font color=#000080 size=1>©2003 Chris Lynch</font><BR>
    			<div align=Left><font color=#000080 size=1>©2003 Axcent Solutions, Inc.</font><BR>
    			<font size=4>ALPHA RELEASE</font>
        	</frame>
        </frameset>
      </body>
    </html>
    {/EDIT}
    Last edited by Shadow07; Sep 19th, 2003 at 12:20 PM.
    Chris Lynch

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width