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
<!--...
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...
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 supported browsers. However, if you need to add it for a hand coded site,...
In order to run ASPNETWatchDog, your system must have Microsoft .NET Framework installed. For more information about Microsoft .NET Framework, please visit MSDN .NET web site on http://msdn.microsoft.com/net/ .
This release (V1.0.793) of ASPNETWatchDog has been tested on .NET Framework version 1...
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...
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...
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 a “network-path reference” or “scheme-relative URL.” If...
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...
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 -->
...
In Visual Studio, to change the Default View from Design View to Source View, or Split view, do the following.
In the menu, go to “Tools” > “Options.” Once in options, select the “HTML Designer” Section.
Next, select your default view...
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...
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...
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...
A client can choose from only 5 to 10 seconds that whether they will get what they need from your site or not. On the off chance that you are considering propelling a site at...
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...
Do you have an application that starts misbehaving randomly? You aren't quite sure what is going on, but it seems like for some reason your Timer just stops firing it's event handler--and once it stops...
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, based on Simple Object Access Protocol (SOAP) .
Web Service is used...
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...
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...
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 to accomplish, try using the below css snippet:
remove dotted line around...
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...
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...
Many of the people who did the program performance optimization, or concerned about the process of program performance, should have used all kinds of...
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...