You are here: Re: Redirect? Or maybe Forward? Question « HTML « IT news, forums, messages
Re: Redirect? Or maybe Forward? Question

Posted by Adrienne Boswell on 02/04/07 18:05

Gazing into my crystal ball I observed "Flair" <Flair@none.not> writing
in news:3-qdnQOMD6SuilvYnZ2dnUVZ_qSrnZ2d@comcast.com:

> Not sure exactly what to ask, so I'll give the scenario instead;
>
> I have a personal website with a media.htm page in it. None contain
> "foul" language at this time. But I've recently come across a few
> that I'd like to upload that I think are funny but DO contain
> "naughty" words. What I'd like to do is give my visitors another
> chance to opt-out should they change their minds after clicking (the
> already well-explained) link. So my question is this .... Is there a
> way I can create a SINGLE "warning, foul language ahead" page that
> will send the visitor to the correct media file if there is more than
> one link to that type of thing on my media.htm page?

Yes, create a gateway page. You could have thumbnails of the movies on
the page, with a rating of each, so the user would know before accessing
it. For example:
<p><img src="marypoppins.png" alt="Mary Poppins"><br>Mary Poppins (1964)
- G </p>
<p><img src="caligular.png" alt="Caligula"><br>Calligula (1979) - R</p>

>
> Kinda like an "IF/THEN" type of thing. In other words, I'd like to
> have the warning page display for about 5 seconds before it loads the
> video, but I don't want to have to make a different warning page for
> each individual "R-Rated" audio or video file. The SAME warning page
> would "know" what file to direct you to by knowing what link you
> clicked on from my media.htm page.

You could do something server side with a database. For example:
SELECT video, rating FROM movies WHERE id = 2 and then create a warning
based on the record's result.

>
> Sorry. I'm a newb, and I didn't know how else to ask, or what the
> heck I'm really even asking for. :-) Seems to me it can be done
> using javascript, but I'd like to avoid that if possible.
>
I would say that javascript might be a really bad idea, simply because
you cannot always guarantee that the user has it.

You can use ICRA labeling <http://www.icra.org/sitelabel/> in addition.
Programs like NetNanny can read the labeling and make decisions from
there.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация