Web Site Content Management Made Easy
Featured Clients:
.sortOrderGrid{
padding-left:2px;
font-family:arial black;
font-size:14px;
text-decoration:none;
font-weight:bold;
}
.pgNavPagesGrid,.pgMovePreviousGrid,.pgMoveNextGrid{
padding-top:0px;
padding-left:5px;
}
.pgPageLink,.pgMovePrevious,.pgMoveNext{
text-decoration:none;
}
.typeahead__container{
display:inline;
font-size:14px !important;
}
.typeahead__container SELECT{
height:auto !important;
font-family:Arial !important;
font-size:14px !important;
padding:2px 2px !important;
}
.typeahead__container .typeahead__cancel-button{
display:none;
}
.typeahead__container .ClientsHomejs-typeahead{
padding:2px;
font-size:14px !important;
width:30% !important;
}
.typeahead__container .search_button{
padding:2px;
width:26px !important;
height:26px !important;
background:url(/fw/_icons/search-icon.png) transparent 50% 50% no-repeat !important;
border:1px solid transparent !important;
}
.typeahead__container .search_button:hover{
background:url(/fw/_icons/search-icon.png) #eee 50% 50% no-repeat !important;
border:1px solid #000 !important;
}
$(function() {
ClientsHomefetchTypeAhead("")
});
function ClientsHomefetchTypeAhead(sLookupField)
{
if(sLookupField==""){
var fm=ClientsHomeGetGridForm();
if(fm.ClientsHome_LookupField){
sLookupField=fm.ClientsHome_LookupField.value;
}
}
resultData='["Park Meadows Country Club","Orchard Hills Golf & Country Club","Silent Valley Club","Country Club of York","Glenmore Country Club","Richmond Country Club","Ruth Lake Country Club","Cedar Ridge Country Club","The Yacht & Country Club","Conway Farms Golf Club","Golden State Chapter of the CMAA","Winding Hollow","Dubuque Golf and Country Club","Hillcrest Golf and Country Club","Greenbriar Hills Country Club","High Point Country Club","Wing Point Golf & Country Club","Mesa Country Club","The Chagrin Valley Athletic Club","White Mountain Country Club","Del Paso Country Club","Hammock Creek Golf Club","Saticoy Country Club","Valley Hill Country Club","Colorado Springs Country Club","LeBaron Hills Country Club","Pine Valley County Club","Pine Bluff Country Club","Stillwater Country Club","Ocean Reef Club","Ridge Country Club","Bayville Golf Club","Dalton Golf & Country Club","Cottonwood Club","Pine Valley Country Club","Oak Hills Country Club","Fox Den Country Club","Lake Arrowhead Country Club","Indian River Club","Hartford Club","Kinsale Golf and Fitness Club","Arnold Palmer\'s Bay Hill Club & Lodge","Black Hawk Country Club","Clubs of Cordillera Ranch","Eau Gallie Yacht Club","The Founders Club","Harbour Ridge Yacht & Country Club","Mariner Sands Realty, Inc","New Seabury� Cape Cod","North Ranch Country Club","Pine Island Country Club","Pipers Landing Yacht & Country Club","Summit Hills Country Club","Wisconsin Club"]';
if(resultData!='') ClientsHomeinitTypeAhead('cnt_title',resultData);
}
function ClientsHomeinitTypeAhead(sLookupField,resultData){
typeahead=$.typeahead({
input: '.ClientsHomejs-typeahead',
minLength: 0,
maxItem: 15,
order: "asc",
hint: true,
searchOnFocus: false,
cancelButton: true,
source: {
data: function () {
return JSON.parse(resultData);
}
},
callback:{
onReady:'ClientsHomeonTypeAheadReady',
onClickAfter:'ClientsHomeonTypeAheadClickAfter'
}
});
}
function ClientsHomeonTypeAheadReady(node){
var hasFocus=$(".ClientsHomejs-typeahead")==document.activeElement;
if(!hasFocus)this.hideLayout();
this.toggleCancelButtonVisibility();
}
function ClientsHomeonTypeAheadClickAfter(node, a, item, event){
var fm=ClientsHomeGetGridForm();
fm.submit();
}
function ClientsHomeGetGridForm(){
for(var f=0;f<document.forms.length;f++){
var fm=document.forms[f];
if(typeof(fm.ClientsHome_SortBy)!="undefined"){
return(fm)
}
}
alert('Grid Component must reside inside a form! Please try again once document is finished loading.');
return null;
}
function ClientsHomeSubmitKeyUp(e)
{
if(!e){e=event}
if(e.keyCode==13){
ClientsHomeSubmit(true)
return false;
}
}
function ClientsHomeSubmit(reload)
{
var fm=ClientsHomeGetGridForm();if(!fm) return;
if(reload){
if(fm.ClientsHome_LookupValue){
fm.ClientsHome_LookupValue.value = "";
fm.ClientsHome_LookupValueMM.value = "";
fm.ClientsHome_LookupValueDD.value = "";
fm.ClientsHome_LookupValueYY.value = "";
}
}
fm.enctype ="application/x-www-form-urlencoded"; //netscape
fm.encoding="application/x-www-form-urlencoded"; //ie4+
fm.method="POST";
fm.submit();
}
function ClientsHomeMoveToPage(PageNumber)
{
var fm=ClientsHomeGetGridForm();if(!fm) return;
if (PageNumber < 0) PageNumber=0;
fm.ClientsHome_CurrentPage.value = PageNumber;
ClientsHomeSubmit();
}
function ClientsHomeShowPaged(Paged)
{
var fm=ClientsHomeGetGridForm();if(!fm) return;
if(Paged){
fm.ClientsHome_ShowAll.value = ""
}else{
fm.ClientsHome_ShowAll.value = "true"
}
ClientsHomeSubmit();
}
function ClientsHomeSort(SortString)
{
var fm=ClientsHomeGetGridForm();if(!fm) return;
// toggle same column sort order ?
if(SortString.toLowerCase()==fm.ClientsHome_SortBy.value.toLowerCase()){
if(fm.ClientsHome_SortDir.value.toLowerCase()=="desc"){
fm.ClientsHome_SortDir.value="asc";
}else{
fm.ClientsHome_SortDir.value="desc";
}
// new column click, therefore use default values
}else{
fm.ClientsHome_SortDir.value="none";
}
fm.ClientsHome_SortBy.value = SortString;
ClientsHomeSubmit();
}
function ClientsHomeDoFindKeyUp(e)
{
if(!e){e=event}
if(e.keyCode==13){
ClientsHomeDoFind();
return false;
}
}
function ClientsHomeDoToggleLookupType(sLookupField)
{
if(sLookupField.indexOf("datefilter")>-1){
document.getElementById("gridTextLookup").style.display="none";
document.getElementById("gridDateLookup").style.display="";
}else{
document.getElementById("gridTextLookup").style.display="";
document.getElementById("gridDateLookup").style.display="none";
}
ClientsHomefetchTypeAhead(sLookupField);
}
function ClientsHomeDoFind()
{
var fm=ClientsHomeGetGridForm();if(!fm) return;
if(fm.ClientsHome_CurrentPage) fm.ClientsHome_CurrentPage.value=0;
ClientsHomeSubmit();
}
function doImgOver(oImg){
var w=oImg.width;var h=oImg.height;
oImg.orgsrc=oImg.src;oImg.src=oImg.nextSibling.src;
oImg.width=w;oImg.height=h;
}
function doImgOut(oImg){
oImg.src=oImg.orgsrc;
}
RSS Feed
Mesa Country Club Mesa, AZhttp://mesacountryclub.com
if((document.getElementById) && (!document.all)){
var fm=ClientsHomeGetGridForm();
if(fm){
if(fm.ClientsHome_LookupValue)fm.ClientsHome_LookupValue.onkeydown=ClientsHomeDoFindKeyUp;
if(fm.ClientsHome_LookupValueMM)fm.ClientsHome_LookupValueMM.onkeydown=ClientsHomeDoFindKeyUp;
if(fm.ClientsHome_LookupValueDD)fm.ClientsHome_LookupValueDD.onkeydown=ClientsHomeDoFindKeyUp;
if(fm.ClientsHome_LookupValueYY)fm.ClientsHome_LookupValueYY.onkeydown=ClientsHomeDoFindKeyUp;
if(fm.ClientsHome_PageSize)fm.ClientsHome_PageSize.onkeydown=ClientsHomeSubmitKeyUp;
}
}
var aCntIDsClientsHome="223,218,219,220,222,197,198,199,201,202,203,204,205,206,207,187,188,189,190,191,181,182,171,175,178,179,180,168,169,165,162,164,159,157,155,152,153,147,138,136,126,84,86,88,89,90,94,97,98,99,100,101,106,109";
aCntIDsClientsHome=aCntIDsClientsHome.split(",");
if((8 > 0)&&(aCntIDsClientsHome.length>1)){
var iIndexClientsHome =17;
var iLastIndexClientsHome = 17;
setInterval('RotateContentClientsHome();',8000);
}
function RotateContentClientsHome(){
var aCntIDs=aCntIDsClientsHome;
while(iLastIndexClientsHome==iIndexClientsHome){
iIndexClientsHome = Math.round((aCntIDs.length-1)*Math.random());
}
iLastIndexClientsHome = iIndexClientsHome;
var fadeTime=500;
var CntID=aCntIDs[iIndexClientsHome];
var sURL="/fw/contentmanager/cnt_mod_content_bulletin.asp?ajax=1&pkey=67b15f6ab26c6ba3a5e9ec66b162b765b162e8ded0da9894a69e787885adea9cec66b1636e64b163e89d9b9eb264b07ca09c97d8e0deb6a3a097b7656362e8ea9fec6cb1b09ca2a791dcd1d7d395a6979898a7";
sURL+="&CntID="+CntID
//console.log(sURL);
FadeAjaxURL("ajaxClientsHome",sURL);
}
var hiddenDIV='';
var activeDIV='X';
function FadeAjaxURL(containerid,url){
if(hiddenDIV=='X'){
hiddenDIV=''
activeDIV='X'
}else{
hiddenDIV='X'
activeDIV=''
}
$.get(url, function(response) {
$('#'+containerid+hiddenDIV).html(response);
$('#'+containerid+activeDIV).fadeOut('slow', function() {
$('#'+containerid+activeDIV).hide();
$('#'+containerid+activeDIV).html();
$('#'+containerid+hiddenDIV).fadeIn('slow');
});
});
}