I have the following markup with which I do not have direct access ...
<a href="javascript:void(0);" onclick="window.open('/BulkDiscounts.asp?ProductID=318&ProductCode=' + escape('LB30X40ES') + '&Orig_Price=22.95', 'Discounts', 'scrollbars,status,resizable,width=330,height=300');"><iimg src="/v/vspfiles/templates/100/images/buttons/btn_quantitydiscounts.gif" border="0" align="absmiddle"></a>
I need to “rewrite” the above as shown below.
A few things to indicate that the title comes from the variable escape (global_Current_ProductCode) variable = productcode
The values for height, width, price and product used in the second layout should be from the first layout. Please note that this change depends on the loaded product page. These are not constants.
I would suggest that the first thing to do is add a class of thick columns. Then I get lost as to what to do next.
Basically, I need to open the pushbox iframe with the modified layout.
source
share