Torakiki
unread,May 10, 2008, 5:30:45 PM5/10/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to facebox
Hello to everybody,
I wanted to use Facebox in my website, so
I downloaded the tarball and the jQuery file jquery-1.2.3.js.
Then I wrote the following lines in the head of my index.php file,
but Facebox does not work. When using rel="facebox" in a link,
it just display the link in the same window, as if it was a common
link.
Is there something wrong?
Is there some line to be written in some other files?
Have I to add the Facebox css file to some other file of my website?
I really don't know...it seemed so simple, but....
Thank you in advance!!
Simone
<script src="/facebox/jquery-1.2.3.js" type="text/javascript"></
script>
<link href="/facebox/facebox.css" media="screen" rel="stylesheet"
type="text/css" />
<script src="/facebox/facebox.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox()
})
</script>