Jump to content

Get rid of superfish div after php execution


dani33l_87
Go to solution Solved by 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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.