0
javascriptに基づいて表示/非表示を切り替えるフラッシュベースの広告があります。 Firefox、Safari、Chromeでは動作しますが、Internet Explorer 8では動作しません。これはホリデーシーズンに非営利団体に寄付するためのものです。埋め込みはFirefoxとSafariで動作しますが、Internet Explorer 8では動作しません。
test siteを参照してください。
ありがとうございました! ピーター
するvar pop_suppress = "true" を。 //<div class="grid_12 alpha omega"> <script type="text/javascript"> GA_googleFillSlot("360_dropdown"); </script><script src="http://pubads.g.doubleclick.net/gampad/ads?correlator=1323096793738&output=json_html&callback=GA_googleSetAdContentsBySlotForSync&impl=s&client=ca-pub-1030295571732009&slotname=360_dropdown&page_slots=360_dropdown&cookie_enabled=1&url=http%3A%2F%2Fdemo-studio360.wnyc.net%2F&lmt=1323096764&dt=1323096793743&biw=1201&bih=961&adk=203353989&ifi=1&u_tz=-360&u_his=2&u_java=true&u_h=1200&u_w=1920&u_ah=1174&u_aw=1920&u_cd=24&u_nplug=10&u_nmime=85&flash=11.0.1&gads=v2&ga_vid=901695308.1323096794&ga_sid=1323096794&ga_hid=1643565815"></script><div id="google_ads_div_360_dropdown_ad_container"><script language="javascript" type="text/javascript" src="http://www.pri.org/developer/js/flash_v3005.js"></script>
function show_div(div_id) { // hide all the divs document.getElementById('pencil').style.display = 'none'; document.getElementById('expand').style.display = 'none'; document.getElementById('intro583325').style.display = 'none'; // show the requested div document.getElementById(div_id).style.display = 'block'; }
function auto_show_div(div_id) { // hide all the divs document.getElementById('pencil').style.display = 'none'; document.getElementById('expand').style.display = 'none'; document.getElementById('intro583325').style.display = 'none'; // show the requested div document.getElementById(div_id).style.display = 'block'; }
//]]><div style="position: absolute; top: 1px; right: 1px;"> <a href="" onclick="show_div('expand'); return false;" style="outline: none;"><img src="http://www.pri.org/developer/images/adtop_expand.png" alt="Expand Ad" border="0" height="23" width="23"></a> </div>
<a href="" onclick="show_div('pencil'); return false;" style="outline: none;"><img src="http://www.pri.org/developer/images/adtop_collapse.png" alt="Contract Ad" border="0" height="23" width="23"></a> </div>
// [「コンテのID NT周波数キャップ」、 "ディスプレイの周波数間隔(フル時間のみ)"] するvar capcontent =新しいアレイ() capcontent [0] = [ "intro583325"、 "24時間"] 関数GET_COOKIE(へ名前){ var search = Name + "=" var returnvalue = ""; IF(document.cookie.length> 0){//<! [CDATA[ var SOB=new flashObj(); var enc_goto = escape("http://secure.publicbroadcasting.net/pri/banner/pledge.pledgemain"); var enc_goto2 = escape(""); SOB.ID = "intro_ad"; SOB.flashFile = "http://media.wnyc.org/media/resources/2011/Nov/30/360pushdown.swf"; SOB.DenyIEdl = "TRUE"; SOB.wmode = "opaque"; SOB.width = "960"; SOB.height = "230"; SOB.FlashVer = 9; SOB.cabVersion = "9,0,0,0"; //SOB.altTxt = '<a href="http://www.pri.org/give-pri.html" target="_new">Give to PRI</a>'; SOB.render(true); //]]> </script><embed src="http://media.wnyc.org/media/resources/2011/Nov/30/360pushdown.swf" swliveconnect="FALSE" quality="best" scale="exactfit" flashvars="null" wmode="opaque" id="intro_ad" name="flash2" menu="false" devicefont="false" salign="lt" allowscriptaccess="Always" allownetworking="All" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" height="230" width="960"> <div style="position: absolute; top: 1px; right: 1px;"> <a href="" onclick="show_div('pencil'); return false;" style="outline: none;"><img src="http://www.pri.org/developer/images/adtop_collapse.png" alt="Contract Ad" border="0" height="23" width="23"></a> </div>
}戻り戻り値。 } 関数resetcookie(ID){ するvar EXPIREDATE =新しいDate() expireDate.setHours(expireDate.getHours() - 10) document.cookie = ID + "=;パス= /; expires = "+ expireDate。toGMTString() } 関数showorhide(caparray){ IF(GET_COOKIE(caparray [0])!= ''){ のdocument.write( "#" + caparray [0] + "{表示:なし;} \ n ")//コンテンツの非表示にするCSS document.getElementById( 'pencil')。style.display = 'block'; else { var t = setTimeout( "auto_show_div( 'pencil') '、14000); VaRのEXPIREDATE =新しいDate() expireDate.setHours(expireDate.getHours()+のparseInt(caparray [1])) document.cookie = caparray [0] + "=" +のparseInt(caparray [1] )+ ";パス= /;満了し=" + expireDate.toGMTString() }} のdocument.write( 'の\ n')(I = 0 ; I ')offset = document.cookie.indexOf(search) if (offset != -1) { // if cookie exists offset += search.length end = document.cookie.indexOf(";", offset); if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) }
</div>