Archive for February, 2009

Clean Tab CSS Navigation

Clean Tab Css Navigation

Clean Tab Css Navigation

Tab navigation is one of the significant elements in any web structure.? One of the biggest challenges a web designers and developers face is to integrate a simple and nice tab navigation that is user friendly and attractive.

Whether you are running a website or blog, tab navigation is probably one of the element that helps drives traffic to internal pages. Here is a site that has compiled a mass list of 50+ nice clean and sleek CSS Tab-Based navigation samples you can adapt on your site. Click here to visit this site.

ASP.Net – Rewrite URL in VB.Net

Application_BeginRequest method of Global.asax file can be used to rewrite the URL of the current page.? Following code snippet shows you how to achieve this goal.

<%@ Application Language=?VB? %>
<script runat=?server?>

Protected Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)

?This is for dynamic redirection without having to create a directory in the root folder. We
?needed to change the 404 in IIS under custom errors to /(forward slash) instead of the default 404b.html

If Regex.IsMatch(Request.Url.AbsoluteUri, ?404;?) ?Get the url from browser address bar
Dim UrlSplit(), url as String
UrlSplit = Request.Url.AbsoluteUri.Split(??404;?) ?Split the url where the error occured in this case 404
url = replace(UrlSplit(1), ?404;?, ??)
url = replace(url, ?http://www.youraddress.com?, ??) ?Replaces the youraddress.com address and puts nothing

?Select Case to check where the page should be redirect too.
Select Case url
Case ?/aboutmypage?
response.Redirect(?/aboutus?) ? Redirects to correct url.
Case ?/yourprogram?
response.Redirect(?/programs/yourprogram?)
Case ?/canucks?
response.Redirect(?/sports/hockey/canucks?)
Case Else
response.redirect(?/help/sitemap/index.aspx?)
End Select
End If
End Sub

</script>

Color Combos

colorcombos.com

colorcombos.com

It is very important to choose the right web colors for your site.? Last year when I was redeveloping the hwdsb.on.ca website, I did a lot of research on many sites. One site I used was called colorcombos.com. This site creates a scheme for you based on one color you choose. Simply put in a color name in the search box and you will be presented with many combos based on that color. Go ahead and give it at colorcombos.com.

Post PHP code in WordPress

Here?s a great website that will transform PHP into html for pasting into WordPress, forums, or anywhere. It?s here.