PDA

View Full Version : Help with DD Window Widget



mattson
03-02-2007, 04:12 AM
1) Script Title: DHTML Window widget (v1.01)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm

3) Describe problem:

Hi All, I come to you with a ridiculous html code based enquiry... lol... I have tried to use the code from the window widget to launch an internal pop-in/pop-over window within the existing page that we want to use to notify customers visiting our site of our specials... however, Iím having some trouble orientating it properly within the html code to bring it to the front of the flash element.

If you check, http://www.gcphotography.com.au/indextest.html you can see, itís currently set to launch google.com within the internal window of the browser, however, half/3-quarters of the element are buried behind the flash frame... and I want the window to be the dominate element... any ideas how I could bring it to the front?

Cheers,

Matt

jscheuer1
03-02-2007, 05:40 AM
add:

<param name="wmode" value="transparent">

to both object tags.

mattson
03-02-2007, 07:12 AM
Thanks mate, really appreciate the feedback, however, I'm not brilliant with HTML coding... so where abouts would I put the Param Name in my html here:

<body>
<table width="100%" style="background-image: url(images/b-dr.gif); background-repeat: repeat-x; background-position: bottom;height:750px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" style="height:100%" valign="top"></td>
<td width="766" style="height:750px" valign="top">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="766" height="750" align="baseline">
<param name="movie" value="main3.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="main3.swf"
width="766" height="750" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer"><param name="BGCOLOR" value="#F0F0F0">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>
</td>
<td width="50%" style="height:100%" valign="top"></td>
</tr>
</table>

<body onblur="self.focus();">
<script type="text/javascript">
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://google.com", "Google Web site", "width=700px,height=450px,left=150px,top=10px,resize=1,scrolling=0", "recalonload")
</script>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1171114-1";
urchinTracker();
</script>

jscheuer1
03-02-2007, 02:58 PM
You have two object tags:


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="766" height="750">
<param name="movie" value="main3.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="main3.swf"
width="766" height="750" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>

Add:


<param name="wmode" value="transparent">

to both of them:


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="766" height="750">
<param name="movie" value="main3.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="main3.swf"
width="766" height="750" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>

mattson
03-03-2007, 03:00 AM
thanks Champ, that did the trick perfectly :)