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="
https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<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.