Comunidad de diseño web y desarrollo en internet online

me urge un consejo, ¿como incrustar objetos flahs en mi web?

Citar            
MensajeEscrito el 27 Ago 2008 05:19 pm
hola necesito que me apoyen, me aventure a realizar el diseño de una pagina web (sin el conocimiento necesario para ello) de la escuela donde trabajo, ahora, utilize kompozer como editor, todo bien hasta que quise insertar algunos objetos flahs creados con atros programas (123 flahs menu, programa para crear menus dinamico y FrogJS1.1 para una presentar una galeria de imagenes sencilla pero funcional) no puedo lograr que los dos objetos trabajen en la misma pagina, por separado si funcionan ¿que debo hacer? :? aqui les dejo el codigo

Código :

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="es-mx">
<head>
  <meta http-equiv="Content-Type"
 content="text/html; charset=utf-8">
  <title>FrogJS Example Gallery</title>
  <script type="text/javascript" src="scripts/prototype.js"></script>
  <script type="text/javascript"
 src="scripts/scriptaculous.js?load=effects"></script>
  <script type="text/javascript" src="scripts/frog.js"></script>
  <style type="text/css">
body{
text-align: center;
font-family: verdana, arial, sans-serif;
font-size: .7em;
}
#FrogJS{
width: 760px;
height: 600px;
margin: 0 auto;
}
#FrogJSCredit{
text-align: right;
font-size: 80%;
color: #999;
padding: 1px;
}
#FrogJSCaption{
text-align: left;
line-height: 140%;
}
  </style>
  <script type="text/javascript" src="flashobject.js"></script>
</head>
<body
 style="color: rgb(0, 0, 0); background-color: white; background-image: url(file:///C:/Users/ANDRES/Documentos/pagina%20web/Fondo2.jpg);"
 alink="#000088" link="#0000ff" vlink="#ff0000">
<table
 style="text-align: left; margin-left: auto; margin-right: auto; width: 1137px; height: 709px;"
 border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td
 style="width: 243px; background-color: rgb(255, 255, 204); text-align: center; vertical-align: top;"><img
 style="width: 117px; height: 142px;" alt=""
 src="file:///C:/Users/ANDRES/Documentos/pagina%20web/Escudo%20II.jpg"><br>
C.R.E.N.<br>
Iguala Guerrero<br>
      <br>
      <br>
      [b][color=darkred]<div id="menu escolar_id">123 Flash Menu Placeholder.</div>
      <script type="text/javascript">
var fo = new FlashObject("menu principal.swf","menu escolar","150","250","6","#000000");
fo.addParam("menu","false");
fo.addParam("quality","best");
fo.addParam("salign","LT");
fo.addParam("scale","noscale");
fo.addParam("wmode", "transparent");
fo.write("menu escolar_id");
      </script>[/color][/b]
      <br>
      <br>
      <br>
      <br>
      </td>
    [b]  [color=darkred][color=darkred]<td colspan="1" rowspan="1"
 style="width: 888px; background-color: white; text-align: center; vertical-align: top;">
      <div style="text-align: left;"></div>
      <h1 style="text-align: left;"><img
 style="width: 214px; height: 36px;" alt=""
 src="../../Documentos/pagina%20web/Galerias2.jpg"></h1>
      <div id="FrogJS"> <a href="images/1.jpg"
 title="Jolie Myers / The State News"
 rel="http://portfolio.statenews.com/users/Jolie_Myers/"> <img
 src="images/1_thumb.jpg"
 alt="An attendee of Rabbi Hendel Weingarten's Purim service at Chabad House on Elizabeth Street in East Lansing uses a noisemaker after the name of Haman is read. Purim is a Jewish holiday that celebrates the deliverance of the Jews from an evil plot conceived by Haman, as chronicled in the Megillah, or book of Esther. Rabbi Mordechai Haller read the Megillah to a group including about 15 MSU students who would blot out the name Haman using noisemakers each time it was read.">
      </a> <a href="images/2.jpg"
 title="Jolie Myers / The State News"> <img
 src="images/2_thumb.jpg"
 alt="Junior wide receiver Terry Love is taken down by Illinois safety Kyle Knezetic September 30 at Spartan Stadium. The Fighting Illini beat the Spartans, 23-20, with a fourth-quarter field goal scored in the last 20 seconds of the game."></a><a
 href="images/3.jpg" title="Jolie Myers / The State News"
 rel="http://portfolio.statenews.com/users/Jolie_Myers/"> <img
 src="images/3_thumb.jpg"
 alt="Redshirt senior defenseman Greg Janicki fights for ball control against Wisconsin forward Eric Conklin September 24 at Old College Field."></a><a
 href="images/4.jpg" title="Jolie Myers / The State News">
      <img src="images/4_thumb.jpg"
 alt="Kevin Bozeman performs his comedy routine at Connxtions Comedy Club in Lansing shortly after the death of Richard Pryor. Bozeman said Pryor influenced all comedians, not just black performers."></a><a
 href="images/5.jpg" title="Jolie Myers / The State News"
 rel="http://portfolio.statenews.com/users/Jolie_Myers/"> <img
 src="images/5_thumb.jpg"
 alt="Members of RISE, or the Residential Initiative on the Study of the Environment, and Gunnisonville Elementary students secure plastic to the top of a greenhouse at the school in Lansing. The students will plant food that will eventually be donated to low-income families in Lansing.">
      </a> </div>[/color]
      </td>
    </tr>
  </tbody>
