an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Enlarge Window has site background
Last Post 12/2/2010 3:09:20 PM By Bahram. 12 replies.
Page 1 of 2 (13 posts) << First < Prev 1 2 Next > Last >> 
11/22/2010 3:12:49 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Enlarge Window has site background
 Hi Luke,
 
The Product Enlarge windows opens with the same background wall as of the website. I do not want site background on this window and only white or no background.
 
Thanks,
 
 
11/25/2010 10:05:02 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Enlarge Window has site background
 Actually this is a bug in DSC, whatever the website background is, the Product Enlarge Window should be white in background.
11/25/2010 10:33:40 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Enlarge Window has site background
 I looked at the code which is JS window.open function and it does not have any parameter regarding background or color . Then how come the pop window shows Logo and Body background.
 
11/25/2010 11:50:03 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Enlarge Window has site background
If you don't like the pop window uses the default logo and background, you can change Store\ProductImages.aspx or PopupWindow.master. The latter affects all the popup windows.
DotShoppingCart Staff
11/25/2010 2:32:13 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Enlarge Window has site background
 Change what in ProductImage.aspx? It acutally calls window.open method, what parameter I should change?
11/26/2010 11:26:12 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Enlarge Window has site background
 In windows.master.cs there is only code for showing logo. There is no code for background setting. And I do not want to change it Globally, since popWindow may be used in some other places.
 
So where in ProductImages.aspx I need to touch as I see no parameter related to this issue.
 
 
11/29/2010 11:31:36 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Enlarge Window has site background
You can wrap the content in ProductImage.aspx in a div and then give a white backgound to div so that it override the default body background.
DotShoppingCart Staff
12/1/2010 10:51:27 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Enlarge Window has site background
I did it and it does not work.
 
What I am talking about is Enlarge Function : OpenPopupWindowsFromMain
This function also calls OpenResizablePopupWindow so there is nothing to do with Div and background
12/1/2010 11:03:38 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Enlarge Window has site background
 The ProductImage.aspx is already embedded in ProductDetailDefaultTemplate and no need to set background since it is already white.
It is about JavaScript WindowOpen function that opens this page with the background setting of website.
 
Just look at this website for example:
 
It has a seasonal background, but if you open gallery of each product you can see it is white in background. 
 
Also it will be useful to have manufactures Logo and name in the Enalrge Window for those online stores that sell products of multiple vendors.
 
Thanks,
12/1/2010 3:18:47 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Enlarge Window has site background
Read my reply again. OpenResizablePopupWindow opens a new page Store\ProductImages.aspx in a new popup window. Doesn't you want to change the background in Store\ProductImages.aspx?  What makes you think Store\ProductImages.aspx embedded in ProductDetailDefaultTemplate?
DotShoppingCart Staff
12/2/2010 10:31:59 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Enlarge Window has site background
 What makes me think? I see it. These are the controls on ProductDefaultTemplate from the top :
 
Manufacturer
ProductImage
VoumePricing
addToCart
ShortDescription
prvReview
 
So when I edit ProductImage control, the store/ProductDetail/ProductImages.ascx opens up. I do not want to change anything here.
But when clicking on Enlarge then Window.Open function opens this page again.
And this is the place I want white background.
 
Your previous reply to change PopupWindow.master. How can I set background in there?
 
 
Page 1 of 2 (13 posts) << First < Prev 1 2 Next > Last >>