|
Rank: Newbie Groups: Member
Joined: 6/11/2012 Posts: 6
|
Hi @ all
I've been working with the eo:Dialog Box and trying to style it according to our needs.
One thing I need to do is to add a Css Class to the overlay you create for the Backshade (in order to add a background image). How can I do that?
Thanks Mike
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
I do not believe there is a way to do that. That is a DIV element but is not exposed anywhere, so there is no way for you apply style for it. Sorry about it!
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/11/2012 Posts: 6
|
Hi
Can this be considered as a Feature for one of the next releases?
Otherwise: How can I style the overlay with CSS? This really is a "must have" feature...
thanks, Mike
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
The most we can do is to assign a fixed ID to that element (for example, we can call it "eo_dialog_shade"). Once we assign a fixed ID to you, you will be able to call document.getElementById to get that element. You can then do whatever you want to do with it.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/11/2012 Posts: 6
|
Hi Why shouldn't that be possible? Anyway, yes a fixed id would already help me to get it styled.
Thanks Mike
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
We didn't say it's impossible. ; ) But you have to understand that it doesn't mean that as soon as it's possible we will implement it --- we have thousands of customers and it is not possible for us to implement everything every one wants. This one does seem to be a useful one ---- so we will look into it and see what we can do.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/11/2012 Posts: 6
|
Hi,
That would be very cool! Let me know, when there's something to go on width.
Cheers, Mike
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Sure. We might have it early next week. We will reply again when we have something.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, We have posted a new build that implemented this. With the new build you can use the following code to get the back shade DIV:
Code: JavaScript
eo_GetObject("Dialog1").getBackShade();
Please see your private message for the download location of the new build. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/11/2012 Posts: 6
|
Hi
I finally got through testing your file. Works very good.
Thanks again,
Cheers Mike
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Great. Thank you very much for the update!
|
|