Jump to content
Sign in to follow this  
rvetrano

Run Automaticly

Recommended Posts

Hi,

As You can tell I'm fairly new to HTML.

Have this code and when I pick the button it prompts me if I want to run this code and I have to chose yes in order for it to run.

Would like it run when I select button.

Thanks.

Bob v

 

<body>
        <div id="Banner">
            <div>
            
            <!--<a href="Stair-E-2.pdf" target="_blank"><img src= "Stair plan.jpg" width= "150" height="100" ></a> -->
            
            <button onclick="window.open('file:///C:/Windows/notepad.exe')">    Launch notepad
            </button>
            
            
            <h3 style="position: absolute; z-index: 1; margin-left: 250px; top: 800px;">CLICK ON IMAGE TO ENLARGE<br>MORE AVAILABLE UPON REQUEST</h3>
            <p><a href="index.html"><input type="submit" value="RETURN" style="position: absolute; z-index: 1; margin-left: 650px; top: 800px;"></a></p>
                                
            </div>
</body>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...