In this post I want to show you how I like to go about creating a state machine. A state machine is usually used (or at least, I use it) for things like the game states (pause, playing, gameover,ecc) or AI...
jquery window width, you’ll need it if you’re working with Responsive Design and/or need to figure out the width of the browser Window? Are you using a responsive design layout and using viewport, but need a way to determine window width? jQuery width() and jQuery resize() can...
Famous WSH heard? He is the short form of the Windows Script Host, WSH is a Windows platform scripting command, his function is very powerful, and he was using the grammatical structure is simple, easy to use and powerful JScript and...
These control naming conventions may help provide some organization. Visual Studio sets Name properties to defaults for controls, like Label2. Using these conventions it would be something like lblName.
ASP.NET Control Naming Conventions
ASP.NET Control Naming Conventions are prefixed to the name, such as, lblName or rptEmployee.
Control Naming...
jQuery $(document).ready() is a basic part of using jQuery. The jQuery document ready function executes when the DOM (Document Object Model) is completely loaded in the browser. jQuery document ready is used to initialize jQuery/JavaScript code after the DOM is ready,...
As far as I know, this is better for SEO when hiding an element with CSS. I believe it is better than display: none; and/or visibility: hidden;
#thingamabob {
position: absolute;
left: -9999px;
}
CSS Hiding the SEO...
To get the below URL Rewrite code to work in IIS, you must first install the URL Rewrite module. The URL Rewrite module is not installed by default. The IIS URL Rewrite module may be a better solution than HTTP Redirect...
The Developers Dilemma usually takes two forms:
If Only I could XOr, How Do I X
Usually followed by a flurry of Google Searches and, depending on the platform/language you are programming in, either success or failure.
Often though, if the solution requires downloading...
Javascript window location object properties contain information about the current URL. For example” location.pathname” returns “/subdirectory/search.”
Example URL: http://www.domain.com/subdirectory/search?filter=a#somewhere
Javascript Window Location Object Properties
PropertyDescriptionReturnshashReturns the anchor portion of a...
This will show how to make RSS icon display in browsers with RSS feed integration.
Most CMSs will automatically add the code needed for an RSS feed to be displayed...
In general, this means evaluating the design for performance, maintainability, extensibility, scalability, availability, recovery, data integrity, and use-case correctness.
Performance Evaluation
Typically, designing a Web application...
Here we will explore 5 different CSS clearfix options. A “CSS clearfix” is often needed to clear floats.
Examples 1-3 clear floats by applying a CSS class to a...
We have chosen the best articles written by our partners from SurfingSuccess and you can find them below:
https://wshop.fi/eng/jquery-document-ready-explained-document-ready-function/
https://wshop.fi/eng/javascript-browser-detection-navigator-user-agent-sniffing-guide/
https://wshop.fi/eng/asp-asp-net-forms-authentication-login-control-with-sql-server-using-aspnetdb-mdf/
https://wshop.fi/eng/jquery-append-insert-using-append-prepend-before-after/
https://wshop.fi/eng/jquery-window-width/
https://wshop.fi/eng/css-wildcard-kind-of-css-attribute-selector/
How to set the default view in visual studio to either, Design, Source, or Split View
https://wshop.fi/eng/iis-url-rewrite-installation-and-use-web-config/
https://wshop.fi/eng/css-clearfix-how-to-clear-floats/
“Sometimes” Sticky CSS...
This tutorial will show how to use jQuery append. It will also show how to append after and append before. Append actually means to add after. But this...
jQuery $(document).ready() is a basic part of using jQuery. The jQuery document ready function executes when the DOM (Document Object Model) is completely loaded...
CSS wildcard or CSS Regular expression? - You may be looking for CSS Attribute Selector.
CSS Attribute Selector - Here’s the scenario: You want to add styling to all...
CSS Center - This short tutorial and snippet will show how to center with CSS
CSS Center HTML
<body>
<div class="centerMe">
<!-- Put centered content...