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
 Customization
 Does HighslideJS work in v7.0?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peter_rjs
Starting Member

16 Posts

Posted - January 15 2010 :  11:57:52  Show Profile  Reply with Quote
v7.0

In my product descriptions, I used to use javascript for clickable links such as "onclick="MM_openBrWindow....." etc - to open small pop-up windows with specific extra details.

Javascript no longer works from within the database, so I was wondering if there are any other ways to create small pop-up windows from links within the product description? (I don't mean standard pages - I want to control the size, etc).

Secondly, does this restriction on javascipt mean that the HighslideJS app would not work?

It is an excellent add-on - but not sure if it would work on v7.0?

The VPASP helpnote for HighslideJS is from 2007, when javascript was still permitted.
http://helpnotes.vpasp.com/shopexd.asp?id=930#930

peter_rjs
Starting Member

16 Posts

Posted - January 16 2010 :  08:44:47  Show Profile  Reply with Quote
OK - found a way to run javascript for pop-up windows which I hope is ok.

Added javascript code to shoppage_header, and then on-click code to the tmp_product template.

Then replaced the pop-up page reference with [level4] field, and the link text is in [level5] field.

e.g;
<a href="javascript:;" onclick="MM_openBrWindow('[level4].asp','[level4]','scrollbars=yes,resizable=yes,width=700,height=850')">[level5]</a>
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000