pop up window

B

Beth

On my website, I am trying to create a small pop up
window that will display a small amount of information
when the link is clicked. I do not want to create a
whole new page for this bit of information. Please tell
me how to do this in Frontpage Beta 2003. Thank you.
 
J

Jim Cheshire

You can use the Open Browser Window behavior applied to the <a> tag. That
way, if the user has JavaScript disabled, it will still follow the link.

If you want more options, you can use Spawn from my Web site.

--
Jim Cheshire
Jimco Add-ins
http://www.jimcoaddins.com
===================================
Co-author of Special Edition
Using Microsoft FrontPage 2003
 
B

Bernie

One approach is to use a little javascript. If your paste
this function within the Head tags:

<script language="javascript" type="text/javascript">
<!--
function popup(url){
//popup window parameters
var WinParms=""
WinParms+="height=450,";
WinParms+="width=340,";
WinParms+="resizable=0,";
WinParms+="scrollbars=0,";
WinParms+="menubar=0,";
WinParms+="status=0,";
WinParms+="directories=0,";
WinParms+="location=0,";
WinParms+="toolbar=0,";
newwindow=window.open(url,"name",WinParms);
}
//-->
</script>

You can play with the parameters to change how the page
will display. Then within the Body tags of your page add
the hyperlink:

<a href="#" onclick="popup('ga.htm')">Genealogy
Assistant</a></td>

Replace ga.htm with the URL of your page.

Best of Luck
Bernie
 
Top