Quantcast
Channel: Surfing SuccessSurfing Success
Browsing all 25 articles
Browse latest View live

Control Naming Conventions for ASP.NET VB C#

Visual Studio sets its Name property to a default for controls, like Label2. Using these conventions it would be something like lblName. ASP.NET VB C# control naming conventions Continue reading →The...

View Article



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 to accomplish, try using the below css snippet:...

View Article

IIS URL Rewrite – Installation and Use

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

View Article

SEO Safe CSS Hiding… safer.

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; Continue reading →The post SEO Safe CSS Hiding… safer....

View Article

Set “Source View,”“Design View,” or “Split View” as “Default View” in Visual...

In Visual Studio, to change the Default View from Design View to Source View, or Split view, do the following... Continue reading →The post Set “Source View,” “Design View,” or “Split View” as “Default...

View Article


jQuery Window Width – Browsers and Responsive Design

With so many devices able to access the internet, responsive design is becoming a necessity.   Smart phones, tablets, laptops, and desktop computers have different viewable areas. Viewport is the...

View Article

PHP isPostback Equivalent

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

View Article

CSS Clearfix

"CSS clearfix" is often needed to clear floats. Examples 1-3 clear floats by applying a CSS class to a p tag. The p tag holds a "non-breaking space" - ascii code for space is " " Examples 4...

View Article


Responsive jQuery Vertical Menu

This vertical menu knows how far to animate by getting the width of the div it’s located within. This tutorial shows snippets, explanations, and there is also a demo. Here is the basic concept: Total...

View Article


CSS Generators – My Favorites – CSS3 tools and Gradient Generator

There are several CSS generators out there. I don't like having to wade through posts that are the top 10 or 20 of something. Soo... I made this. so you don't have to sort through several different...

View Article

jQuery 2.0 Released

jQuery 2.0 Release Highlights Drops support for Internet Explorer 6, 7 and 8 12 percent smaller for increased performanc Custom builds for even smaller files jQuery 1.9 API equivalence Continue reading...

View Article

jQuery UI Accordion Tutorial – Beginner

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

View Article

Javascript Browser Detection – Navigator User Agent

Javascript browser detection can be useful.  jQuery had the function ".browser" which would detect the users browser, but it was removed in jQuery version 1.9. They now recommend ".support" for browser...

View Article


Doctype Reference

Doctype declaration HTML 5, HTML 4.01 Strict, XHTML 1.1, XHTML 1.0 Transitional, XHTML 1.0 Strict and more. Continue reading →The post Doctype Reference appeared first on Surfing Success.

View Article

CSS Center

CSS Center - This short tutorial and snippet will show how to center with CSS. Continue reading →The post CSS Center appeared first on Surfing Success.

View Article


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

View Article

Image may be NSFW.
Clik here to view.

Make RSS icon display in browser – Detect RSS Feed

This HTML snippet will make RSS icon display in browsers.     Continue reading →The post Make RSS icon display in browser – Detect RSS Feed appeared first on Surfing Success.

View Article


Javascript Window Location object Properties

Javascript window location object properties contain information about the current URL. We will use an example URL: http://www.domain.com/subdirectory/search?filter=a#somewhere. Then we will see what...

View Article

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

View Article

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

View Article
Browsing all 25 articles
Browse latest View live




Latest Images