I have the following markup which I do not have direct access to...
<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 follows...
A few things to point out is that the title is coming from a variable escape(global_Current_ProductCode) variable=productcode
The height, width, price and product id used in the second markup must be from the first markup. Note that these change depending on the product page loaded. These are not constants.
I would guess the first thing to do was to add the thickbox class. Then I am lost as to what to do next.
Basically I need to open up an thickbox iframe with the modified markup.
Register and ask again in a more parsable way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With