Jump to content

fancy box help


sw9

Recommended Posts

just for reference, here is all my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" type="text/css" media="screen">
<script type="text/javascript" src="/fancybox/jquery.fancybox.js"></script>
<script type="text/javascript" src="/fancybox/jquery.fancybox-pack.js"></script>

<script type="text/javascript">
$(document).ready(function() { 
/* This is basic - uses default settings */ 
$("a#single_image").fancybox();

/* Using custom settings */ 
$("a#inline").fancybox({ 'hideOnContentClick': true }); 

$("a.group").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': false }); }); 
</script>
</head>

<body>
<a class="group" href="http://dev.mountgrace.org/maptest.html">
<img src="/sites/default/files/CompletedProjectsFY09_0.jpg" alt=""/>
</a>

<a id="single_image" href="/sites/default/files/CompletedProjectsFY09_0.jpg"><img src="/sites/default/files/CompletedProjectsFY09_0.jpg" alt=""/></a>

<a class="iframe" href="http://www.google.com">This goes to iframe</a>

</body>

</html>

Link to comment
https://forums.phpfreaks.com/topic/185806-fancy-box-help/#findComment-981106
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.