HTML - Firefox/dropdown/flash Problem
Hello all,
I just got a job working for a school and noticed their website was pretty much unorganized. So yesterday i took up dreamweaver and created this page(the rest of the site is pending acceptance/working of this main page): http://pratt.broward.edu/colejw/Attucks/ However, it did come with problems. In IE it displays fine, everything seems to work. But.. Firefox doesn't seem to like my menu bar and flash scroller combo. In firefox the flash scroller appears over the drop down menu, below is a picture of what i mean. Everything below the menu bar is in a table, so its not the table itself since the drop down appears over the pictures and other text. The only thing overriding it is the flash scroller. Anyone have any ideas? i played with Z-index and such but no luck and in one instance it moves everything from the menu down over to the right of the menu, i could also be placing the z-index's in the wrong place. If anyone has any fixes please let me know. Similar TutorialsWebsite: http://the1337arcade.com/pt/ Problems: I Got the Dropdown Menu Fixed like i want it, The only problem is the 1px at the end of the navigation, if i add a extra px to the padding it drops that and makes the last button go down to the next row... i want it all to be in the same line HTML: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <title>Pine Tree High School - Theatre Department</title> <meta name="description" content="The Homepage for the Pine Tree High School Theatre Department."> <meta name="keywords" content="Pine Tree High School,Pine Tree High School Theater,Theatre,Anup Patel,The1337Arcade"> <link href="style.css" type="text/css" rel="stylesheet"> <script type="text/javascript"> var timeout = 500; var closetimer = 0; var ddmenuitem = 0; // open hidden layer function mopen(id) { // cancel close timer mcancelclosetime(); // close old layer if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; // get new layer and show it ddmenuitem = document.getElementById(id); ddmenuitem.style.visibility = 'visible'; } // close showed layer function mclose() { if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; } // go close timer function mclosetime() { closetimer = window.setTimeout(mclose, timeout); } // cancel close timer function mcancelclosetime() { if(closetimer) { window.clearTimeout(closetimer); closetimer = null; } } // close layer when click-out document.onclick = mclose; </script> </head> <body style="background-image: url('bg.jpg')"> <table align="center" cellpadding="0" cellspacing="0" class="container"> <tr><td><div id="header"><a href=index.htm><img border=0 src="logo.jpg" class="logo" alt="PTHS Theatre"></a></div></td></tr> <tr><td> <table align="center" cellpadding="0" cellspacing="0" class="main"> <tr><td> <ul id="sddm"> <li><a target=I1 href="home.htm">Home</a></li> <li><a href="#" onmouseover="mopen('m2')" onmouseout="mclosetime()">Theatre Productions</a> <div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a target=I1 href="#">2008-2009</a> <a target=I1 href="#">2007-2008</a> <a target=I1 href="#">2006-2007</a> <a target=I1 href="#">2005-2006</a> </div> </li> <li><a target=I1 href="about.htm">About The Director</a></li> <li><a target=I1 href="contact.htm">Contact The Theatre </a></li> <li><a target=I1 href="contact.htm">Links</a></li> <li><a target=_blank href="http://ptisd.org">District Home Page</a></li> </ul> <div style="clear:both"></div> </td></tr> <tr><td> <center><DIV STYLE="margin-top:10px;"> <iframe name="I1" width="100%" height="400" src="home.htm" border="0" frameborder="0"> Your browser does not support inline frames or is currently configured not to display inline frames. </iframe> <br> </p> </td></tr><tr><td> <div id="blackfooter"> <span style="float:right;"> p: 903.295.5031. e: <a href=mailto:mgoodding@ptisd.org> <span style="text-decoration: none"><font color="#FFFFFF">mgoodding@ptisd.org</font></span></a><font color="#FFFFFF"> </font> </span> 1001 Fairmont Street | Longview, Texas 75605</div> </td></tr> </table> </td></tr> <tr><td> </td></tr> </table> </body> </html> CSS: Code: /* CSS */ html { height: 100%; margin-bottom: 1px; } body { margin: 15px 0px 15px 0px; background: url(/images/bg.jpg); } table.container { width: 750px; background: #FFFFFF; border: solid 1px #000000; } table.main { width: 700px; background: #FFFFFF; border: solid 1px #000000; } ul { margin-top: 5px; } /* header */ #header img.logo { margin: 20px 0px 0px 20px; border: 0; } #header .login { margin: 20px 25px 0px 0px; width: 198px; height: 20px; float: right; font-size: 13px; } #header .login form { margin: 0px; } /* main nav */ #nav { width: 100%; background: #000000; color: #000000; text-align: center; line-height: 25px; } #nav a { margin: 0px 15px 0px 15px; color: #FFFFFF; text-decoration: none; } #nav a:hover { margin: 0px 15px 0px 15px; color: #0026b9; text-decoration: none; } /* footer */ #blackfooter { width: 100%; background: #000000; font-size: 13px; color: #FFFFFF; text-align: left; line-height: 23px; } #footer { width: 700px; background: #FFFFFF; margin: 10px 0px 10px 25px; font-size: 11px; color: #444444; text-align: center; } #footer a { margin: 0px 3px 0px 3px; color: #444444; text-decoration: underline; } #sddm { margin: 0; padding: 0; z-index: 10} #sddm li { margin: 0; padding: 0; list-style: none; float: left; font: bold 11px arial} #sddm li a { display: block; margin: 00px 0 0; padding: 4px 17px 4px 16px; width: auto; background: #000000; color: #FFF; text-align: center; text-decoration: none} #sddm li a:hover { background: #0026b9} #sddm div { position: absolute; visibility: hidden; margin: 0; padding: 0; background: #000000; border: 0px solid #5970B2} #sddm div a { position: relative; display: block; margin: 0; padding: 0px 10px; width: auto; white-space: nowrap; text-align: left; text-decoration: none; background: #000000; color: #FFFFFF; font: 11px arial} #sddm div a:hover { background: #0026b9; color: #000} Thanks for all Help.. Hi Guys, I have a problem where my dropdown menu is hidden behind a flash element. Google tells me this is common problem. If founds a few solutions that recommended adding <param name="wmode" value="opaque" /> or <param name="wmode" value="transparent" /> ...to my parameters. but this doesnt work. im using a super accessible type dropdown... the menu is essentially a list <li> with some JS behind it. Heres my link http://www.roxywebdesign.com/gateway/ Any suggestion are be welcome. If i cant get this fixed then my backup plan is the use JSCookMenu which apparently does work. But ive already completely chanded the code for my menu once and would like to avoid that this time. Thanks guys!! Does anyone know the code (HTML) that will play Flash in both Explorer and Firefox? Hi, can anybody tell me why the flash animation is not correctly displayed in Firefox ? (and only the second time I visit the website) http://lancelmaat.nl/ thanks You may have seen this question before, but I cannot for the life of me find an answer that works. I embedded a .swf flash file on a page on my website. This flash plays perfectly on IE and Chrome, but nothing shows up on Safari or Firefox. I, at first, wrote the code by hand. Then I instead used swfobject to properly write the code (this still hasn't fixed the problem) I used the w3 markup validation site to check the code, and it comes back with 0 errors. Any Ideas? The code is below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="posthink.swf"></script> <script type="text/javascript"> swfobject.registerObject("myFlashContent", "9.0.0"); </script> </head> <body> <div style="text-align: center;"> <object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="myFlashContent"> <param name="movie" value="posthink.swf" /> </object> </div> </body> </html> (I inserted a space in the classid= tag to do away with the : D turning into a smiley) Thanks for your help. I am using the following code to embed a flash game into my website: Code: <div id="game-position"> <object data="content/games/stickman-sam-2.swf" type="application/x-shockwave-flash" width="560" height="400"> <param name="ShowStatusBar" value="1" /> <param name="src" value="games/stickman-sam-2.swf" /> <param name="quality" value="high" /> <param name="loop" value="false" /> </object> </div> It works perfectly well on Firefox 3.0.11 but when I try to load the page in Internet Explorer 8 it just shows the flash game as a white square? Does anyone know how I could fix this? Thanks Hello, I am having trouble placing my PNG file over my flash. I am using z index and absolute positioning but the PNG will not center itself on the webpage over the flash file. It ends up in a weird position above the flash. Thanks! Code: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ss - [design, photo, art]</title> <meta name="description" content="ss - Los Angeles Graphic Designer, Photographer, and Artist" /> <meta name="keywords" content="graphics graphic design designer designs portfolio website los angeles california ca ss print photography photograph poster posters illustration illustrations catalogs catalog company branding logo logos stationery magazine editorial" /> <style type="text/css"> /*<![CDATA[*/ /* hide from ie on mac \*/ html { height: 100%; overflow: hidden; } #flashcontent { height: 100%; } /* end hide */ body { height: 100%; margin: 0; padding: 0; } div#frame{ /*placement*/ position:absolute; z-index:9999; } #flash{ position:absolute; z-index:1; } /*]]>*/ </style> <script src="Scripts/swfobject_modified.js" type="text/javascript"> </script> <script type="text/javascript"> //<![CDATA[ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-16886040-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); //]]> </script> <style type="text/css"> /*<![CDATA[*/ body { background-image: url(content/background.jpg); } /*]]>*/ </style> </head> <body> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="middle"> <div id="frame"><img src="content/frame.png" alt="** PLEASE DESCRIBE THIS IMAGE **" /></div> <div id="flash"></div> <table width="100" border="0" cellspacing="0" cellpadding="0"></table> <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="600"><param name="movie" value="ss3.swf" /> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="6.0.65.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="ss.swf" width="800" height="600"><!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="opaque" /> <param name="swfversion" value="6.0.65.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p> </div> <!--[if !IE]>--></object> <!--<![endif]--></object></td> </tr> </table> <script type="text/javascript"> //<![CDATA[ swfobject.registerObject("FlashID"); //]]> </script> </body> </html> So I downloaded this http://www.flashmo.com/preview/flash...humbnail_stack flash template, and the URLs don't work. When I click on a picture, it's supposed to redirect me to a webpage, but when I do this nothing happens. I've tried this with several different flash templates from other websites but the same problem happens. Hello! This is the page I'm trying to embed Flash: JUZD at Holt Refrew page - not working but it's not working. Here's the JUZD at Holt Renfew Flash - working. What am I doing wrong? Please help. Hello, I have flash website that I want it to be opened by html page. What I need to do if I have an html page that when I press on link on this page it will open my flash page on full screen (fit screen)? I have this website for example of my question: www.federicafontana.it Thanks to anyone that will help. Best regards, Fabio. This is a problem that is not really a problem. With one of my websites, the flash does not display properly when I view the site from a file on my computer. When I view the site online, everything is properly displayed. When viewing the file (when I test the page with my CoffeeCup html editor) in the browser, flash items such as video players, news feeds, and audio players, show with the bottom and right hand portions clipped off. Again, when viewing the page on the web, everything is normal. I have coded the flash on this page the same way I have coded it on my other websites, and on the other sites there is no problem. I have gone over the stylesheet for the page and found no errors. I have been unable to find any html coding errors that might account for this. Anyone else ever run into this sort of thing? At the right of this page I added a news scrolling in flash, when I open this website in Safari or Firefox there is NO PROBLEM! But when I open it in Internet Explorer I get a weird error "Bewerking Afgebroken" It is Dutch and don't know what it will mean in English, After I get this error the page stop loading and I only see the topbar of my website. HELP Website: http://liv9.net/television/index.php (the flash script is a rss flash script, so the news is from another website) Hi! I have exported an flash movie to a html file. The file is located at http://magnetik.eu/files/ratas If move around the menu you will notice that is a line break at the top. Right between the flash file and the top of the browser. Any idea how can I get rid of it? Thank you aaaaaaaaaaaaaaaaaa Hey everyone, I'm having a problem with a Flash .swf file in my HTML page. If I input the code one way, it works in Firefox and not in IE. If I do it another way, it works in IE and not Firefox. The approach I was thinking of taking was using conditional statements in Javascript, however I'm having problems arranging the code to properly implement it. And believe me, I've reworked this file and I'm getting nothing that works on both at the same time. Suggestions for both methods would be great -- If you'd like me to post the code I could do so. Thank you! I have a jailbroken iPhone 4 and I am trying to get a flash embed to display on it but I am having a lot of trouble. i have successfully used and enabled different flash objects elsewhere but this is the only one that wont run. so I know it will work. HTML Code: <head> <title>iSwim</title> </head> <body> <div style="width: 320px; height: 356px; margin-top: 80px; margin-bottom: 44px;"> <object width="320" height="356"> <param name="movie" value="http://listen.grooveshark.com/widget.swf" /> <param name="wmode" value="opaque" /> <param name="allowScriptAccess" value="always" /> <param name="flashvars" value="hostname=cowbell.grooveshark.com&widgetID=22770693&style=metal&bbg=000000&bfg=046cc7&bt=FFFFFF&bth=000000&pbg=FFFFFF&pbgh=046cc7&pfg=000000&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lbgh=046cc7&lfg=000000&lfgh=FFFFFF&sb=FFFFFF&sbh=046cc7&p=0" /> <embed src="http://listen.grooveshark.com/widget.swf" type="application/x-shockwave-flash" width="320" height="356" flashvars="hostname=cowbell.grooveshark.com&widgetID=22770693&style=metal&bbg=000000&bfg=046cc7&bt=FFFFFF&bth=000000&pbg=FFFFFF&pbgh=046cc7&pfg=000000&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lbgh=046cc7&lfg=000000&lfgh=FFFFFF&sb=FFFFFF&sbh=046cc7&p=0" allowScriptAccess="always" wmode="opaque" /></object> </div> </body> Can anyone help me to make sure the flash displays right? what happens is the player loader displays at the top instead of the center and the control buttons are present before it loads. then after the loader fails it shows a "cannot connect" error. so I think the flash object is resizing inside its self. can anyone help me clean up this script so it will display correctly in iPhone safari (with flash enabled)? website is he smalldotdesign.zxq.net/iSwim.html that is where the HTML file is located that I am trying to get corrected. thanks in advance. i have a feeling this is going to be a tough fix. Hi guys, i have problem with my dropdown menu and IE7. Site is -> http://www.blisscupcakecafe.com/4/ When u hover on about us button it appears submenu/dropdown. But in IE7 its behind that AJAX slideshow/slider. So in all browser its ok but on IE its broken Also when i hover About Us from left or right its inline menu instead of block ? Thanks in advance Reference: http://www.skinquotient.com This is a shopping cart using OSCommerce. In the left hand column, you will notice that the second item from the top is a drop down menu titled "Shop by Concern". The length of some of the value in the shop by concern drop down menu are wider than the width of the left column. In firefox, when you open the menu, the menu itself expands wider then the width of the column so life is good. Of course, IE likes to make your life difficult, so in IE the menu values are truncated to fit the column width. I don't want to make that left column wider - I want to leave as much room as possible in the main body for content. My preferred solution would be to somehow make that menu expand in IE like it does in firefox, however I don't know if this is possible. Ideas are welcome! |