perhaps you can change the swf to non-play state with a JavaScript on all of
the pages other than the first one.

in the swf OBJECT tag have the following "id" tag:
id="test1"

in the EMBED tag have the following "name" tag:
NAME="test1"

in the body of all pages other than the first

<BODY onload="StopFlashMovie()";>

Somewhere in the HEAD place the following javascript function:


<SCRIPT LANGUAGE="JavaScript">
function getFlashMovieObject() {
   if (navigator.appName.indexOf("Microsoft Internet")!=-1)  {
     return window.test1;
   } else {
     return window.document.test1;
 }
}

function StopFlashMovie()
{
 var flashMovie=getFlashMovieObject();
 flashMovie.StopPlay();
}

</SCRIPT>

Remember that if you change the name from "test1" to something else, it must
be change everywhere in the functions also.

HTH,

Mark Cain


----- Original Message -----
From: "Ryan A" <[EMAIL PROTECTED]>
To: "php" <php-general@lists.php.net>
Sent: Saturday, June 04, 2005 11:19 AM
Subject: [PHP] Frames or iframes? (Basically "The devil or deap sea" or "A
rock and a hard place" etc) - - - -> (0T)


> Hey,
> The end of the world is at hand....
> how do I know this? coz my mom wants her own site!
> My mom; the person who hated computers coz "those 'things' are too damn
> complicated"!
>
> Anyway, thought I'll do it for her to kind of repay a bit of carrying me
for
> whole 9 months,
> and tough delivery etc etc..dont know if its true coz I cant remember, but
> am taking her word
> for it...
> She wanted a small site with a forum on it, no problem there...I made it
for
> her using one of the
> free forums that members of this list suggested (thanks!) and now she has
> around 35 members
> so she wants a design to go with it instead of just going directly to the
> forum.
> Yesterday was her B'day so am doing it now :-p
>
> I had a real good flash header which she too liked, so I modified the
header
> and she really liked it,
> problem is, its around 230kb to load, so I thought I'll put it in a frame
> (top frame -> header,
> bottom frame-> content and forum) so the flash part won't reload on each
> page request.
>
> Since its a forum and she is not doing any advertising its important the
> search engines index the site
> properly or shes going to have a big forum with no visitors.
> Then I read that the search engines dont like frames much....so I was
> thinking of using iframes and
> then I read about the "evils" of iframes...so I thought I'll ask you guys
> for your opinions/suggestions
> as I'm dead outa ideas and a bit confused...any alternate ideas too would
be
> appreciated.
>
> Thanks and have a great weekend.
>
> Cheers,
> Ryan
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 6/4/2005
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to