|
|
 |
RE: FN-FORUM: Suggestions please
date posted 7th January 2006 09:11
When you say includes are you using .php, .asp or basic .shtm includes,
either way again you could do almost the same thing, check the URL isn't the
url of the include and redirect if it is.
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On
> Behalf Of [EMAIL REMOVED]
> Sent: 07 January 2006 01:49
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: Re: FN-FORUM: Suggestions please
>
>
> No not frame just straight includes - Pam
>
> ----- Original Message -----
> From: "Sam Morgan" [EMAIL REMOVED]
> To: [EMAIL REMOVED]
> Sent: Saturday, January 07, 2006 12:43 AM
> Subject: RE: FN-FORUM: Suggestions please
>
>
> >
> > If your using frames (Shame on you :) ) and have header /
> footer frames
> > you
> > can check that they are actually part of the frame using JavaScript.
> >
> > Something like this
> >
> > --- untested code --
> > if (top.document.location.href == document.location.href){
> > top.document.location.href="/";
> > }
> >
> > Regards
> >
> > Sam Morgan
> >
> > WIREDEYES - Internet Consultancy
> > tel : 020 7100 2178
> > fax : 0871 433 2278
> > web : http://www.wiredeyes.com
> > ----
> > umop ap!sdn w,! aw dlaH
> >
> >
> >> -----Original Message-----
> >> From: [EMAIL REMOVED] [EMAIL REMOVED] On
> >> Behalf Of [EMAIL REMOVED]
> >> Sent: 07 January 2006 01:34
> >> To: FN-FORUM / [EMAIL REMOVED]
> >> Subject: Re: FN-FORUM: Suggestions please
> >> >
> >> I hadn't thought about book marks - you are right. The pages
> >> I was thinking
> >> about was where you have the header or footer as a page which
> >> you then
> >> include in other pages.If someone goes into the header or
> >> footer page by
> >> mistake I wanted to send them to the Home page. I thought it
> >> was going to be
> >> impossible and from what you say I am right.
> >>
> >
> >
> >
> >
> > --
> > Freelancers, contractors earn more with Prosperity4
> > Call 0870 870 4414 or visit www.prosperity4.com
> > and benefit from Inland Revenue approved expenses today.
> >
> > To advertise here: http://www.freelancers.net/advertising.html
> >
> >
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|