// JavaScript Document // // This first section is for styling the bullets in the ul lists in the sidebar // function styleList( cls, imgwidth, imgsrc ){ $("ul." + cls + " li") .css("list-style-type","none") .css("text-indent","-" + imgwidth); $("ul." + cls + " li") .prepend(""); $(".listitemimage") .css("position","relative") .css("left","-2px") .css("top","1px"); } $(document).ready(function(){ styleList( "whitepapers", "10px", "http://www.vpi-corp.com/Compendium/images/Bullet-blue.png" ); styleList( "case_studies", "10px", "http://www.vpi-corp.com/Compendium/images/Bullet-blue.png" ); styleList( "solutions", "10px", "http://www.vpi-corp.com/Compendium/images/Bullet-blue.png" ); styleList( "roi_guides", "10px", "http://www.vpi-corp.com/Compendium/images/Bullet-blue.png" ); styleList( "webcasts", "10px", "http://www.vpi-corp.com/Compendium/images/Bullet-blue.png" ); styleList( "bullet_arrows", "10px", "http://www.vpi-corp.com/Compendium/images/Bullet-blue.png" ); var content = $(".post-body"); content.each ( function() { // // The following section is for our VPI EMPOWER 911 Public Safety Product Suite // NOTE: the '' in the link is so that the regular 'VPI CAPTURE' and 'VPI CAPTURE PRO' doesn't overwrite the VPI CAPTURE PRO for public safety. // $( this ).html($( this ).html().replace(/VPI EMPOWER 911/g, "VPI EMPOWER 911")); $( this ).html($( this ).html().replace(/VPI CAPTURE PRO for public safety/g, "VPI CAPTURE PRO")); $( this ).html($( this ).html().replace(/VPI CAPTURE for public safety/g, "VPI CAPTURE")); $( this ).html($( this ).html().replace(/VPI QUALITY for public safety/g, "VPI QUALITY")); $( this ).html($( this ).html().replace(/VPI COACHING/g, "VPI COACHING")); // // The following section is for our VPI EMPOWER Enterprise Product Suite // $( this ).html($( this ).html().replace(/VPI CAPTURE ESSENTIAL/g, "VPI CAPTURE ESSENTIAL")); $( this ).html($( this ).html().replace(/VPI CAPTURE(?! PRO)/g, "VPI CAPTURE")); $( this ).html($( this ).html().replace(/VPI CAPTURE PRO/g, "VPI CAPTURE PRO")); $( this ).html($( this ).html().replace(/VPI QUALITY PRO/g, "VPI QUALITY PRO")); $( this ).html($( this ).html().replace(/VPI QUALITY(?! PRO)/g, "VPI QUALITY")); $( this ).html($( this ).html().replace(/VPI PERFORMANCE/g, "VPI PERFORMANCE")); $( this ).html($( this ).html().replace(/VPI EMPOWER(?! 911)/g, "VPI EMPOWER")); // // This section is for keyword phrase linking for keyword phrases: call recording, quality assurance, performance management, analytics, Avaya, Cisco, Mitel, Aspect, VPI // // Following is for webcast icon w/ overlay // $( this ).html($( this ).html().replace(/call recording/g, "call recording")); $( this ).html($( this ).html().replace(/quality assurance/g, "quality assurance")); $( this ).html($( this ).html().replace(/performance management/g, "performance management")); // $( this ).html($( this ).html().replace(/analytics/g, "analytics")); $( this ).html($( this ).html().replace(/Avaya/g, "Avaya")); $( this ).html($( this ).html().replace(/Cisco/g, "Cisco")); $( this ).html($( this ).html().replace(/Mitel/g, "Mitel")); $( this ).html($( this ).html().replace(/Aspect/g, "Aspect")); // Can't do VPI because it there are too many instances of VPI within hardcoded links //$( this ).html($( this ).html().replace(/VPI/g, "VPI")); }) //
// X' $('.video_overlay').qtip({ content: "

Solution Demo

", show: { solo: $('.video_overlay') }, show: 'mouseover', hide: { when: { event: 'unfocus' } }, style: { width: 300, height: 180, padding: 5, fontSize: 11, color: 'black', textAlign: 'justify', border: { width: 7, radius: 5, color: '#cccccc', image: 'http://www.vpi-corp.com/Compendium/images/close_button.png' }, tip: 'topLeft', name: 'light' // Inherit the rest of the attributes from the preset dark style } }) // Closes other tooltip windows when icon is moused over $('.video_overlay').bind('mouseover', function() { $(".video_overlay").qtip("hide"); // Hides the tooltip }); }); // Closes tooltip window when 'x' is clicked function closing() { $(".video_overlay").qtip("hide"); // Hides the tooltip }