iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
We were finally able to turn certain day headers orange (help from previous support ticket) but now when a user hovers the mouse over those orange day headers, they turn back to gray. Please assist.
I believe this is the previous issue you mention in your post, Modify scheduler Day Header color
Further test indicate that in Week view and Month view, since the header will have dynamic style, the custom style will be overridden by the scheduler header style. For such scenario, you will need to create a HTML element, a DIV, in the header and move all the child node of the header to the newly created DIV. The style will be appended to this newly created DIV. Here is the modified snippet:
<style type="text/css"> .customHead { background-image: none; background-color: Black; color: White; }</style><script type="text/javascript" language="javascript"> function WebScheduler1_OnAfterRenderView(controlId, viewMode) { var sched = ISGetObject(controlId); var headerElem = null; var type = ""; //Setting all date 1 to have black background color with white text switch (viewMode) { case "Day": headerElem = sched.GetDayDayHeader().getElementsByTagName('td'); type = 'DayHeader;'; break; case "Week": headerElem = sched.GetWeekDayHeader().getElementsByTagName('td'); type = 'DayHeader;'; break; case "Month": headerElem = sched.GetSchedulerTableFrame().getElementsByTagName('td'); type = 'MonthInboundDateHeader;MonthOutboundDateHeader;'; break; case "Quarter": headerElem = sched.GetSchedulerTableFrame().getElementsByTagName('td'); type = 'YearDayOfWeek;'; break; case "Year": headerElem = sched.GetSchedulerTableFrame().getElementsByTagName('td'); type = 'YearDayOfWeek;'; break; } if (headerElem != null) { for (var i = 0; i < headerElem.length; i++) { if (type.indexOf(headerElem[i].getAttribute('type') + ";") != -1 && headerElem[i].getAttribute('d') == '1') { var innerContent = headerElem[i].innerHTML; var childs = headerElem[i].childNodes; var childCount = childs.length; var loop = 0; var newdiv = document.createElement('div'); newdiv.className = "customHead"; newdiv.style.height = headerElem[i].clientHeight + "px"; newdiv.style.lineHeight = headerElem[i].clientHeight + "px"; while (loop < childCount) { newdiv.appendChild(childs[0]); loop++; } headerElem[i].appendChild(newdiv); } } } }</script>
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname