Deprecated: Function ereg() is deprecated in /data/sites/web/hemalisbe/subsites/default_www/index.php on line 115
$(function(){
// $(document).ready(function(){
// $('ul#navigation').tabs({
// fx: {
// height: 'toggle',
// opacity: 'toggle'
// }
// });
$('ul#navigation').tabs({
selected: 1
});
$('a.contact').click(function() {
$('#navigation').tabs('select', 3);
return false;
});
$('#activities').accordion({
active: false,
header: '.header',
autoheight: false,
animated: "easeslide",
alwaysOpen: false,
event: 'click'
});
// var fadeDuration = 300; //time in milliseconds
//
// $("ul#navigation > li > a").hover(
// function(){
// $(this).animate({
// fontSize: "1.2em"
// }, fadeDuration );
// },
// function(){
// $(this).animate({
// fontSize: "1em"
// }, fadeDuration );
// }
// );
$('.head').sifr({
path: '/fonts/',
font: 'MonotypeCorsiva',
verticalAlign: 'bottom',
aoX: '.5'
});
// mailform:
var options = {
target: '#output', // target element(s) to be updated with server response
beforeSubmit: showRequest, // pre-submit callback
success: showResponse, // post-submit callback
resetForm: true // reset the form after successful submit
};
// bind to the form's submit event
$('#eform').submit(function() {
$(this).ajaxSubmit(options);
return false;
});
// pre-submit callback
function showRequest(formData, jqForm, options) {
var queryString = $.param(formData);
return true;
}
// post-submit callback
function showResponse(responseText, statusText) {
// alert('status: ' + statusText + '\n\nresponseText: \n' + responseText + '\n\nThe output div should have already been updated with the responseText.');
}
$('img[@src$=.png]').ifixpng('../images/design/pixel.gif');
});