-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 157182712 Tito Valentin <[EMAIL PROTECTED]> wrote:
> Hans,
> 
> It is showing a framset in my page when I view page source.  How would I
> be able to correct this?  If I hit the test site I can see all the paths
> but when I host it live I CANNOT see the paths in the url.
> Hans-Werner Hilse wrote:

Just put a frame break in your main page that you don't want to be in a
frame.  Here is an example script:

<script language="javascript" type="text/javascript">
/* ====================================================== *
': This forces the current document to the top of any
': frames.
': You MUST either remove it or comment it out if you
': want the page to be frameable in browsers supporting
': scripting.
'* ====================================================== */
if (top.location != self.location)
{
        top.location.replace(self.location);           // pop to top
}
</script>


Jim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEFDsheqJ5Vbm4CxYRAlctAJ4lpChgD+3GqsA3toEVJ3FcnvicVwCeNasE
GiNEzODFxCwEhHAvFYawbB4=
=OC+n
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list

Reply via email to