Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 javascript not working in descriptions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

riprod
VP-CART New User

USA
85 Posts

Posted - March 20 2008 :  09:03:26  Show Profile  Reply with Quote
When I have a javascript line of code that I paste into the source on a product long description, VPASP seams to comment it out.
eg : this is my code
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("Specs");
//-->
</script>
VPASP does this :

<script type="text/javascript">
//<![CDATA[TabbedPanels1 = new Spry.Widget.TabbedPanels("Specs");//]]>
</script>

Why ? how do I get past it

Edited by - riprod on March 20 2008 09:04:11

support
Administrator

4679 Posts

Posted - March 20 2008 :  09:08:15  Show Profile  Visit support's Homepage  Reply with Quote
For security JavaScript is now removed from being displayed from the database.

You will need to deal with JavaScript display programatically if you require it to be used on your site unfortunately.

Thanks
Cam

VP-ASP Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00