</table>[/color][/b]
<br>
</body>
</html>


(el color rojo aplicado indica el objeto insertado en la pagina)

Por bama730110

5 de clabLevel



 

firefox
Citar            
MensajeEscrito el 27 Ago 2008 09:44 pm
Estás haciendo muchas cosas de manera incorrecta:
  • maquetas con tablas...
  • usas programas raros...
  • usas Flash de manera innecesaria...
Te recomiendo aprendas xHTML y CSS... y te pongas en serio con ello.

Si aún así... alguien quiere revisar tu código...
suerte

Por El Oso Amoroso

Claber

1780 de clabLevel

6 tutoriales

 

Madrid, España, Europa, Eurasia, La Tierra, Sist.Solar, Vía Láctea, UNIVERSO

firefox
Citar            
MensajeEscrito el 28 Ago 2008 02:33 pm

Por rolv

Claber

2000 de clabLevel

3 tutoriales

 

firefox
Citar            
MensajeEscrito el 28 Ago 2008 03:08 pm
te agradesco el consejo ramiro ya estoy en eso :)

Por bama730110

5 de clabLevel



 

msie7
Citar            
MensajeEscrito el 28 Ago 2008 03:13 pm
y aun no lo tengo en un servidor, esta en mi pc todavia esta en desarrollo, por eso lo de la ruta completa.

Por bama730110

5 de clabLevel



 

msie7
Citar            
MensajeEscrito el 28 Ago 2008 03:15 pm
gracias por la molestia que te tomaste en revisar el codigo,te agradesco el consejo oso.

Por bama730110

5 de clabLevel



 

msie7
Citar            
MensajeEscrito el 28 Ago 2008 03:21 pm
este es el link de donde obtuve la galeria [http://www.dynamicdrive.com/dynamicindex4/frogjs/index.htm][/url]

Por bama730110

5 de clabLevel



 

msie7
Citar            
MensajeEscrito el 28 Ago 2008 03:22 pm

Por bama730110

5 de clabLevel



 

msie7
Citar            
MensajeEscrito el 28 Ago 2008 03:23 pm

Por bama730110

5 de clabLevel



 

msie7
Citar            
MensajeEscrito el 28 Ago 2008 04:31 pm
ok voy a revisar

Por rolv

Claber

2000 de clabLevel

3 tutoriales

 

firefox
Citar            
MensajeEscrito el 28 Ago 2008 04:57 pm
Mira, lo acabo de probar con el swfobject y no tuve absolutamente ningun problema, salvo unos detalles


En esta parte

Código :

    <div id="menu_escolar_id">123 Flash Menu Placeholder.</div>
      <script type="text/javascript">
var fo = new SWFObject("firma.swf","menu escolar","150","250","6","#000000");
fo.addParam("menu","false");
fo.addParam("quality","best");
fo.addParam("salign","LT");
fo.addParam("scale","noscale");
fo.addParam("wmode", "transparent");
fo.write("menu_escolar_id");
      </script>


Fíjate como se elimino el espacio en blanco en el nombre de id del div
menu escolar_id --> menu_escolar_id
Tambien en el nombre del swf, aunque ese no deberia de haber problema

el FlashObject lo cambie por swfobject, solamente porque no tengo el Flashobject.js

Código :

<script type="text/javascript" src="scripts/swfobject.js"></script>


Asi con esto, a mi me corrio perfectamente.
Quitale los espacios al nombre del div y en donde lo mandas llamar con fo.write y nos dices si se arreglo.

Por cierto, no trabajes en local, si publicas para web instálate un servidor local

Nos dices que pasó.
Saludos.

Por rolv

Claber

2000 de clabLevel

3 tutoriales

 

firefox
Citar            
MensajeEscrito el 28 Ago 2008 04:58 pm
te agradesco el detalle :)

Por bama730110

5 de clabLevel



 

msie7

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.