So in the page header section I put this
Code: Select all
<script language="Javascript" Type="text/Javascript">
<!--
// Disclaimer
function disclaimer(jumpurl){
if (confirm("You are leaving my company web site who are not "+
"responsible for the content "+
"of external sites.\n"+
"\nClick OK to proceed to your chosen link\n"+
"or write down the link below and enter it yourself into your own internet browser\n"+
"Press CANCEL to stay on this page\n"+
"\n"+jumpurl+"\n")) {
window.open(jumpurl);
}
}
//-->
</script>
Code: Select all
javascript:disclaimer('http://www.wysiwygwebbuilder.com')
The window.open command opens a new window so in the WB navigation menu options use "Open is the same Browser" option.
Now you are done hyper links with popup disclaimers and an option to hyperlink or not.
Martin