Jump to content

Custom Menu With Update Buttons


Recommended Posts

Greetings,

I have a script that works well to have a custom menu with 'Update' buttons. This means that any time they press one of the menu buttons, the data entry on the Details Datapage saves. Again this works great, but now I am looking for a way to have the current page show a different color than the rest of them. Does anyone know how to do this? My current script has one style for each button, but I am not sure how to get it so the current page is a different color.

Below is my current script.

<style type="text/css">


.cbUpdateButton{
    background-color: #12b5ea;
    height: 75px !important;
    color: white;
    padding: 10px 7px;

    font-size: 12px;
    border-style: solid;
    border-width: 1.5px;

cursor: pointer;
font-family: helvetica, arial, sans serif;
background: linear-gradient( #12b5ea, #12b5ea);
border-radius: 5px;
}

.dropbtn:hover{
  background-color: #006792;
    height: 75px !important;
    color: white;
    padding: 10px 7px;

    font-size: 12px;
    border-style: solid;
    border-width: 1.5px;

cursor: pointer;
font-family: helvetica, arial, sans serif;
background: linear-gradient( #006792, #006792);
border-radius: 5px;


}


</style>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
	<tbody>
		<tr>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/gl-import'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">GL Import</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/balance-sheet'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">Balance Sheet</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/revenue'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">Revenue</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/expenses-cost'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">Expenses &ndash; Cost of Goods Sold</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/expenses-admin'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">Expenses General &amp; Administrative</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/services-provided'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">Services Provided &amp; Patients Served</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/accounts-receivable'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">Accounts Receivable &amp; Claims</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/medicare-billing-benchmarks'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">Medicare Billing Benchmarks</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/referrals-and-admissions'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">Referrals &amp; Admissions</button></div>
			</td>
			<td>
			<div class="dropdown" style="float:left;"><button class="cbUpdateButton" id="Mod0EditRecord" name="Mod0EditRecord" onclick="window.location.href='https://www.simione.com/data-analytics-portal/financial-monitor/quarterly-intake/referrals-and-admissions'" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit">PDGM Statistics</button></div>
			</td>
		</tr>
	</tbody>
</table>

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...