P_J_F
unread,May 20, 2012, 11:21:36 AM5/20/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fancybox
Hi,
I have multiple divs that are loaded into my "main_index.php" page. On
each div there is a "More information" link "<a
href="advert_details.php?advert_id=<?php print $advert_id?>" id="more<?
php print $advert_id?>">More</a>"
On the "main_index.php" page, I have the lightbox script
$('a').filter(function() {
return this.id.match(/more[0-9]/);
}).fancybox({
'overlayColor' : '#000',
'overlayOpacity' : 0.1,
'width' : 640,
'height' : 940,
'type' : 'iframe'
});
This opens the details in the fancybox.
When one of these pages "advert_details.php" are shown by a search
engine, when you follow the link, the page "advert_details.php" opens
with all of the information but I would like it to open the
"main_index.php" page first and then the advert_details.php.
Can anyone suggest a way to do this please.
Thanks
Peter