I have several sites I’m working on that are loading sub-pages via lightbox. The actual content is being found by Google, but the pages are hideous as they aren’t meant to load all the headers and whatnot – this is content intended for lightbox delivery (ajax, fancybox).
In PHP, or javascript if necessary, how might I determine if the content is being viewed in a lightbox or not? Would be nice to throw up a “view the original page” link or something.
lightboxlike every other similar lib use AJAX for pulling content … am not sure sure if you can detect if it is a standardjqueryormoottoolsorlightboxbecause they all you the same technologyWhat you can do is detect if your page is been called via
AJAX