>- see footer for list info -<
I found the only way to do it was using JavaScript to clone the cfgraph object 
and change the wmode parameter: -

<body onLoad="clone()">
    <cfgraph type="pie"
           fileformat="flash"
                   graphheight="175"
                   graphwidth="350"
                   backgroundcolor="##E7E7E7"
           bordercolor="black"
                   colorlist="##FF9900,##3399FF"
                   depth="0">
        <cfgraphdata item="Pending" value="15">
        <cfgraphdata item="Completed" value="24">
 </cfgraph>

<div 
style="position:absolute;top:50px;left:50px;z-index:1000;width:600px;height:30px;background:red">test
 div</div>
</body>


<script language="javascript">
function clone(){
        bodyObj=document.getElementsByTagName("body")[0];
        flash=document.getElementsByTagName("embed")[0];
        if (flash){
                parent=flash.parentNode;
                leClone = flash.cloneNode(true);
                leClone.setAttribute("wmode","transparent");
                parent.insertBefore(leClone, flash)
                parent.removeChild(flash);
        } else {
        flash=document.getElementsByTagName("object")[0];
        leClone = flash.cloneNode(true);
                newParam=document.createElement("param");
                        newParam.name="wmode";
                        newParam.value="transparent";
                leClone.appendChild(newParam);
                parentNode=flash.parentNode;
                flash.insertAdjacentElement("beforeBegin", leClone)
                try
                  {
                          //The first child of the div is the bold element.
                        var 
oChild=parentNode.getElementsByTagName("object")[1];        
                        parentNode.removeChild(oChild);
                  }
                  catch(x)
                  {
                  }
        }
} 
</script>

--
This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
http://www.opensubscriber.com/message/[email protected]/5787235.html
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to