javascript - Pulling Instagram feed into a nested Div using ID -


i have div that's nested in 2 other divs isn't pulling in instagram feed via id, although when take div out , have on it's own displays.

how can change code either in js file or html display when nested

here's related part of js file...

 $(function() { var cmdurl, embedimage, onphotoloaded, param, tag_name, userid, param = { access_token: '******************', // feel free change own access token count: 10 // total number of images }, tag = 'gezza', // user id. can find 1 out looking 1 of pictures uri tag_name = '#photowall', cmdurl = 'https://api.instagram.com/v1/tags/' + tag + '/media/recent?callback=?'; 

and here's html

 <div class="col-md-4 col-sm-4 home3block">           <div class="block">               <img src="assets/images/instagram-logo.gif">                <!-- start photowall -->               <div id="photowall">               </div>               <!-- close photowall -->            </div>       </div> 

i need #photowall inside both col-md-6 , block divs


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -