SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: how do I do this?
Hybrid View
-
Aug 26, 2002, 03:52 #1
- Join Date
- Aug 2002
- Location
- Boston
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
how do I 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?why have a web site if no one can find it?
ask me about my services?
-
Aug 26, 2002, 18:01 #2
- Join Date
- Mar 2002
- Location
- Svíþjóð
- Posts
- 4,080
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
-
Aug 28, 2002, 03:32 #3
- Join Date
- Aug 2002
- Location
- Boston
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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!why have a web site if no one can find it?
ask me about my services?
-
Aug 28, 2002, 03:33 #4
- Join Date
- Aug 2002
- Location
- Boston
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I don't know how that face got oin there
why have a web site if no one can find it?
ask me about my services?
-
Aug 28, 2002, 04:00 #5Originally posted by avatar80
I don't know how that face got oin there
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.New Plastic Arts: Visual Communication | DesignateOnline
Mate went to NY and all he got me was this lousy signature
-
Aug 28, 2002, 15:33 #6
- Join Date
- Jul 2002
- Posts
- 168
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by avatar80
I don't know how that face got oin there
Bookmarks