Featured Articles

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 does what you think. Both assign() and replace() appear to simply open a new page. So…Uhhh….. What’s the...

Modify the Windows Registry With VBScript

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

Javascript Window Location object Properties

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 URL#somewherehostReturns the hostname and port of a URLwww.domain.com (will include port if one exists)hostnameReturns the...

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 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 Element Using jQuery https://wshop.fi/eng/css-sticky-footer/ https://wshop.fi/eng/images-in-html-emails-still-separate-in-gmail/ https://wshop.fi/eng/protocol-relative-url-network-path-reference-or-scheme-relative-url/ https://wshop.fi/eng/javascript-window-location-object-methods/ https://wshop.fi/eng/make-rss-icon-display-in-browser/ https://wshop.fi/eng/basic-jquery-ui-accordion-tutorial/ https://wshop.fi/eng/responsive-jquery-vertical-menu/ https://wshop.fi/eng/net-vb-c-control-naming-conventions/ https://wshop.fi/eng/css-centering-of-an-element/ https://wshop.fi/eng/doctype-reference-html-and-xhtml/ https://wshop.fi/eng/my-favorite-css-generators/ https://wshop.fi/eng/seo-safe-css-hiding/ https://wshop.fi/eng/remove-dotted-line-around-link/ https://wshop.fi/eng/php-ispostback-equivalent-function-code-snippet/

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

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 tag with class v_item. It is...

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.  If your sticky footer is 75px...

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 a postback. The snippet of code below will create a PHP ispostback function. // Determine whether the page...

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

Javascript Window Location object Properties

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

“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 is an...

Discover

Trending

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

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

Make RSS Icon Display in Browser With this HTML Snippet

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

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

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

Enjoying our content?

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

Latest Articles

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

Sponsor

Stars

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

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

ASP.NET Cache Advanced Usage

Many of the people who did the program performance optimization, or concerned about the process of program performance, should have used all kinds of...

Modify the Windows Registry With VBScript

Famous WSH heard? He is the short form of the Windows Script Host, WSH is a Windows platform scripting command, his function is very...

How to Remove Dotted Line Around Link? Remove Mozilla Firefox Border

Ever noticed that FireFox applies a border/outline around links. This CSS snippet will remove dotted line around link. If this is what you are trying...