javascript - Change the new facebook page plugin width -


the new facebook page plugin has minimum width @ 280px (inserted data-width:280px).

however when inspect element created script firebug see element id="u_0_0" width @ 280 can modify console need (227px).

i've tried modify little script made jquery (i can work jquery 1.2...an old version of it...) doesent seams work since element inserted dinamicaly dom.

i tried method finded google doesn't work:

  jquery(document).ready(function(){    jquery('#u_0_0').live('domnodeinserted', function(){        alert(jquery('#u_0_0').html());    }); }); 

the above method doesn't work , if dont use live alerts me undefined...

so, how can element can modify it's css ? maybe jquery 1.2.1 old maybe can , modify clasic javascript...

  • the plugin renders in iframe separate dom yours.

  • because of reason, not possible run scripts on plugin website

in script:

jquery('#u_0_0') not able find div, since doesn't exist on dom.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -