הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   פורום תיכנות (https://hosts.co.il/forums/forumdisplay.php?f=14)
-   -   בעיה HTML| הפלאש מוצג מעל הלייטבוקס (https://hosts.co.il/forums/showthread.php?t=72169)

Lucasmadja 22-02-09 10:33

בעיה HTML| הפלאש מוצג מעל הלייטבוקס
 
שלום, אני בונה מערכת קטלוג ללקוח עכשיו יש לי בעיה שכשאני לוחץ על תמונה והיא נפתחת בלייטבוקס היא מוצגת מתחת לפלאש
http://labde.co.il/tropri/index.php?page=gallery#
הנה לחצו על התמונה ותבינו
אין DIVים באתר אני בונה אותו בצורה מסורבת קצת מקווה שתוכלו לעזור לי אני משתגע.

תודה מראש,
לידור.

AlmogBaku 22-02-09 10:38

במה אתה משתמש?
באיזה לייטבוקס?

vadimg88 22-02-09 10:55

בדרך כלל הפלאש יהיה תמיד למעלה. לא ממש זוכר אם יש לזה פתרון.

Deagly 22-02-09 12:32

יש לזה פתרון,
פשוט תשתמש ב SWFObject, גם עובר תקינות XHTML
וגם פותר את הבעיה,
מדריך בנושא:
http://blog.deconcept.com/swfobject/

Lucasmadja 22-02-09 12:49

השתמשתי וזה לא עובד

Lucasmadja 22-02-09 12:55

מה אני רושם בקוד הנה תנסה לעזור לי בבקשה:

PHP קוד:


<? $sql=mysql_query("SELECT * FROM mana ")or die(mysql_error());
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="js/lightbox.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<title>טרופרי - קטלוג מוצרים</title>
<style type="text/css">
<!--
.style3 {
    color: #552C0C
}
.style9 {
    color: #B22B28;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
}
body {
    background-color: #EEE7E1;
}
.style11 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #582A09;
    z-index: 1;
}
#apDiv1 {
    position:absolute;
    left:34px;
    top:411px;
    width:118px;
    height:121px;
    z-index:1;
}
.style12 {
    font-size: x-large;
    color: #592C0D;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.style13 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #ABCEEC;
}
.style14 {color: #99B3E9}


-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body dir="rtl">
<center>
<table width="950" border="0">
  <tr valign="bottom">
    <td width="950" height="18" bgcolor="#FFFFFF"><span class="style3"><img src="images/LogoBar.jpg" alt="" width="950" height="196" border="0" usemap="#Map" /></span></td>
  </tr>
  <tr>
    <td height="18" bgcolor="#FFFFFF"><script type="text/javascript" src="swfobject.js"></script>

<div id="flashcontent">
</div>

<script type="text/javascript">
   var so = new SWFObject("banner.swf", "banner", "950", "170", "0", "#FFFFFF");
        so.useExpressInstall('expressinstall.swf');

   so.write("flashcontent");
</script>
<span class="style14"></span>&nbsp;</td>
  </tr>
  <tr>
    <td height="173" bgcolor="#FFFFFF"><div align="right">
      <p class="style12">
        קטלוג מוצרים </p>
      <table width="945" border="0">
          <tr>
            <td width="12" height="148" bgcolor="#885E2E">&nbsp;</td>
            <td colspan="2"><table width="925">
                <tr>
                <?
$i
=0;

while(
$row=mysql_fetch_array($sql))
{
$i++;

?>
                  <td width="123" height="124"  valign="top"><a href="images/lidor.jpg" rel="lightbox"></a><a href="<?=$row['pic'];?>" rel="lightbox"><img src="<?=$row['pic'];?>" alt="תמונה" width="120" height="120" border="0" align="top" class="style11" /></a></td>
              <td valign="top" width="790"><span class="style9">
                <?=$row['ManaName'];?>
              </span><br />
              <?=$row['ManaDesc'];?>
              <br />
              <span class="style11">מחיר: <strong>
              <?=$row['ManaPrice'];?>
              </strong> ש&quot;ח</span></td>
                </tr>
                <? ?>
            </table></td>
            <td width="10" bgcolor="#885E2E">&nbsp;</td>
          </tr>
        </table>
      <br />
    </div></td>
  </tr>
  <tr>
    <td height="18" bgcolor="#8E6434"><div align="center" class="style13">כל הזכויות שמורות לטרופרי</div></td>
  </tr>
</table>


<p>&nbsp;</p>
<p>
  <map name="Map" id="Map">
    <area shape="rect" coords="537,149,650,167" href="index.php?page=index" />
    <area shape="rect" coords="411,133,515,152" href="index.php?page=gallery" />
    <area shape="rect" coords="285,126,384,146" href="index.php?page=biz" />
    <area shape="rect" coords="148,134,270,156" href="index.php?page=order" />
    <area shape="rect" coords="37,137,121,155" href="index.php?page=contact" />
  </map>
</p>
</body>
</html>


Deagly 22-02-09 13:00

תוסיף את המאפיין:
קוד:

so.addParam("wmode", "opaque");
אחרי:
קוד:

var so = new SWFObject("banner.swf", "banner", "950", "170", "0", "#FFFFFF");

Lucasmadja 22-02-09 13:18

מלך! אבל סתכל עכשיו מה קורה...
http://labde.co.il/tropri/index.php?page=gallery

Lucasmadja 22-02-09 13:52

הסתדר תודה רבה רבה


כל הזמנים הם GMT +2. הזמן כעת הוא 09:30.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