Link Conversion Snippets


19 November, 2013   

General purpose converter program for conversion between any two number systems. As long as there is more than one number system in use, conversion of numbers from one system to another is important. By this program you can convert number systems with radix more than 16 also.

IE 6 and below get a special stylesheet with stripped down basic-but-still-nice styling

01 January, 2013   

This is the general page template. It has all of the essentials (along with a favicon link - not essential).

Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.

29 April, 2015   

Advanced "Go to Top" link using JavaScript and HTML anchors

29 December, 2011   

ASP code example for a random link, each time you load the page, it will display one of two links: Xentrik.net OR Xentrik Snippets.

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

09 November, 2013   

Just like your browser's back button, the following script allows the user to press a button to returns the user to the previous page. Paste the following code where you want the button to appear on your page:

Use this in the <head> of your HTML files.

25 April, 2011   

HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.

16 October, 2014   

When hover your mouse over a link, a small box containing contents from another page comes up. This will show the iframe with scrollbars if content (target page) is too big.

06 October, 2012   

Code for dynamic add css file in header

15 May, 2012   

VB.NET Code example to add dynamic css file in header

Convert a string of text and ad hyperlinks to all the URLs. We loop through each URL and add a hyperlink

21 June, 2012   

CSS code for iPad Orientation CSS

01 January, 2013   

Basic template for xhtml transitional

18 July, 2012   

HTML code to add a Favicon to your site

13 December, 2012   

CSS trick to display the URL from the href attribute after each link

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users bookmark their favorite pages. But if you want to provide your visitors with a "Bookmark this page" link they can click you may use the code below: It works in IE, FireFox and Opera. Clicking on the link prompts...