E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2013, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Tue, 16 Aug 2011 22:55:25 GMT Wed, 22 May 2013 06:59:38 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #2 http://www.e-junkie.com/bb/topic/5383/pg/0#post18593 http://www.e-junkie.com/bb/topic/5383/pg/0#post18593 Tue, 16 Aug 2011 22:55:25 GMT
Honestly, I'm not quite sure why a cart button in the EJEJC_show overlay doesn't just display the cart in that same overlay, but it's probably because that appears to use an iframe in the overlay to display the desired page content. I'm not sure if a page in an iframe even can hook back to the parent page containing that iframe; if it's at all possible, I might guess it has something to do with needing an adjustment to the onClick= attribute in the button code, but I don't know enough JavaScript personally to figure out what adjustment might be needed. I can only ask our Development team to consider the matter.

I was able to get it to work, albeit a bit clumsily, by adding the script portion of View Cart code in the page being shown in the lightbox overlay. However, that actually opened a new lightbox overlay inside the original overlay's iframe, rather than just re-rendering the original overlay, so this solution is obviously not ideal.]]>
E-junkie Discussions; E-junkieGuru
Post #1 http://www.e-junkie.com/bb/topic/5383/pg/0#post18593 http://www.e-junkie.com/bb/topic/5383/pg/0#post18593 Sun, 14 Aug 2011 14:35:18 GMT
On my website (still in development) the user clicks on an image of the product, which opens up a lightbox (via javascript:EJEJC_show('**URL**', 'i', false);) in order to allow them to choose certain variables about their order.

They need to choose the size of the product, and this would normally be done via an HTML form (I'm using FFC at the moment, prior to migrating to FFCPro). However the form opens the cart in a new window. Is there a way to force the cart to open in the same lightbox?

Thanks,
-Rob Watkiss]]>
E-junkie Discussions; chill93101