javascript & flash problem

  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2997
  • Loc: Canada "A"

Post 3+ Months Ago

i have this code:
Code: [ Select ]
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--<P ALIGN="CENTER"><FONT FACE="Franklin Gothic Medium Cond" SIZE="33" COLOR="#FF0000"><B>You must be</B></FONT></P><P ALIGN="CENTER"><FONT FACE="Franklin Gothic Medium Cond" SIZE="55" COLOR="#FF0000"><B>21</B></FONT></P><P ALIGN="CENTER"><FONT FACE="Franklin Gothic Medium Cond" SIZE="55" COLOR="#FF0000"><a href="javascript:body()"><B>Enter</B></A><FONT SIZE="30" COLOR="#000000"><B>.....................................</B><FONT SIZE="55" COLOR="#FF0000"><A HREF="google.com"><B>Exit</B></A></FONT></FONT></FONT></P>--><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="550" HEIGHT="400" id="index" ALIGN="">
<PARAM NAME=movie VALUE="index.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="index.swf" quality=high bgcolor=#000000 WIDTH="550" HEIGHT="400" NAME="index" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</script>
  1. <!-- URL's used in the movie-->
  2. <!-- text used in the movie-->
  3. <!--<P ALIGN="CENTER"><FONT FACE="Franklin Gothic Medium Cond" SIZE="33" COLOR="#FF0000"><B>You must be</B></FONT></P><P ALIGN="CENTER"><FONT FACE="Franklin Gothic Medium Cond" SIZE="55" COLOR="#FF0000"><B>21</B></FONT></P><P ALIGN="CENTER"><FONT FACE="Franklin Gothic Medium Cond" SIZE="55" COLOR="#FF0000"><a href="javascript:body()"><B>Enter</B></A><FONT SIZE="30" COLOR="#000000"><B>.....................................</B><FONT SIZE="55" COLOR="#FF0000"><A HREF="google.com"><B>Exit</B></A></FONT></FONT></FONT></P>--><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  4. codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
  5. WIDTH="550" HEIGHT="400" id="index" ALIGN="">
  6. <PARAM NAME=movie VALUE="index.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="index.swf" quality=high bgcolor=#000000 WIDTH="550" HEIGHT="400" NAME="index" ALIGN=""
  7. TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
  8. </OBJECT>
  9. </script>

and i want the link to use this javascript:
Code: [ Select ]
<script language="JavaScript">
function body() {
    window.open('home.html','EANITHING','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=no,copyhistory=no,scrollbars=no,width=800,height=500');
}
</script>
  1. <script language="JavaScript">
  2. function body() {
  3.     window.open('home.html','EANITHING','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=no,copyhistory=no,scrollbars=no,width=800,height=500');
  4. }
  5. </script>


Code: [ Select ]
<a href="javascript:body()">

so the 800 X 500 window opens when clicked on as you can see in the frist code i tryed just to put it in the link that way but did not work
anyone got a fix?[/code]
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2997
  • Loc: Canada "A"

Post 3+ Months Ago

there much be someong who knows

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 8 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.