Jump to content
Sign in to follow this  

Run Automaticly

Recommended Posts


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.


Bob v


        <div id="Banner">
            <!--<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
            <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>

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.

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.

Sign in to follow this  

  • Create New...