javascript - content not loading in facebox -


i'm having trouble facebox , can't seem find solution. anyways, have displayed , images work content not load. when click link rel="facebox" tag shows box displays loading.gif , none of content. know causing this? extremely simple can't seem find in code. here link page: http://www.mcallaro.com/smc/contact.html. have content being display:block can see there once close , click contact button see issue.

thanks

i haven't used facebox before, problem:

<li><a href="#" rel="facebox">contact us</a></li> 

your contact link directing no because has # symbol no additional text. link facebox works anchor linking. make work must direct link div within page. example:

your link this:

<a href="#contact" rel="facebox">contact us</a><!-- #contact id of div linking --> 

your div within same page this:

<div id="contact">    <!-- content here --> </div> 

as of right link goes no , have contact info within div class name of content.

you don't have have separate contact page either. put contact div within every page going have link , default hidden until contact link clicked.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -