Featured Articles

jQuery Window Width – Determine Browser Window Size, Responsive Design

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...

Application Design Inside ASP.NET

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 into three logical tiers is sufficient. Creating additional logical tiers is usually an indication of a poor...

Coding With Unity State Machine Using Inheritance

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 Append – Insert Using .append() .prepend() .before() .after()

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 will  show you how to use jQuery to insert content with these four functions. BeforeAfterInside.prepend().append()Outside.before().after() .before() - Inserts content outside and before. .prepend() - Inserts...

IIS URL Rewrite Tutorial – Installation and Use – web.config

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...

SEO Safe CSS Hiding: CSS Snippet

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...

CSS Wildcard (kind of) – CSS Attribute Selector

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 elements that have “read” in the  name of the class. For instance: Below classes have some of the...

CSS Center – CSS Centering of an Element: Tutorial

CSS Center - This short tutorial and snippet will show how to center with CSS CSS Center HTML <body> <div class="centerMe"> <!-- Put centered content here --> </div> </body> CSS Center This CSS centering includes styling that may be required for older versions of...

SurfingSuccess Articles

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...

Control Naming Conventions for ASP.NET VB C#

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...

CSS Wildcard (kind of) – CSS Attribute Selector

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 elements that...

Discover

Trending

Responsive jQuery Vertical Menu

The vertical menu knows how far to animate by getting the width of the div it’s located within. View Demo The snippet of code below is...

Create and Consume Web Services In Asp.Net

In this Article we will learn how to create and consume Web Services In Asp.Net and C#. A Web Service is platform independent software component,...

jQuery Document Ready Explained: $(document).ready() Function

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...

“Sometimes” Sticky CSS Element Using jQuery

There are several tutorials on how to make things “sticky” using CSS. We will make a “sometimes sticky” element using CSS and jQuery. Here...

PHP Ispostback Equivalent Function – Code Snippet

There is a function called ispostback in asp.net. However there isn’t one in PHP. You use do it to check if a page is...

Enjoying our content?

Subscribe and receive a weekly newsletter packed with awesome stories to inspire you!

Latest Articles

Control Naming Conventions for ASP.NET VB C#

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...

Responsive jQuery Vertical Menu

The vertical menu knows how far to animate by getting the width of the div it’s located within. View Demo The snippet of code below is the html for our vertical menu. Take note of the span...

Images in HTML Emails: Images Still Separate in Gmail?

Have you ever made an HTML email with images in it and it looked good in most email clients, but not gmail or possibly hotmail? You’ve made sure to build your HTML email using tables instead of divs, used colspans, specified heights and widths....

CSS Sticky Footer – Sticks Whether You’ve Scrolled or Not

There are several tutorials on how to make a CSS sticky footers sticky header, or sticky sidebar.  This is one. Remember to compensate at the bottom of your page so the CSS sticky footer doesn’t cover any content....

Doctype Reference – HTML and XHTML

Here are the doctype declarations for you. Short and sweet HTML Doctypes: HTML 5 Doctype <!DOCTYPE html> HTML 4.01 Strict Doctype <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> XHTML Doctypes: XHTML 1.1 Doctype <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> XHTML 1.0 Transitional Doctype <!DOCTYPE html PUBLIC...

CSS Generators – My Favorites – CSS3 Tools and Gradient Generator

There are several CSS generators out there. Many do the same things. Soo… To keep you from sorting through several different generators, here are my favorites to save some time.  Some browsers have different quirks,...

jQuery UI Accordion Tutorial: How to Make a Basic jQuery UI Accordion

This post is for beginners.  It shows how to make a basic jquery UI accordion. We will use a predefined jquery ui for the accordion. There is a link to the demo right before the entire code snippet. HTML...

SEO Safe CSS Hiding: CSS Snippet

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; ...

Protocol Relative URL – Network-Path Reference or Scheme-Relative URL

Here we examine why you would use a protocol relative URL.  Have you ever had this error in ie - “This page contains both secure and nonsecure items?” A protocol relative URL may also be called...

Sponsor

Stars

Control Naming Conventions for ASP.NET VB C#

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...

IIS URL Rewrite Tutorial – Installation and Use – web.config

To get the below URL Rewrite code to work in IIS, you must first install the URL Rewrite module. The URL Rewrite module is...

Asp.Net Forms Authentication Login Control With SQL Server Using aspnetdb.mdf – ASP.NET Membership

This tutorial will show you how to make the ASP.NET forms authentication work with SQL Server using the provided ASPNETDB.MDF file.  Then it will...

Javascript Window Location Object Methods

Two of the three javascript window location object methods seem to do the same thing.  They do not. The window location methods are assign(), reload(), and replace(). The reload() method...

jQuery Append – Insert Using .append() .prepend() .before() .after()

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...