dani33l_87 Posted May 29, 2014 Share Posted May 29, 2014 Hi, I have this code: <div id="pics"> <?php if (count($itemRow['pics']) == 0) { ?> <img src="<?php h("{$www_base}/none.jpg"); ?>" class="pic active" /> <?php } else { ?> <?php for ($i = 0; $i < count($itemRow['pics']); $i++) { ?> <img src="<?php h(getThumbnail($itemRow['site'], $itemRow['pics'][$i])); ?>" class="thumbnail<?php if ($i == 0) e(" active"); ?>" picnum="<?php h($i); ?>" /> <?php } ?> <div style="clear:both;"></div> <br /> <?php for ($i = 0; $i < count($itemRow['pics']); $i++) { ?> <a target="_blank" href="<?php h(getPicture($itemRow['site'], $itemRow['pics'][$i])); ?>"> <img src="<?php h(getPicture($itemRow['site'], $itemRow['pics'][$i])); ?>" class="pic<?php if ($i == 0) e(" active"); ?>" /> </a> <?php } ?> <?php } ?> </div> This code practically take a picture and post it on my website, but the problem is that is also take the superfish advertisement, that I can see only in the html source. <div id="similarproducts_inimg" class="__similarproducts similarproducts_inimg generic generic" style="left:15px; top:465px;"><div class="container"><div class="explore_button _open_full_ui" style="height:100px; background-image: url('http://www.superfish.com/ws/images/inimg2/explore_en.png');" data-report-action="explore click"><div class="label"></div></div><a class="item free_shipping _merchant_click" target="_blank" href="http://www.........................</div></div> How I can block a specific DIV to be created. I try some java-script and no success until now. Some other solutions? Link to comment https://forums.phpfreaks.com/topic/288870-get-rid-of-superfish-div-after-php-execution/ Share on other sites More sharing options...
boompa Posted May 29, 2014 Share Posted May 29, 2014 What browser are you seeing this in? Link to comment https://forums.phpfreaks.com/topic/288870-get-rid-of-superfish-div-after-php-execution/#findComment-1481322 Share on other sites More sharing options...
QuickOldCar Posted May 29, 2014 Share Posted May 29, 2014 Using their service comes with ads, if you don't want ads then shouldn't use it. Link to comment https://forums.phpfreaks.com/topic/288870-get-rid-of-superfish-div-after-php-execution/#findComment-1481324 Share on other sites More sharing options...
boompa Posted May 29, 2014 Share Posted May 29, 2014 I'm confused as to whether this is the Superfish jQuery plugin or is somehow related to this Superfish, which is image-related, but doesn't appear to be for developers? More likely the OP is using a browser extension which is including Superfish's adware, like here. Link to comment https://forums.phpfreaks.com/topic/288870-get-rid-of-superfish-div-after-php-execution/#findComment-1481327 Share on other sites More sharing options...
dani33l_87 Posted May 30, 2014 Author Share Posted May 30, 2014 I am not using any plugin or superfish jquery in my website, only the website from where I take the picture (crawl) come together with this annoying ad Link to comment https://forums.phpfreaks.com/topic/288870-get-rid-of-superfish-div-after-php-execution/#findComment-1481382 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.