Notice: file_put_contents(): Write of 81526 bytes failed with errno=28 No space left on device in /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php on line 36

Warning: http_response_code(): Cannot set response code - headers already sent (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 20
Island County, Washington
The Wayback Machine - https://web.archive.org/web/20230114211346/https://www.islandcountywa.gov/Pages/Home.aspx

Loading please wait

Loading please wait
Sign In

Calendar of Events

Resources

'; } else{ sMarkup= '

'+ this.oWebsite.get_title() +'Serving the communities of Camano & Whidbey Islands

'; } $('#dvMasterSiteTitle').html(sMarkup); }, onQueryFailedTitle:function (sender, args) { } } //Get site title //Create content editor web part by default var createWebPart = { siteUrl:_spPageContextInfo.webAbsoluteUrl, //serverRelativeUrl:window.location.href, serverRelativeUrl: window.location.href.replace(_spPageContextInfo.siteAbsoluteUrl,''), //serverRelativeUrl : SP.Web.get_serverRelativeUrl (), globalCount:0, getWebParts:function() { var clientContext = new SP.ClientContext.get_current(); var oFile = clientContext.get_web().getFileByServerRelativeUrl(createWebPart.serverRelativeUrl); var limitedWebPartManager = oFile.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared); this.oAllWebPart = limitedWebPartManager.get_webParts(); clientContext.load(this.oAllWebPart); clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceededGet), Function.createDelegate(this, this.onQueryFailed)); }, onQuerySucceededGet:function () { if(this.oAllWebPart.get_count()==0) { //alert("there are no web parts on page"); createWebPart.addWebPart(); } }, onQueryFailed:function (sender, args) { alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace()); }, onQuerySucceeded:function () { window.location.href=window.location.href; }, addWebPart:function(){ var clientContext = new SP.ClientContext.get_current(); var oFile = clientContext.get_web().getFileByServerRelativeUrl(createWebPart.serverRelativeUrl); var limitedWebPartManager = oFile.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared); var webPartXml = '' + '' + 'Content Editor' + 'Default' + 'Allows authors to enter rich text content.' + 'true' + 'CenterContentsZone' + '0' + 'Normal' + '' + '' + 'true' + 'true' + 'true' + 'true' + 'true' + 'true' + 'true' + '' + '' + 'Modeless' + 'Default' + '' + 'Cannot import this Web Part.' + '/_layouts/15/images/mscontl.gif' + '' + 'Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' + 'Microsoft.SharePoint.WebPartPages.ContentEditorWebPart' + '' + '' + '' + ''; var oWebPartDefinition = limitedWebPartManager.importWebPart(webPartXml); this.oWebPart = oWebPartDefinition.get_webPart(); limitedWebPartManager.addWebPart(this.oWebPart, 'CenterContentsZone', 0); clientContext.load(this.oWebPart); clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed)); } } //]]>