Jump to content

Run Automaticly


rvetrano

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>

Link to comment
Share on other sites

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
×
×
  • Create New...