problem - not working

2 views
Skip to first unread message

emagine

unread,
Jun 25, 2008, 8:58:33 AM6/25/08
to facebox
I have entered all the right code (i believe so) and it is not
working..

In the head section
" <script src="jquery.js" type="text/javascript"></script>
<link href="facebox.css" media="screen" rel="stylesheet" type="text/
css"/>
<script src="facebox.js" type="text/javascript"></script>

<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
loading_image : 'loading.gif',
close_image : 'closelabel.gif'
})
})
</script>
"

And the link in the body section is

"<a href="biosdet.php" rel="facebox" class="bluelink">linktext</a>"

Could someone please help?

Trajan

unread,
Jul 22, 2008, 2:08:15 PM7/22/08
to facebox
Are you sure that you're calling the JS libraries correctly(as in: are
they in the correct place? or are they ../jquery.js ?)

www.vitorneves.com

unread,
Jul 30, 2008, 9:20:05 AM7/30/08
to facebox
hi everyone
i'm having the same problem
when i click on the link it opens the page but not in the same page
inside the "div"
can anyone help me?
thanks

Jonny Stephens

unread,
Jul 30, 2008, 10:12:30 AM7/30/08
to facebox
Can you make an example available online?

On Jul 30, 2:20 pm, "www.vitorneves.com"

www.vitorneves.com

unread,
Jul 30, 2008, 10:15:16 AM7/30/08
to facebox
Hi
u can see it in http://www.vitorneves.com/trabalhos

Regards

Jonny Stephens

unread,
Jul 30, 2008, 11:17:20 AM7/30/08
to facebox
Firstly, you need to make Facebox available for triggering by elements
in your page by adding this to the head:

<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox()
})
</script>

Note that Facebox is set to be triggered by an <a> element here.

As far as I can tell Facebox will not trigger from a <map> element,
which is how the Google Maps link is included in your page.

Unless someone else can show a way to trigger via <map>, I'd suggest
switching the linked element to an <a>, containing the word "mapa"
either in html text or as an image.

Hope this helps.

On Jul 30, 3:15 pm, "www.vitorneves.com"
<designer.vitorne...@gmail.com> wrote:
> Hi
> u can see it inhttp://www.vitorneves.com/trabalhos

www.vitorneves.com

unread,
Jul 30, 2008, 11:38:57 AM7/30/08
to facebox
hi again
i already had that trigger but a little different:

<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
loading_image : 'images/loading.gif',
close_image : 'images/closelabel.gif'
})
})
</script>

about the link on a image via "map" i also tried before to see if was
that and still not working
now i changed the trigger for the one u sent me and added a text link
and still not work
can u check the page again please? the link its on the left top

regards,

Jonny Stephens

unread,
Jul 30, 2008, 12:00:40 PM7/30/08
to facebox
Are you sure you have the jQuery library on the server? If so, make
sure the path to both this and facebox.js are declared correctly where
included in your head section.


On Jul 30, 4:38 pm, "www.vitorneves.com"

www.vitorneves.com

unread,
Jul 30, 2008, 12:16:11 PM7/30/08
to facebox
I have
But i have to use the same used on http://famspam.com/facebox/ or i
can use the last version?
the path to jQuery its only here <script src="js/jquery.js" type="text/
javascript"></script> right?
Regards

www.vitorneves.com

unread,
Jul 30, 2008, 12:18:41 PM7/30/08
to facebox
its already working
thanks Jonny
Reply all
Reply to author
Forward
0 new messages