How to remove 'View Day'?
5 posts
• Page 1 of 1
Posts: 60
Joined: Wed Jun 23, 2010 9:21 pm |
Hi, I'm sorry, but I don't know the proper name for this UI element. It's a popover, but not the usual Event Popover...I'm looking for a way to remove 'View Day'. Any ideas? Thanks, Eugene |
Hi Eugene,
Good question. This one's tricky because the btn-default class on the "View Day" button gets used in other places, like on that "Close" button. But, we can still target that specific button element using its other attributes, like this:
Just be mindful when typing or copy/pasting that bit of code. Those quote characters need to be straight quotes; sometimes they can get overridden with angled "smart" quotes, which will break things =). I think you're familiar with editing DayBack's CSS, but in case not, and for anyone else following along, this link provides an overview of how to customize styles in DayBack along with some examples: https://www.seedcode.com/pmwiki/index.php?n=DayBackForFileMaker.CSS Hope that helps, Dan Dan Wheelon
[email protected] |
|
Posts: 60
Joined: Wed Jun 23, 2010 9:21 pm |
I did it this way, not ok?
.dbk_newEvent .btn-default { display: none; } ...it also gets rid of the 'close' button, but I suppose it's not really necessary to have it. |
Posts: 60
Joined: Wed Jun 23, 2010 9:21 pm |
Thanks Dan!
|
Nice, Eugene! Yes, your other way works, too, if you don't mind the hidden Close button.
The New Event popover closes when clicking off of it, except if you click again on the same day/region that the popover is in. I might worry that users might feel stuck without the close button there. Best, Dan Dan Wheelon
[email protected] |
|
5 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 6 guests