chris2403 Posted February 16, 2009 Posted February 16, 2009 Hi, im trying to add some code to the imformation section on the left, is there any reason this code would break the site: <!-- BEGIN ProvideSupport.com Graphics Chat Button Code --> <div id="cizmoV" style="z-index:100;position:absolute"></div><div id="sczmoV" style="display:inline"></div><div id="sdzmoV" style="display:none"></div><script type="text/javascript">var sezmoV=document.createElement("script");sezmoV.type="text/javascript";var sezmoVs=(location.protocol.indexOf("https") ==0?"https":"http")+"://image.providesupport.com/js/atom_computers/safe-standard.js?ps_h=zmoV\u0026ps_t="+new Date().getTime();setTimeout ("sezmoV.src=sezmoVs;document.getElementById('sdzmoV').appendChild(sezmoV)",1)</script><noscript><div style="display:inline"><a href="http://www.providesupport.com? messenger=atom_computers">Online Chat</a></div></noscript> <!-- END ProvideSupport.com Graphics Chat Button Code --> when used like this: $info_box_contents[] = array('text' => '<ul> <li class="bg_list_un"><a href="' . tep_href_link(FILENAME_ADVISOR) . '">' . BOX_HEADING_ADVISOR_SHORT . '</a></li>' . '<li class="bg_list"><a href="' . tep_href_link(FILENAME_DELIVERY) . '">' . BOX_HEADING_DELIVERY_SHORT . '</a></li>' . '<li class="bg_list"><a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY_SHORT . '</a></li>' . //<li class="bg_list"><a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a></li>' . ' '<li class="bg_list"><a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a></li>' . '<li class="bg_list_un"><br> <!-- BEGIN ProvideSupport.com Graphics Chat Button Code --> <div id="cizmoV" style="z-index:100;position:absolute"></div><div id="sczmoV" style="display:inline"></div><div id="sdzmoV" style="display:none"></div><script type="text/javascript">var sezmoV=document.createElement("script");sezmoV.type="text/javascript";var sezmoVs=(location.protocol.indexOf("https") ==0?"https":"http")+"://image.providesupport.com/js/atom_computers/safe-standard.js?ps_h=zmoV\u0026ps_t="+new Date().getTime();setTimeout ("sezmoV.src=sezmoVs;document.getElementById('sdzmoV').appendChild(sezmoV)",1)</script><noscript><div style="display:inline"><a href="http://www.providesupport.com? messenger=atom_computers">Online Chat</a></div></noscript> <!-- END ProvideSupport.com Graphics Chat Button Code --> </li>' . '</ul>'); new infoBox($info_box_contents); ?>
germ Posted February 16, 2009 Posted February 16, 2009 src=sezmoVs;document.getElementById('sdzmoV') Should be src=sezmoVs;document.getElementById(\'sdzmoV\') If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.