Reveal.Js Causes Scroll Bars on Embedded Object - scrollbar

I think I have a relatively unique question. For many hours yesterday, I spent a bunch of time trying to figure out how to stop Reveal.Js from causing scroll bars on an embedded object I have. The embedded object is a Tableau Public workbook. You can check it out here: public [dot] tableausoftware.com/views/BudgetBookcampFY14/AdHocDrilldown?:embed=y&:display_count=no
The actual workbook (or dashboard) is sized to width:900 and height: 550. But neither one of those really seem to matter for the purposes of what I'm doing. To embed the object, I use the following code:
<script type="text/javascript" src="http://public [dot] tableausoftware.com/javascripts/api/viz_v1.js">
</script>
<div class="tableauPlaceholder" style="width:904px; height:619px;"><noscript>
<a href="#"><img alt="Ad Hoc Drilldown " src="http://public.tableausoftware.com/static/images/Bu/BudgetBookcampFY14/AdHocDrilldown/1_rss.png" style="border: none" />
</a></noscript>
<object class="tableauViz" width="904" height="619" style="display:none;">
<param name="host_url" value="http%3A%2F%2Fpublic.tableausoftware.com%2F" /><param name="site_root" value="" /><param name="name" value="BudgetBookcampFY14/AdHocDrilldown" />
<param name="tabs" value="no" /><param name="toolbar" value="yes" />
<param name="static_image" value="http://public.tableausoftware.com/static/images/Bu/BudgetBookcampFY14/AdHocDrilldown/1.png" /><param name="animate_transition" value="yes" />
<param name="display_static_image" value="yes" />
<param name="display_spinner" value="yes" />
<param name="display_overlay" value="yes" /><param name="display_count" value="no" /></object>
</div>
Now, the object embeds fine without scroll bars in IE9, Opera, or Google when now using you comment out the div class reveal ( -->). Example: houstonrestaurantinspections [dot] com/budgetbootcamp/minitest.html#/Full-Budget (about 3/4th down the page). That how I want it to render in the presention: no scrollbars on the embedded object.
But, them moment you uncomment the div class and put it back into presentation mode, scrollbars appear around the object: houstonrestaurantinspections [dot] com/budgetbootcamp/test.html#/Ad-Hoc
I've tried changing the object size information, the div class style, the workbook size in tableau, and I've even fiddled a bit with the reveal.js and reveal.min.css, but to no avail. I'm not the best when it comes to sizing all all of the nuisances on CSS (I'm rather a novice on that front, actually), so I could really use some advice here on how to advance this forward. I can chat here, by phone, by e-mail, or even IRC if anyone is willing to devote some time to it with me or provide me some guidance. I suspect it has to do with the way reveal pads an object or a div class or something along those lines, but I'm not really sure.

Related

Browser's default CSS hides flash objects?

I have an embedded flash object in a Drupal-block, something like this:
<object classid="xxxxxx" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="320" width="160"><param name="quality" value="high" /><param name="movie" value="/sites/default/files/flash/xxxxxxx.swf" /><embed height="320" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="/sites/default/files/flash/xxxxxxx.swf" type="application/x-shockwave-flash" width="160"></embed></object>
A few days ago it disappeared misteriously. After some browsing in Firebug, I found out that it's nost likely caused by the following CSS-declaration:
img:-moz-suppressed, input:-moz-suppressed, object:-moz-suppressed, embed:-moz-suppressed, applet:-moz-suppressed {
display: none !important;
visibility: hidden !important;
}
It's coming from (as far as I understand) the default css of Firefox. I tried to set the "object" and "embed" tags visible but this declaration always override it.
My questions are: Why is this default CSS-declaration come into effect now? It's not the first flash object I have embedded and they were visible so far. And how can I override it?
Thanks in advance!

Flash banner not clickable in chrome

