x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<style>
/* Styling for company cards */

.image-container img{
	width: 100%;
	height: 100%;
}

.image-container{
	width: 300px;
	height: 300px;
	background-color: white;
	border: 1px solid #afafaf;
}


.custom-card-container{
	width: 300px;
	height: auto;
	border-radius: 0;
	background-color: transparent;
	box-shadow: 0;
}

.custom-card-container:hover{
	border-radius: 0px;	
	box-shadow: none;
}
a:hover{
	border-radius: 0px;	
	box-shadow: none;
}

.card-text-container{
	width: 100%;
	margin-top: 30px;
}
.card-title{
	width: 100%;
	text-align: left;
    padding: 0;
    font-family: var(--secondary-font-family);
    font-weight: normal;
    color: black;
}



div.largeimagewithtextbelow-autocards .card-title {
    padding: 0;
    font-family: var(--secondary-font-family);
    font-size: 20px;
}
</style>

<script>
function setCardLinks() {
	let cardLinks = Array.from($("#myCards-userlist").find("a"));
	cardLinks.forEach(a => {	
		let companyName = a.href.split('companies/')[1];
		// /display/MSCOM/Company+Page?company=
		let newLink = '/display/MSCOM/Company+Page?company=' + companyName;
		a.href = newLink;
	});
}

window.addEventListener("DOMContentLoaded", () => {
	//setCardLinks();

	/*
	$('#myForm-tdmcompanies input').click(function() {
    	setCardLinks();
	});
	*/

});
</script>

...