Solved

what does this code mean?

Posted on 2014-12-25
4
131 Views
Last Modified: 2015-01-13
I have the following line of java script code which causing confusion to me. Could somebody help me with it?


<script type="text/javascript">var fo = new FlashObject("images/index.swf", "mymovie", "877", "511", "7", "#ff00ff");

<div align="center">

	<table border="0" cellspacing="0" cellpadding="0" id="table3">

	<tr>

	   <td>

			<div id="flashcontent1"><a href="about.htm">Colorwen International Corp., ,inks (RoHS), Pigment, Color Dispersion, LCD,msds,media,part,Printer Series Product,Plotter Series Product,Functional Series Product</a>

	        <script type="text/javascript">var fo = new FlashObject("images/index.swf", "mymovie", "877", "511", "7", "#ff00ff");

     fo.addParam("wmode", "transparent");

     fo.write("flashcontent1");

             </script>

	</div>

 	   </td>

	</tr>

	</table>

	<table border="0">

    <tr>

        <td><a href="profile1.html"><img src="images/banner02.gif" width="210" height="55" border="0"></a></td>

        </tr>

</table>



</div>

Open in new window

0
Comment
Question by:Jason Yu
4 Comments
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 167 total points
ID: 40518177
That is supposed to put a Flash movie in that <div>.
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 167 total points
ID: 40518219
0
 
LVL 1

Assisted Solution

by:Deniz Dursun
Deniz Dursun earned 166 total points
ID: 40530109
For use FlashObject class, you must include FlashObject javascript file into your page.

Add this code before than </head> tag for include library:
<script type="text/javascript" src="https://cog-cu.colorado.edu/site_media/projects/es-doc-models/flashobject.js"></script>

Open in new window

0
 

Author Comment

by:Jason Yu
ID: 40531926
Thank you, I will take a look at these links.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how can i make the array into an object? 4 32
jqury 17 30
asp.net mvc5 6 17
innerHTML 7 20
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question