make javascript pop up work in post
-
This code works on offsite html pages, but not in a blog post. Any idea about how I can fix it?
<p><img src=”http://nimbus-devserver.com/expressmetrix/images/image001.png” alt=”Software Audit Rates by Organizational Size” width=”487″ />
<span style=’text-decoration:none;color:#000000;font-size:10px;line-height:12px;padding-left:14px;’>To use this image on your site, click here.</span></p>
<script type=”text/javascript”>
function openPopup1() {
popup = window.open(”, ‘Express Metrix 2013 image’, “fullscreen=no,toolbar=no,status=yes, menubar=no,scrollbars=yes,resizable=yes,location=yes,” + “width=560,height=160,left=400,top=400”)
popup.document.write( “<p style=’color:#000000;font-size:12px;line-height:12px;’>Copy and paste this code into your page.</p>” );
popup.document.write( “<textarea style=’width:520px;height:120px;’ title=’Express Metrix 2013 Software Asset Management Survey’ onclick=’this.focus();this.select()’>” );
popup.document.write( “<img src=’http://nimbus-devserver.com/expressmetrix/images/image001.png’ alt=’Express Metrix 2013 Software Asset Management Survey’ width=’487′ border=’0′ />
<span style=’text-decoration:none;color:#000000;font-size:10px;line-height:12px;padding-left:14px;’>Source: </span>Express Metrix 2013 Software Asset Management Survey” );
popup.document.write( “</textarea>” );
}
</script>
- The topic ‘make javascript pop up work in post’ is closed to new replies.