Jump to content

Get rid of superfish div after php execution


dani33l_87

Recommended Posts

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?

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.