I know you can get a $_SERVER[‘HTTP_X_REQUESTED_WITH’] php variable if jquery has loaded. That’s great but if you use an iframe then that variable is no longer available. Is there a way to detect if jquery has loaded and give php a varaible in an iframe? I don’t want to load a header or footer if jquery has loaded 100% but otherwise put them on. I have to use an iframe so there is no way around that. (I’m using a Colorbox iframe).
Thank you.
You probably want to hide the content with CSS using “display:none;” when Colorbox is enabled, You’d be still loading the footer and header but they won’t show up