-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
Shadowbox is not defined error when i call Shadowbox.init()
why?
the code:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Documento senza titolo</title>
<script type="text/javascript" src="shadowbox/shadowbox.js"></script>
<link href="shadowbox/shadowbox.css" rel="stylesheet" type="text/css">
</head>
<body>
<a rel="shadowbox" href="promo.jpg">Clicca qui</a>
</body>
</html>
<script language="javascript">
Shadowbox.init();
Shadowbox.open(img, { player: 'iframe' });
</script>Metadata
Metadata
Assignees
Labels
No labels