1 reply [Last post]
suavedesign's picture
Last seen: 2 years 44 weeks ago
Timezone: GMT-5
Joined: 2010-12-01
Posts: 128
Points: 191

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 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() {
                'titlePosition'     : 'inside',
                'transitionIn'      : 'none',
                'transitionOut'     : 'none',
            'width'             : '70%',
            'height'            : '80%'

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>

helldog2004's picture
Last seen: 2 years 18 weeks ago
Timezone: GMT+2
Joined: 2014-03-02
Posts: 205
Points: 239

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 Smile

Check Maximum Webdesign for your online solutions