Jump to content

Html Popup Code?


Xylicon

Recommended Posts

Im using FrontPage XP and i need the code that will, say like theres a link to view a picture and when u click on the link a new window pops up with that picture, does anyone know that new window code, BTW i enter the links by right clickon on the object and clicking hyperlink i don't know anyting about HTML code

 

any help would be appreciated

Share this post


Link to post
Share on other sites

Inside your head tags put this:

<script language="JavaScript" type="text/JavaScript">
<!--
function d3_openBrWindow(theURL,winName,features) { 
 window.open(theURL,winName,features);
}
//-->
</script>

 

Then for the link do this

<a href="javascript:;" onClick="d3_openBrWindow('http://www.d3bruts1d.com','','')">Click here to go to my site</a>

 

If you want to use an image as the link, just insert the image between the link tags..

 

<a href="javascript:;" onClick="d3_openBrWindow('http://www.d3bruts1d.com/images/sbpix/ScreenShot000080.jpg','','')"><img src="http://www.d3bruts1d.com/images/sbpix/ScreenShot000080.jpg" width="200" height="150" border="0"></a>

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.

Guest
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.

×
×
  • Create New...