bonvoyage 1000 business opportunity presentation.wmv | Dream ...
www.bonvoyage1000.com Get your BonVoyage1000 lifestyle card today and get up to 90% discounted prices on hotel/resorts, airfare, leisure travel, group travel or business travel, accommodation, and cruises. Get free vacations with your purchase. PLUS, September 2011 Promotion; You can win a brand new 2012 Mercedes Benz! Video Rating: 5 / 5
"); }); }; }; function et_search_bar(){ var $searchform = jQuery('#header div#search-form'), $searchinput = $searchform.find("input#searchinput"), searchvalue = $searchinput.val(); $searchinput.focus(function(){ if (jQuery(this).val() === searchvalue) jQuery(this).val(""); }).blur(function(){ if (jQuery(this).val() === "") jQuery(this).val(searchvalue); }); }; function et_cycle_integration(){ $featured_content.cycle({ timeout: 0, speed: 300, cleartypeNoBg: true }); var ordernum; var pause_scroll = false; function gonext(this_element){ $slider_control.children(controlTabString+".active").removeClass('active'); var activeLeft = this_element.position().left+8; $slider_control.animate({backgroundPosition: activeLeft+'px 7px'},500,function(){ this_element.addClass('active'); }); ordernum = this_element.prevAll(controlTabString).length+1; $featured_content.cycle(ordernum - 1); } $slider_control_tab.click(function() { clearInterval(interval); gonext(jQuery(this)); return false; }); $slider_arrows.click(function() { clearInterval(interval); if (jQuery(this).attr("id") === 'nextlink') { auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length+1; if (auto_number === $slider_control_tab.length) auto_number = 0; } else { auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length-1; if (auto_number === -1) auto_number = $slider_control_tab.length-1; }; gonext($slider_control_tab.eq(auto_number)); return false; }); var auto_number; var interval; $slider_control_tab.bind('autonext', function autonext(){ if (!pause_scroll) gonext(jQuery(this)); return false; }); };
function et_custom_featured(){
var $slide = $featured_area.find('div.slide');
var isAnimation = false;
var ordernum;
var pause_scroll = false;
$slide.css('display','none').filter(':first').css({'display':'block'});
$slider_control_tab.click(function() {
clearInterval(interval);
if (!isAnimation) gonext(jQuery(this));
return false;
});
function gonext(next_element){
isAnimation = true;
var $current_tab = $slider_control.children(controlTabString+".active"),
ordernumCurrent = $current_tab.prevAll(controlTabString).length+1,
ordernumNext = next_element.prevAll(controlTabString).length+1,
$currentElement = $slide.eq(ordernumCurrent-1),
$nextElement = $slide.eq(ordernumNext-1),
sliderSpeed = 300;
var readmoreButton = "a.readmore",
featuredImage = "img.featured_image",
descriptionDiv = "div.description",
doAnimation;
doAnimation = true;
if (ordernumCurrent === ordernumNext) { doAnimation = false; isAnimation = false; };
if (doAnimation) {
move_arrow();
$currentElement.find(readmoreButton).animate({'opacity':'hide'},sliderSpeed,function(){
$currentElement.find(featuredImage).animate({'opacity':'hide'},sliderSpeed, function(){
$currentElement.find(descriptionDiv).animate({'opacity':'hide'},sliderSpeed,function(){
$currentElement.css('display','none');
$nextElement.children().css('visibility','hidden').end().css('display','block').children(descriptionDiv).children().css({'display':'block','visibility':'hidden'}).end().css('display','block');
$nextElement.find(readmoreButton).css({'top': '-190px','display': 'block','visibility':'visible','opacity':'0'}).animate({top:0,opacity:1},1200,'easeOutBounce',function(){
$nextElement.find(featuredImage).parent('a').css({'visibility': 'visible','opacity':'0'}).animate({opacity:1},sliderSpeed, function(){
$nextElement.find(descriptionDiv).css({'visibility': 'visible','opacity':'1'}).children().filter(':not('+readmoreButton+')').css({'visibility': 'visible','opacity':'0'}).animate({opacity:1},sliderSpeed);
$currentElement.find(featuredImage).css({'opacity':'1','display':'block'});
isAnimation = false;
});
});
});
});
});
};
function move_arrow(){
$current_tab.removeClass('active');
var activeLeft = next_element.position().left+8;
$slider_control.animate({backgroundPosition: activeLeft+'px 7px'},500,function(){
next_element.addClass('active');
});
};
};
$slider_arrows.click(function() {
clearInterval(interval);
if (jQuery(this).attr("id") === 'nextlink') {
auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length+1;
if (auto_number === $slider_control_tab.length) auto_number = 0;
} else {
auto_number = $slider_control.children(controlTabString+".active").prevAll(controlTabString).length-1;
if (auto_number === -1) auto_number = $slider_control_tab.length-1;
};
if (!isAnimation) gonext($slider_control_tab.eq(auto_number));
return false;
});
var auto_number;
var interval;
$slider_control_tab.bind('autonext', function autonext(){
if (!pause_scroll) gonext(jQuery(this));
return false;
});
};
//]]>
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.