Welcome Guest Search | Active Topics | Sign In | Register

Dialog BackShade CssClass Options
Mike
Posted: Wednesday, August 8, 2012 2:53:49 AM
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
eo_support
Posted: Wednesday, August 8, 2012 8:06:13 AM
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!
Mike
Posted: Wednesday, August 8, 2012 8:57:41 AM
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
eo_support
Posted: Wednesday, August 8, 2012 10:57:12 AM
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!
Mike
Posted: Thursday, August 9, 2012 3:49:39 AM
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
eo_support
Posted: Thursday, August 9, 2012 10:12:33 AM
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!
Mike
Posted: Friday, August 10, 2012 10:29:50 AM
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
eo_support
Posted: Friday, August 10, 2012 11:57:58 AM
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!
eo_support
Posted: Friday, August 10, 2012 5:01:24 PM
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!
Mike
Posted: Tuesday, August 14, 2012 7:15:49 AM
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
eo_support
Posted: Tuesday, August 14, 2012 9:46:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Great. Thank you very much for the update!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.