I am trying to open a page as a lighbox- and I dont know why its not working-
the url is https://www.townehomecare.com/services- where it says "read more" in the middle of the page, I want that new page to open as a lightbox, but instead it opens a regular page.
This is the javascript code I am using:
<script type="text/javascript" src=" <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> " rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> </a> <script> !window.jQuery && document.write('<script src="Scripts/jquery-1.4.3.min.js"><\/script>'); </script> <script type="text/javascript" src="Scripts/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="Scripts/jquery.fancybox-1.3.4.css" media="screen" /> <script language="javascript"> $(document).ready(function() { $(".pop").fancybox({ 'titlePosition' : 'inside', 'transitionIn' : 'none', 'transitionOut' : 'none', 'width' : '70%', 'height' : '80%' }); }); </script>
Anyone know why it's not working?
This is the html code for the link:
<a href="homecare.php" class="more pop" style="float:right;">[Read More]</a>
Thanks.
First of all, the website you
First of all, the website you pasted in your thread does not work, so I can't check anything.
Second of all, just to make sure, did you uploaded the files "jquery-1.4.3.min.js", "jquery.fancybox-1.3.4.pack.js" and "jquery.fancybox-1.3.4.css" into the scripts folder?
If not, then this might be the not working factor.
If you did, could you repost your website, so we can take a look into it