I have embedded a flash banner on my wordpress site, by editing the header.php file. The banner itself has been hardcoded with the link, but once its on my website it is not clickable in Chrome (FF and IE work fine).
I then added another banner using the same code (except for the file name), which works on all browsers (the second banner was added using a widget).
Any ideas?
Thanks.
Y.
The banner can be found above the header, here: http://wordsandmusic.me
This is the code I am using:
<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="728" HEIGHT="90" id="http://wordsandmusic.me/wp-content/uploads/Flash Banners/banner_02.swf" ALIGN="Middle">
<PARAM NAME=movie VALUE="http://wordsandmusic.me/wp-content/uploads/Flash Banners/banner_02.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=AllowScriptAccess VALUE="always"> <PARAM NAME=bgcolor VALUE=#333399> <EMBED src="http://wordsandmusic.me/wp-content/uploads/Flash Banners/banner_02.swf" quality=high bgcolor=#333399 WIDTH="728" HEIGHT="90" NAME="http://wordsandmusic.me/wp-content/uploads/Flash Banners/banner_02.swf" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" AllowScriptAccess="always"></EMBED> </OBJECT>
You should try to delete this:
<div class="background-cover"></div>
Or at least modify the rules for that class. What are you using that div for?
Add the following css code to the <div> which contains the flash object:
<div style="text-align:center;position:relative;z-index:1;">
<object>Flash object will come here</object>
</div>
I have added inline css in the above code.

Problems with Chrome css and iframe

I'm managing this site: (no joke)
http://www.orgasmatrix.fr/webcams
As you can see, when you put your mouse over "Categories" the menu appears below the iframe called "chat_".
I have search about it. I have read and test with "position:absolute" and "z-index:-999", but no way.
I have found another tip with the iframe embenbed and try to put "?wmode=transparent" or "?wmode=opaque" as a parameter.
Also I have tested with , and also with the atributte allowtransparency="true". But no way, the iframe always appear above the "Categories" menu.
Any help?
I'll be very grateful.
The problem isn't with your code, but deeper - in very nested iframe (I have counted 3) with that chat element:
<object type="application/x-shockwave-flash" data="http://img.media-rendering2.com/market2/livecams/chat_coquin/chat_v2.swf" wmode="transparent" width="300" height="405" id="chatCoquinTac" style="visibility: visible; "><param name="menu" value="false"><param name="quality" value="high"><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"><param name="flashvars" value="url_acces=&url_image=http%3A%2F%2Fimg.media-rendering2.com%2Fmarket2%2Flivecams%2Fchat_coquin%2F&sexe=h&langue=fr&webcam=7&pseudo=Julia&ville=Warsaw&format=2&temps=1338679111"></object>
As you can see I have added (with developer tools) <param name="wmode" value="transparent"> and wmode="transparent" to <object> and it worked as it should (Chrome 19) - your categories menu appears above chat window.

full size flash inside web browser aligned centre

how do can I make the below full size flash inside my web browser aligned centre?
<body bgcolor="#000000">
<form id="form1" runat="server">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="50%" height="900">
<param name="movie" value="css/index.swf" />
<param name="quality" value="high" />
<embed src="css/index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
</form>
</body>
You need to set width="100%" in the "embed" tag, not just in the "object" tag. Incidentally, the size you currently have set in the "object" tag is 50%. Oh and you'll probably want to set the page margins to 0.
To then adjust the placement of objects in reaction to the stage resize use stage.stageWidth
Incidentally, the specific embed method you are using is what you get when you publish from Flash directly, and that positions things differently than the embed method when you publish from FlashDevelop. FlashDevelop inserts some JavaScript that centers automatically without the developer having to do anything. I didn't until just now even notice that, it's pretty convenient.
To go full screen in flash you have to change the displayState of the stage. The following line would accomplish this:
stage.displayState = StageDisplayState.FULL_SCREEN;

WordPress menu dropdown showing BEHIND video object

I'm working on this website: http://www.oklahomainsightstv.com/ and I'm trying to get the navigation drop down to show up ON TOP of the video object. I've tried a few versions of z-index in the CSS but nothing has worked.
This is my code:
<div id="hero" style="z-index:-1; position:relative;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="266" id="viddler_e3f5a526"><param name="movie" value="http://www.viddler.com/simple/e3f5a526/" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/simple/e3f5a526/" width="437" height="266" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" name="viddler_e3f5a526"></embed></object>
</div>
Its a browser bug !
Flash, iframes are visible above the menu. Place video object far from the menu.
Without testing it myself, a quick search revealed that there are two things you might not be doing:
Add the wmode parameter to your video object and use the value "transparent": <param name="wmode" value="transparent" />
Make sure you specify the position:relative; style to the menu with the z-order. Otherwise, the z-order won't be applied.
If that doesn't work, you may have encountered a limitation of a given browser, in which case, you may have to design the site so that plugins don't have the opportunity to overlap.
Sources

Resources