You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

change mask color on second run Created Jul 29, 2009

This thread is solved

Views: 2262     Replies: 1     Last reply Oct 21, 2009  
You must login first before you can use this feature

parawing742

Posts: 53

Registered:
Nov 11, 2008

change mask color on second run

Posted: Jul 29, 2009

I'm trying to use a different mask color on the second time an element is exposed. The color is set using a js variable named background. Here is the current code (with a fixed variable setting):


var background = "#333333";
exposeApi = $("#contain1").expose({api: true, color: background, opacity:1}).load();

If I run this code a second time on the same page (after closing the first expose instance), the expose uses the same background as the first instance even though the variable has changed. How can I make it use the new background variable on the second usage?

blackmamba

Posts: 1

Registered:
Oct 21, 2009

» change mask color on second run

Posted: Oct 21, 2009

Reply to: change mask color on second run, from parawing742
I'd like to know this too.

I'm trying 2 different types of expose on the same form. But it always uses the first.