1. #1
    Sencha User
    Join Date
    Apr 2013
    Posts
    7
    Answers
    2
    Vote Rating
    -1
    quintenvk is an unknown quantity at this point

      0  

    Default Unanswered: Top part of list comes unusable with DFP

    Unanswered: Top part of list comes unusable with DFP


    I have several containers, all scrollable, with separate elements. All have the problem i'm about to describe, but for the sake of ease, i'll explain it by the hand of a standard list-component.

    After the list has been loaded, I insert 2 placeholders, like such:
    PHP Code:
    var listSlots = [];

    Ext.getCmp('mylist').getStore().insert(2, {adHtml'<div id="listHolder-2"></div>'});
    listSlots.push({target'listHolder-2'divab.cfg.ads.list_news_2.div}); 
    I then inject the necessary html into the placeholders for the DFP-tags, and activate the command to display the actual ad.

    PHP Code:
    document.getElementById(slot.target).innerHTML '<div id="'+slot.div+'"></div>';
    googletag.cmd.push(function(){googletag.display(slot.div);}); 
    Now, the problem is: the very moment I activate this function, the list scrolls to the last ad. All the items above it, including the other ad, become essentially unusable. When I try to drag the list down, the pullrefresh shows up (and part of the item in the list that is above the DFP tag).

    When I call .doRefresh() the ads disappear completely. Anyone have any idea what to do on this one?

  2. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    7
    Answers
    2
    Vote Rating
    -1
    quintenvk is an unknown quantity at this point

      -1  

    Default


    Bump. Anyone?