Skip to main content
Participant
February 6, 2014
Question

expandable banner issue

  • February 6, 2014
  • 1 reply
  • 555 views

Hi All,

Im using below script to run my flash expandable banner. it works on my test html page corectly but when i send it publishers the swf blocks the above html but on my test html when its not expnded it doesnt block above html.

test page
http://ogilvy.lk/Neo@Ogilvy/web_projects/eno/expandable2/test2/

publisher site(joomla)

http://www.dailymirror.lk/news/42692-two-containers-seized-with-scrap-copper.html

code im using

<script type="text/javascript">

    //Flash dimensions (600x150)=>(600pxx300)

    function expand() {

        document.getElementById("exp-banner").style.clip="rect(0px 600px 400px 0px)";

    }

    function retract() {

        document.getElementById("exp-banner").style.clip="rect(1px 600px 400px 0px)";

    }

</script>

<div style="position:absolute; margin-top:100px;">

<div style="position: absolute ; width: 600px; height: 150px;">

    <div id="exp-banner" style=" position:absolute;clip: rect(1px 600px 400px 0px); ">

      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="600" height="400" id="expandable" align="middle">

        <param name="allowScriptAccess" value="sameDomain" />

                <param name="allowFullScreen" value="false" />

        <param name="movie" value="expandable.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#666666" />    <embed src="expandable.swf" quality="high" wmode="transparent" bgcolor="#fff" width="600" height="400" name="3100927_1447_3YZ_Renner_WEB_destaque_departamento" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />

      </object>

    </div>

</div>

</div>

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
February 6, 2014

the problem's going to be in their code, not yours.