|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Detecting frames
Is there a way, if not in php then generally, that a script can detect if it is being executed as a stand alone ordinary internet page or if it is in fact being displayed in a frame as part of a larger page?
On a project that I'm working on it would of use if I could differentiate between the two. Cheers one and all, |
|
#2
|
|||
|
|||
|
RE: Detecting frames
Nope...not in PHP...you can in javascript though:
Code:
<script language="JavaScript"><!--
if (frames.length > 0)
alert('We have frames');
else
alert('We have no frames')
//--></script>
[btw, I moved this thread to client side] |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Detecting frames |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|