WEB AND COMPUTER INFORMATION

Lot's of very useful information to solve your problems as far as dealing with many of the typical problems and some not so typical problems that we run into when working on a computer.

Create a Simple Pop-Up






by Roger Chartier:

Here is a simple way to create a pop-up in Dreamweaver


It might work in other web creators as well.

You insert Code A: in the head section of your page

You insert Code B: in the body at the place that you want the link to open the pop-up to be.



A: In the head

<script>
function messageWindow() {
alert("The message you want to appear");
}
</script>





B: In the body where you want the link/button to be.


<div id="moreBtn"
onClick="messageWindow()">
<button id="Button1">YOUR BUTTON LABEL</button>
</div>
 OR
<script type="text/javascript">
$(function() {
$( "#Button1" ).button();
});
</script>







Roger Chartier       Disclaimer - Privacy Policy The Author - Roger Chartier

Search