VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 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-ASP 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

4266 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