kelemvor
02-18-2003, 06:30 PM
Howdy all,
Thsi is probably a really dumb syntax error but I'm overlooking it. I'm using a JavaScript line to integrate a Paypal shopping cart type thing to a website and this is the line that's attached to a "Add to Cart" button
onclick="window.open('https://www.paypal.com/cart/add=1&business=blah%40juno.com&item_name=Residential+Listing+Contract+-+x1&item_number=WB-1&amount=0.55&image_url=','cartwin','width=600,height=400,scrollbars,location,resizable,status'); target='contents'"
I've tried putting the target=contents in a couple different spots with no change.
What i want to happen is the first time the user clicks one of the buttons, it opens a pop up with their item. Then when they click "Continue SHopping" it's coded to just minimize itself (I can't control this). But when they click another button, I just want it to reactivate the minimized window but instead it's opening a new pop up window with the new information.
Not sure why. Any suggestions?
Thsi is probably a really dumb syntax error but I'm overlooking it. I'm using a JavaScript line to integrate a Paypal shopping cart type thing to a website and this is the line that's attached to a "Add to Cart" button
onclick="window.open('https://www.paypal.com/cart/add=1&business=blah%40juno.com&item_name=Residential+Listing+Contract+-+x1&item_number=WB-1&amount=0.55&image_url=','cartwin','width=600,height=400,scrollbars,location,resizable,status'); target='contents'"
I've tried putting the target=contents in a couple different spots with no change.
What i want to happen is the first time the user clicks one of the buttons, it opens a pop up with their item. Then when they click "Continue SHopping" it's coded to just minimize itself (I can't control this). But when they click another button, I just want it to reactivate the minimized window but instead it's opening a new pop up window with the new information.
Not sure why. Any suggestions?