Wednesday, August 4, 2010

Testing Some Code highlighting

public static void main()
{
Console.WriteLine("Syntax Highlighter Testing");
}


How about some XML



<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js' type='text/javascript'/> 
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'/>


And some JavaScript maybe



//
// Adds a new row to the table.
//
function addRow(){
//get the table
var table = document.getElementById('myExampleTable');

//get the number of rows currently in the table
var numRows = table.rows.length;

//insert a new row at the bottom
var newRow = table.insertRow(numRows);

//create new cells
var newCell1 = newRow.insertCell(0);
var newCell2 = newRow.insertCell(1);
var newCell3 = newRow.insertCell(2);

//set the cell text
newCell1.innerHTML = 'Row ' + (numRows + 1) + ' Cell 1';
newCell2.innerHTML = 'Row ' + (numRows + 1) + ' Cell 2';
newCell3.innerHTML = 'Row ' + (numRows + 1) + ' Cell 3';
}


And how can you forget SQL..



Select * from Employee


And CSS.. although it might not feature on the blog that much..



a:visited {
color:$visitedlinkcolor;
text-decoration:none;
}
a:hover {
color:#333333;
text-decoration:underline;
}
a img {
border-width:0;
}

2 comments:

  1. Thank you for your blog. You done a good job. Keep on blogging unique information like this with us.
    secure virtual data room

    ReplyDelete
  2. PokerStars Casino Review and Bonus Code - JTHub
    The minimum deposit 강릉 출장샵 requirements 군산 출장샵 for PokerStars Casino are: A minimum $10 per game. Withdrawal requirements, the 당진 출장마사지 maximum 충청남도 출장마사지 deposit for 안성 출장샵 the PokerStars Casino

    ReplyDelete