StoreSecured

Welcome, Guest Login

Support Portal

Can I disable the popup item image lightbox?

Last Updated: Oct 09, 2013 02:46PM PDT
Yes, if you do not want to show the built in light box functionality for item images insert the following code in the browse_item_details.asp page.

<script type="text/javascript">
                                 
function disableLinks()
{
 
try
{
var divContainer = document.getElementById("divContainer");
var links = divContainer.getElementsByTagName('a');
 
  for(var i = 0; i < links.length; i++)
  {  
    links[i].removeAttribute('href');
  }
}
catch(e)
{}
}
 
var t = window.setInterval("disableLinks()",1000);
 
</script>

Contact Us

  • Ask the Community
  • Email Support
support@storesecured.com
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete