Home  |  About  | Last |  Submit  |  Contact
AllQuests.com




Previous Question:  learning to use CSS for layout  CSSNext Question:  .htaccess and URL redirects when changing domain name and URL structure  Scripts and Online Services
Question how do do this ( SitePoint Forums CSS )
Updated: 2008-11-23 09:20:03 (5)
how do do this

I am trying to optimize for search engines a page that opens with FLASH. I think how I need to do it is to make it in layers with CSS. I want the FLASH movie on top and the text underneath. Here is what I have so far: http://www.geocities.com/cyberartmaster/zorder1.htm (forgive the pop-up!) I have two questions.
1) How do I adjust the code so that both layers will take up the whole screen on any browser?
2) What code do I use to put a FLASH movie in the top screen?

Answers: how do do this ( SitePoint Forums CSS )
how do do this

Quote:
Originally posted by avatar80
I don't know how that face got oin there
Haha, looks like your code is bugged, you got the cookie monster in there

Guest

how do do this

I don't know how that face got oin there

avatar80

how do do this

Quote:
Originally posted by avatar80
I don't know how that face got oin there
It's because you had the sequence :D in your code.
The forum software will recognise certain character combinations as attempts to make a 'smilie' and will render the graphic instead.

To avoid that happening, simply select the "Disable Smilies in This Post" in the Options below the text field when making (or editing) a post.

You can remove it from that post by editing it and resubmitting it with the Disable Smilies checkbox ticked.

Bill Posters

how do do this

1.
<body>
<div id="one">HTML div</div>
<div id="two">Flash div</div>
<script language="javascript">
if(document.all)
{
w = document.body.clientWidth;
h = document.body.clientHeight;
}
else
{
w = self.innerWidth;
h = self.innerHeight;
}
document.getElementById("one").style.width = w;
document.getElementById("one").style.height = h;
document.getElementById("two").style.width = w;
document.getElementById("two").style.height = h;
</script>
</body>

2.
Flash OBJECT and EMBED tag syntax

jofa

how do do this

Jofa,

Thanks for the help. Please forgive me, I'm a newbe with the flash and could use some more help. Here is the code and instructions from Macromedia:

Adding <OBJECT> and <EMBED> tags manually
It's simple to create the tags required to display a Flash movie in a browser.

To add OBJECT and EMBED tags manually: 1 Copy the HTML code below and paste it into your HTML.

<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"WIDTH="550" HEIGHT="400" id="myMovieName"><PARAM NAME=movie VALUE="myFlashMovie.swf"> <PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>

<EMBED src="myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

2) Edit the attributes of the tags for the movie.
Change the HEIGHT and WIDTH parameters to match the height and width of the movie dimensions or use percentage values, if desired.
Change "moviename.swf" where it appears in the OBJECT and EMBED tags to the name of movie to be played

I put this code where you wrote "FLASH div" and it's starting to shape up. This leads me to two more questions.
1) On step 2, what do I write to use percentage values. I know HTML, but not this language (CSS?).
2) Does "myMovieName" mean the same thing as "moviename.swf"

Thanks Jofa and everyone else!

avatar80

Previous Question:  learning to use CSS for layout  SitePoint Forums  CSSNext Question:  .htaccess and URL redirects when changing domain name and URL structure  SitePoint Forums  Scripts and Online Services

- Source: how do do this SitePoint Forums CSS
- Previous Question: learning to use CSS for layout SitePoint Forums CSS
- Next Question: .htaccess and URL redirects when changing domain name and URL structure SitePoint Forums Scripts and Online Services