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 for Basic jQuery UI Accordion
<!--...
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...
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...
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...
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 article on CSS sticky footers to help you understand before we move onto the “sometimes” part using...
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...
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 show you how to properly configure your web.config file to use it.
*Note – This tutorial will help...
Many of the people who did the program performance optimization, or concerned about the process of program performance, should have used all kinds of caching technology. I said today Cache refers specifically to the ASP.NET Cache we can use HttpRuntime.Cache to...
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...
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...
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...
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...
Enjoying our content?
Subscribe and receive a weekly newsletter packed with awesome stories to inspire you!
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 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...
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....
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....
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...
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,...
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...
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;
...
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...
CSS Center - This short tutorial and snippet will show how to center with CSS
CSS Center HTML
<body>
<div class="centerMe">
<!-- Put centered content...
In order to run ASPNETWatchDog, your system must have Microsoft .NET Framework installed. For more information about Microsoft .NET Framework, please visit MSDN .NET...
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...