no base library adaptor found / shadowbox not defined

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

no base library adaptor found / shadowbox not defined

Oven82
I keep getting this message from my Web Developer firefox add-on when I load my page that includes shadowbox scripts.

In my <head> is:

<link href="includes\shadowbox.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="includes\shadowbox.js"></script>
<script type="text/javascript">window.onload = Shadowbox.init;</script>
Reply | Threaded
Open this post in threaded view
|

Re: no base library adaptor found / shadowbox not defined

IchDu
Yes, your head should look like this:
<head>
<link rel="stylesheet" type="text/css" href="shadowbox.css" />
<script type="text/javascript" src="yui-utilities.js"></script><script type="text/javascript" src="shadowbox-yui.js"></script><script type="text/javascript" src="shadowbox.js"></script></head>

or:

<head>
<link rel="stylesheet" type="text/css" href="shadowbox.css" />
<script type="text/javascript" src="prototype.js"></script><script type="text/javascript" src="scriptaculous.js?load=effects"></script><script type="text/javascript" src="shadowbox-prototype.js"></script><script type="text/javascript" src="shadowbox.js"></script></head>

or:

<head>
<link rel="stylesheet" type="text/css" href="shadowbox.css" />
<script type="text/javascript" src="shadowbox-jquery.js"></script><script type="text/javascript" src="shadowbox.js"></script></head>