HTML Form With Legend
<form action="<<**SelectionInsertionPlaceholder**>>" method="get">
<fieldset>
<legend>Form Name</legend>
<p><label for="first">First Input: </label><input type="text" name="first" id="first" /></p>
</fieldset>
<p><input type="submit" /></p>
</form>
Added to HTML by Stuart Sharpe
jQuery hover class
$('**SelectionPlaceholder**').hover(
function(){ $(this).addClass('hover') },
function(){ $(this).removeClass('hover') }
)
CSS Centering
**SelectionInsertionPlaceholder** {
position: absolute;
width: 100px;
height: 100px;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -50px;
}
Added to CSS by Tony McCallie
jQuery $(document).ready() shorthand
$(function(){
*SelectionPlaceholder*
});
Added to JS by Bartek Stańkowski
CSS links sequence
a:link {
color: #;
text-decoration: underline
}
a:visited {
color: #;
}
a:hover,
a:focus {
color: #;
text-decoration: none;
}
a:active {
}
Added to CSS by Bartek Stańkowski
jQuery ajaxSetup
$.ajaxSetup({
global: false,
beforeSend:function(){
},
complete: function(){
},
error:function() {
},
type: "POST"
});
Added to JS by Bartek Stańkowski