
What is Laravel App Upgrading?
Updating an existing Laravel application to the latest version of Laravel is called Laravel application upgrading. This ensures you don’t miss out on the latest features, security patches, as well as performance improvements offered by Laravel. Updates usually involve changing dependencies, tweaking outdated code snippets, and ensuring conformance with the newest release. Manual upgrading means one should adhere to Laravel’s official upgrading direction and settle deprecated methods.
Laravel App Upgrading Challenges
Here are some challenges but our consultants will help your app upgrade smoothly and securely:
Our Laravel Application Upgrading Services
Through the following services, we ensure that your Laravel application is updated with the latest set of features:
Our Laravel Upgrading Expertise
Upgrading your Laravel application may be hard, and we know that from our own experience. Our Laravel app upgrading services make the transition as seamless as possible and bring in all the benefits.
Version Incompatibility
New versions of Laravel come with some features, which may not be compatible with the old code. Our experts go through all the changes in a new release and make sure that all the functionalities of your application are working as usual. We will carefully sort out the conflicts, and your app won’t experience any downtime.
Code Refactoring
Old codebases mostly do not support the new architecture. We are experts in refactoring in a way that brings the old code up to date with the new Laravel standards and is easier to maintain and more performant. This includes, but is not limited to updating the structure of code, utilizing new Laravel components, and getting rid of deprecated ones.
Testing and Regression Issues
Upgrading can bring to light some unexpected issues. Our team employs automated and manual testing strategies that will ensure every functionality works as it did pre-upgrade. We will provide your application not only works correctly but also gets the benefits from the most recent improvements.
Security Risks
Outdated code and libraries contain too many security risks. We, first of all, update these components to eliminate any vulnerabilities. If your Laravel application is up to date, then we save your data and protect it according to the safety standards.
Benefits of Choosing Us
Here are the benefits of partnering with our experienced team in your Laravel application upgrade can bring success:
.body-wrap {
width: 100%;
min-height: 500px;
margin: 0 auto;
}
.pres-timeline {
width: 100%;
margin: 30px 0;
}
.pres-timeline > div > div {
box-sizing: border-box;
}
.pres-timeline .periods-container, .pres-timeline .cards-container {
overflow: hidden;
box-sizing: border-box;
position: relative;
transition: height 0.5s ease-in-out;
}
.periods-container:before {
background-image: linear-gradient(left, #FFF, rgba(248, 248, 248, 0));
left: 0;
content: “”;
position: absolute;
z-index: 2;
top: 0;
height: 100%;
width: 100px;
}
.periods-container:after {
background-image: linear-gradient(right, #FFF, rgba(248, 248, 248, 0));
right: 0;
content: “”;
position: absolute;
z-index: 2;
top: 0;
height: 100%;
width: 100px;
}
.periods-container .btn-back, .periods-container .btn-next {
display: inline-block;
width: 15%;
height: 100%;
position: absolute;
cursor: pointer;
z-index: 10;
transition: 0.3s ease-in-out;
}
.periods-container .btn-back:hover, .periods-container .btn-next:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.periods-container .btn-back.hide, .periods-container .btn-next.hide {
display: none;
}
.periods-container .btn-back {
left: 0;
}
.periods-container .btn-next {
right: 0;
}
.periods-container section {
width: 70%;
height: 0;
position: absolute;
margin-left: 15%;
border-bottom: 5px solid #dfe3e6;
box-sizing: border-box;
transition: transform 0.3s ease-in-out, opacity 0.2s ease, height 0.3s ease;
bottom: 0;
opacity: 0;
background-color: #fff;
}
.periods-container section.active {
height: auto;
opacity: 1;
transform: translateX(0);
z-index: 5;
}
.periods-container section.active .title, .periods-container section.active p {
display: block;
}
.periods-container section.prev {
height: auto;
opacity: 0.4;
transform: translateX(-100%);
z-index: 0;
}
.periods-container section.prev .year {
text-align: right;
}
.periods-container section.next {
height: auto;
opacity: 0.4;
transform: translateX(100%);
z-index: 0;
}
.periods-container section .year {
font-size: 20px;
font-weight: 400;
}
.periods-container section .title {
color: #4A4A4A;
font-size: 28px;
font-weight: 400;
display: none;
}
.periods-container section p {
display: none;
}
.timeline-container {
position: relative;
width: 100%;
height: 50px;
overflow: hidden;
}
.timeline-container:before {
background-image: linear-gradient(left, #FFF, rgba(248, 248, 248, 0));
left: 0;
content: “”;
position: absolute;
z-index: 2;
top: 0;
height: 100%;
width: 100px;
}
.timeline-container:after {
background-image: linear-gradient(right, #FFF, rgba(248, 248, 248, 0));
right: 0;
content: “”;
position: absolute;
z-index: 2;
top: 0;
height: 100%;
width: 100px;
}
.timeline-container .timeline {
position: absolute;
display: block;
height: 50px;
transition: left 0.3s ease-in-out;
}
.timeline-container .timeline ol {
display: block;
width: 100%;
height: 2px;
background-color: #dfe3e6;
list-style: none;
padding-left: 210px;
padding-right: 300px;
}
.timeline-container .timeline ol li {
display: inline-block;
padding: 4px;
margin-top: -11px;
margin-left: 80px;
border: 3px solid #7f9298;
background-color: #FFF;
position: relative;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.timeline-container .timeline ol li.active {
box-shadow: none;
}
.timeline-container .timeline ol li.active:before {
content: “”;
display: block;
height: 25px;
width: 1px;
position: absolute;
top: -25px;
transition: opacity 0.3s ease-in-out;
}
.timeline-container .timeline ol li.active:after {
content: “”;
display: block;
height: 25px;
width: 1px;
position: absolute;
bottom: -25px;
transition: opacity 0.3s ease-in-out;
}
.timeline-container .btn-back, .timeline-container .btn-next {
display: inline-block;
position: absolute;
cursor: pointer;
margin-top: -2px;
z-index: 11;
transition: all 0.3s ease;
}
.timeline-container .btn-back.hide, .timeline-container .btn-next.hide {
display: none;
}
.timeline-container .btn-back:hover, .timeline-container .btn-next:hover {
border-color: #7f9298;
}
.timeline-container .btn-back {
left: 1em;
}
.timeline-container .btn-next {
right: 1em;
}
.cards-container:before {
background-image: linear-gradient(left, #FFF, rgba(248, 248, 248, 0));
left: 0;
content: “”;
position: absolute;
z-index: 2;
top: 0;
height: 100%;
width: 100px;
}
.cards-container:after {
background-image: linear-gradient(right, #FFF, rgba(248, 248, 248, 0));
right: 0;
content: “”;
position: absolute;
z-index: 2;
top: 0;
height: 100%;
width: 100px;
}
.cards-container section {
width: 40%;
position: absolute;
margin-left: 15%;
border: 1px solid;
margin-bottom: 2em;
padding: 1.5em;
box-sizing: border-box;
transition: transform 0.3s ease-in-out;
top: 0;
opacity: 0;
}
.cards-container section.active {
height: auto;
opacity: 1;
transform: translateX(0);
z-index: 5;
}
.cards-container section.prev {
height: auto;
opacity: 0.4;
transform: translateX(-105%);
z-index: 0;
}
.cards-container section.next {
height: auto;
opacity: 0.4;
transform: translateX(105%);
z-index: 0;
}
.cards-container section .year {
text-align: center;
font-size: 16px;
margin: 0;
}
.cards-container section .title {
font-weight: 700;
font-size: 1.2rem;
margin-bottom: 10px;
}
.cards-container section img {
width: 100%;
}
.cards-container .card-single .content svg{
height:50px;
margin-bottom: 20px;
}
.cards-container .card-single .content p{
font-size: 1rem;
margin-bottom: 0;
}
Experienced Team
You get an experienced team comprised of skilled developers with extensive experience in Laravel application upgrades. Our expertise in upgrading a Laravel application entails a smooth process that minimizes disruptions.
Reduced Risk of Downtime and Regressions
We test and assure quality, so your application remains functional throughout the upgrade. This helps to reduce any risk of downtime and potential regressions, all to keep your operations running.
Access to the Latest Laravel Features
Upgrading your application to the latest version offers you the latest features and security patches. That means your app remains up-to-date and secure while taking advantage of new updates that have been added to the framework.
Improved Application Performance
An upgraded Laravel application implies improved performance and more efficient code structures. You get better performance, easier maintenance, and a more scalable application.
Peace of Mind
By choosing our services, you’ll enjoy the peace of mind of knowing that your Laravel application is updated with the latest security actions and best practices. It makes it less vulnerable and more reliable for applications in the long run.
“use strict”;
class PRESTimeline {
constructor(target, color) {
// this.__process_stylesheet(document.styleSheets[0]);
this.base = target;
this.color = color;
// console.log(this.color)
this.periodContainer = $(this.base).find(‘.periods-container’);
this.cardContainer = $(this.base).find(‘.cards-container’);
this.timelineNodeContainer = $(this.base).find(‘.timeline-container .timeline’);
// this.activePeriod = $(this.base).find(‘.periods-container section.active’)
this._parseData();
this._initialColor();
this._generateTimeline();
this._setStateClasses();
this._assignBtn();
this._adjustPeriodContainer();
this._adjustCardContainer();
// console.log(this.cardData)
}
_parseData() {
let base = this.base;
let periods = $(base).find(‘.periods-container section’);
for (let section of periods) {
section.period = $(section).attr(‘period’);
section.index = $(section).index();
}
// console.log(periods)
this.periodData = periods;
let data = $(base).find(‘.cards-container section’);
// console.log(data)
for (let section of data) {
section.period = $(section).attr(‘period’);
section.index = $(section).index();
}
// console.log(data)
this.cardData = data;
// #assign initial entry point (active items)
this.activePeriod = this.periodData[0];
this.activePeriodIndex = 0;
this.activeCard = this.cardData[0];
this.activeCardIndex = 0;
}
_setStateClasses() {
// # periods
$(this.base).find(‘.periods-container section.active’).removeClass(‘active’);
$(this.base).find(‘.periods-container section.prev’).removeClass(‘prev’);
$(this.base).find(‘.periods-container section.next’).removeClass(‘next’);
// console.log(“setclass: ” + this.activePeriod.index)
$(this.activePeriod).addClass(‘active’);
// console.log(this.activePeriod.index)
// this.activePeriodIndex = this.activePeriod.index
if ($(this.activePeriod).prev().length != 0) {
$(this.activePeriod).prev().addClass(‘prev’);
$(this.base).find(‘.periods-container .btn-back’).removeClass(‘hide’);
}
else {
$(this.base).find(‘.periods-container .btn-back’).addClass(‘hide’);
}
if ($(this.activePeriod).next().length != 0) {
$(this.activePeriod).next().addClass(‘next’);
$(this.base).find(‘.periods-container .btn-next’).removeClass(‘hide’);
}
else {
$(this.base).find(‘.periods-container .btn-next’).addClass(‘hide’);
}
// ## cards
$(this.base).find(‘.cards-container section.active’).removeClass(‘active’);
$(this.base).find(‘.cards-container section.prev’).removeClass(‘prev’);
$(this.base).find(‘.cards-container section.next’).removeClass(‘next’);
$(this.activeCard).addClass(‘active’);
// this.activeCardIndex – this.activeCard.index
if ($(this.activeCard).prev().length != 0) {
$(this.activeCard).prev().addClass(‘prev’);
}
if ($(this.activeCard).next().length != 0) {
$(this.activeCard).next().addClass(‘next’);
}
// ## timeline
$(this.base).find(‘.timeline li.active’).removeClass(‘active’);
// let findNode = $(this.base).find(‘.timeline ol li’)[this.activeCard.index]
$(this.timelineData[this.activeCard.index]).addClass(‘active’);
let timelineB = $(this.base).find(‘.timeline-container .btn-back’);
let timelineN = $(this.base).find(‘.timeline-container .btn-next’);
// console.log($(timelineN))
if (this.activeCardIndex === 0) {
timelineB.addClass(‘hide’);
}
else {
timelineB.removeClass(‘hide’);
}
if (this.activeCardIndex >= this.cardData.length – 1) {
timelineN.addClass(‘hide’);
}
else {
timelineN.removeClass(‘hide’);
}
}
// ## timeline generater
_generateTimeline() {
// ## create node list
let htmlWrap = ‘
‘;
$(this.timelineNodeContainer).append(htmlWrap);
let wrap = $(this.timelineNodeContainer).find(‘ol’);
let numNode = this.cardData.length;
for (let i = 0; i < numNode; i++) {
let c = this.cardData[i].color;
let el = wrap.append(‘
‘);
}
// ## width of timeline
let nodeW = 200;
wrap.css(‘width’, nodeW * numNode – 16);
let nodeList = $(this.base).find(‘.timeline ol li’);
this.timelineData = nodeList;
}
// ## assign button actions
_assignBtn() {
let periodPrev = $(this.base).find(‘.periods-container .btn-back’);
let periodNext = $(this.base).find(‘.periods-container .btn-next’);
periodPrev.click(() => {
if (this.activePeriodIndex > 0) {
// console.log(‘prev’)
this.activePeriodIndex -= 1;
this.activePeriod = this.periodData[this.activePeriodIndex];
this._chainActions(‘period’);
this._setStateClasses();
}
this._adjustPeriodContainer();
});
periodNext.click(() => {
if (this.activePeriodIndex {
if (this.activeCardIndex > 0) {
this.activeCardIndex -= 1;
this.activeCard = this.cardData[this.activeCardIndex];
this._chainActions(‘timeline’);
this._setStateClasses();
}
this._adjustCardContainer();
this._adjustPeriodContainer();
});
timelineNext.click(() => {
if (this.activeCardIndex < this.cardData.length – 1) {
this.activeCardIndex += 1;
this.activeCard = this.cardData[this.activeCardIndex];
this._chainActions(‘timeline’);
this._setStateClasses();
}
this._adjustCardContainer();
this._adjustPeriodContainer();
});
// ## assign each timeline li
for (let i = 0; i {
this.activeCardIndex = this.cardData[i].index;
this.activeCard = this.cardData[this.activeCardIndex];
this._chainActions(‘timeline’);
this._setStateClasses();
this._adjustCardContainer();
this._shiftTimeline();
});
}
}
// ## color ##
_initialColor() {
for (let i = 0; i < this.periodData.length; i++) {
let p = this.periodData[i].period;
this.periodData[i].color = this.color[p];
let temp = this.periodData[i];
$(temp).css(‘border-color’, temp.color);
$(temp).find(‘.year’).css(‘color’, temp.color);
// ## color for timeline items, this part utilize the period name as class which will be add to the li later
// ### cross browser bug fix
let sbstyle = document.createElement(“style”);
document.head.appendChild(sbstyle);
// let sheet = document.styleSheets[0]
sbstyle.sheet.insertRule(‘li.’ + p + ‘.active { background-color: ‘ + this.color[p] + ‘ !important } ‘, 0);
sbstyle.sheet.insertRule(‘li.’ + p + ‘::before { background-color: ‘ + this.color[p] + ‘ } ‘, 0);
sbstyle.sheet.insertRule(‘li.’ + p + ‘::after { background-color: ‘ + this.color[p] + ‘ } ‘, 0);
}
for (let i = 0; i < this.cardData.length; i++) {
let p = this.cardData[i].period;
this.cardData[i].color = this.color[p];
let temp = this.cardData[i];
$(temp).css(‘border-color’, temp.color);
$(temp).find(‘.year’).css(‘color’, temp.color);
}
}
_adjustPeriodContainer() {
let activeH = $(this.activePeriod).outerHeight();
$(this.periodContainer).height(activeH);
console.log(‘top adjusted’);
}
_adjustCardContainer() {
let activeH = $(this.activeCard).outerHeight() + 24;
$(this.cardContainer).height(activeH);
console.log(‘bot adjusted’);
}
_shiftTimeline() {
// #### We need to fix this part if using this component in different sizes ####
let timelineW = $(this.base).find(‘.timeline-container’).outerWidth();
let timelinePadding = 210;
let timelineCenter = 300;
let liWidth = 16;
let activeNodeX = $(this.timelineData[this.activeCardIndex]).position().left;
let finalPos = -activeNodeX + timelinePadding;
$(this.timelineNodeContainer).css(‘left’, finalPos);
console.log(activeNodeX);
}
_chainActions(state) {
switch (state) {
case ‘period’:
console.log(‘period’);
if (this.activePeriod.period != this.activeCard.period) {
// ## find the closest li with the active period
let ta = [];
for (let i = 0; i < this.cardData.length; i++) {
let temp = this.cardData[i];
if (this.activePeriod.period === temp.period)
ta.push(temp);
}
this.activeCard = ta[0];
this.activeCardIndex = ta[0].index;
}
break;
case ‘timeline’:
console.log(‘timeline’);
if (this.activeCard.period != this.activePeriod.period) {
let ta;
for (let i = 0; i < this.periodData.length; i++) {
let temp = this.periodData[i];
if (this.activeCard.period === temp.period)
ta = temp;
}
this.activePeriod = ta;
this.activePeriodIndex = ta.index;
}
break;
}
this._shiftTimeline();
this._adjustCardContainer();
}
}
// ## document load ##
$(document).ready(function () {
let colorcode = {
‘period1’: ‘#00b14c’,
‘period2’: ‘#555’,
‘period3’: ‘#F99746’,
‘period4’: ‘#00b14c’,
‘period5’: ‘#555’,
‘period6’: ‘#F99746’,
‘period7’: ‘#00b14c’,
‘period8’: ‘#555’,
‘period9’: ‘#F99746’,
‘period10’: ‘#00b14c’,
‘period11’: ‘#555’,
‘period12’: ‘#F99746’,
};
let timeline = new PRESTimeline($(‘#this-timeline’), colorcode);
});
//# sourceURL=pen.js
jQuery.fn.timelinr = function(options){
// default plugin settings
settings = jQuery.extend({
orientation: ‘horizontal’, // value: horizontal | vertical, default to horizontal
containerDiv: ‘#timeline’, // value: any HTML tag or #id, default to #timeline
datesDiv: ‘#dates’, // value: any HTML tag or #id, default to #dates
datesSelectedClass: ‘selected’, // value: any class, default to selected
datesSpeed: ‘normal’, // value: integer between 100 and 1000 (recommended) or ‘slow’, ‘normal’ or ‘fast’; default to normal
issuesDiv: ‘#issues’, // value: any HTML tag or #id, default to #issues
issuesSelectedClass: ‘selected’, // value: any class, default to selected
issuesSpeed: ‘fast’, // value: integer between 100 and 1000 (recommended) or ‘slow’, ‘normal’ or ‘fast’; default to fast
issuesTransparency: 0.2, // value: integer between 0 and 1 (recommended), default to 0.2
issuesTransparencySpeed: 500, // value: integer between 100 and 1000 (recommended), default to 500 (normal)
prevButton: ‘#prev’, // value: any HTML tag or #id, default to #prev
nextButton: ‘#next’, // value: any HTML tag or #id, default to #next
arrowKeys: ‘false’, // value: true | false, default to false
startAt: 1, // value: integer, default to 1 (first)
autoPlay: ‘false’, // value: true | false, default to false
autoPlayDirection: ‘forward’, // value: forward | backward, default to forward
autoPlayPause: 2000 // value: integer (1000 = 1 seg), default to 2000 (2segs)
}, options);
$(function(){
// setting variables… many of them
var howManyDates = $(settings.datesDiv+’ li’).length;
var howManyIssues = $(settings.issuesDiv+’ li’).length;
var currentDate = $(settings.datesDiv).find(‘a.’+settings.datesSelectedClass);
var currentIssue = $(settings.issuesDiv).find(‘li.’+settings.issuesSelectedClass);
var widthContainer = $(settings.containerDiv).width();
var heightContainer = $(settings.containerDiv).height();
var widthIssues = $(settings.issuesDiv).width();
var heightIssues = $(settings.issuesDiv).height();
var widthIssue = $(settings.issuesDiv+’ li’).width();
var heightIssue = $(settings.issuesDiv+’ li’).height();
var widthDates = $(settings.datesDiv).width();
var heightDates = $(settings.datesDiv).height();
var widthDate = $(settings.datesDiv+’ li’).width();
var heightDate = $(settings.datesDiv+’ li’).height();
// set positions!
if(settings.orientation == ‘horizontal’) {
$(settings.issuesDiv).width(widthIssue*howManyIssues);
$(settings.datesDiv).width(widthDate*howManyDates).css(‘marginLeft’,widthContainer/2-widthDate/2);
var defaultPositionDates = parseInt($(settings.datesDiv).css(‘marginLeft’).substring(0,$(settings.datesDiv).css(‘marginLeft’).indexOf(‘px’)));
} else if(settings.orientation == ‘vertical’) {
$(settings.issuesDiv).height(heightIssue*howManyIssues);
$(settings.datesDiv).height(heightDate*howManyDates).css(‘marginTop’,heightContainer/2-heightDate/2);
var defaultPositionDates = parseInt($(settings.datesDiv).css(‘marginTop’).substring(0,$(settings.datesDiv).css(‘marginTop’).indexOf(‘px’)));
}
$(settings.datesDiv+’ a’).click(function(event){
event.preventDefault();
// first vars
var whichIssue = $(this).text();
var currentIndex = $(this).parent().prevAll().length;
// moving the elements
if(settings.orientation == ‘horizontal’) {
$(settings.issuesDiv).animate({‘marginLeft’:-widthIssue*currentIndex},{queue:false, duration:settings.issuesSpeed});
} else if(settings.orientation == ‘vertical’) {
$(settings.issuesDiv).animate({‘marginTop’:-heightIssue*currentIndex},{queue:false, duration:settings.issuesSpeed});
}
$(settings.issuesDiv+’ li’).animate({‘opacity’:settings.issuesTransparency},{queue:false, duration:settings.issuesSpeed}).removeClass(settings.issuesSelectedClass).eq(currentIndex).addClass(settings.issuesSelectedClass).fadeTo(settings.issuesTransparencySpeed,1);
// prev/next buttons now disappears on first/last issue | bugfix from 0.9.51: lower than 1 issue hide the arrows | bugfixed: arrows not showing when jumping from first to last date
if(howManyDates == 1) {
$(settings.prevButton+’,’+settings.nextButton).fadeOut(‘fast’);
} else if(howManyDates == 2) {
if($(settings.issuesDiv+’ li:first-child’).hasClass(settings.issuesSelectedClass)) {
$(settings.prevButton).fadeOut(‘fast’);
$(settings.nextButton).fadeIn(‘fast’);
}
else if($(settings.issuesDiv+’ li:last-child’).hasClass(settings.issuesSelectedClass)) {
$(settings.nextButton).fadeOut(‘fast’);
$(settings.prevButton).fadeIn(‘fast’);
}
} else {
if( $(settings.issuesDiv+’ li:first-child’).hasClass(settings.issuesSelectedClass) ) {
$(settings.nextButton).fadeIn(‘fast’);
$(settings.prevButton).fadeOut(‘fast’);
}
else if( $(settings.issuesDiv+’ li:last-child’).hasClass(settings.issuesSelectedClass) ) {
$(settings.prevButton).fadeIn(‘fast’);
$(settings.nextButton).fadeOut(‘fast’);
}
else {
$(settings.nextButton+’,’+settings.prevButton).fadeIn(‘slow’);
}
}
// now moving the dates
$(settings.datesDiv+’ a’).removeClass(settings.datesSelectedClass);
$(this).addClass(settings.datesSelectedClass);
if(settings.orientation == ‘horizontal’) {
$(settings.datesDiv).animate({‘marginLeft’:defaultPositionDates-(widthDate*currentIndex)},{queue:false, duration:’settings.datesSpeed’});
} else if(settings.orientation == ‘vertical’) {
$(settings.datesDiv).animate({‘marginTop’:defaultPositionDates-(heightDate*currentIndex)},{queue:false, duration:’settings.datesSpeed’});
}
});
function NextTimelinrItem(){
// bugixed from 0.9.54: now the dates gets centered when there’s too much dates.
var currentIndex = $(settings.issuesDiv).find(‘li.’+settings.issuesSelectedClass).index();
if(settings.orientation == ‘horizontal’) {
var currentPositionIssues = parseInt($(settings.issuesDiv).css(‘marginLeft’).substring(0,$(settings.issuesDiv).css(‘marginLeft’).indexOf(‘px’)));
var currentIssueIndex = currentPositionIssues/widthIssue;
var currentPositionDates = parseInt($(settings.datesDiv).css(‘marginLeft’).substring(0,$(settings.datesDiv).css(‘marginLeft’).indexOf(‘px’)));
var currentIssueDate = currentPositionDates-widthDate;
if(currentPositionIssues <= -(widthIssue*howManyIssues-(widthIssue))) {
$(settings.issuesDiv).stop();
$(settings.datesDiv+’ li:last-child a’).click();
} else {
if (!$(settings.issuesDiv).is(‘:animated’)) {
// bugixed from 0.9.52: now the dates gets centered when there’s too much dates.
$(settings.datesDiv+’ li’).eq(currentIndex+1).find(‘a’).trigger(‘click’);
}
}
} else if(settings.orientation == ‘vertical’) {
var currentPositionIssues = parseInt($(settings.issuesDiv).css(‘marginTop’).substring(0,$(settings.issuesDiv).css(‘marginTop’).indexOf(‘px’)));
var currentIssueIndex = currentPositionIssues/heightIssue;
var currentPositionDates = parseInt($(settings.datesDiv).css(‘marginTop’).substring(0,$(settings.datesDiv).css(‘marginTop’).indexOf(‘px’)));
var currentIssueDate = currentPositionDates-heightDate;
if(currentPositionIssues = 0) {
$(settings.issuesDiv).stop();
$(settings.datesDiv+’ li:first-child a’).click();
} else {
if (!$(settings.issuesDiv).is(‘:animated’)) {
// bugixed from 0.9.54: now the dates gets centered when there’s too much dates.
$(settings.datesDiv+’ li’).eq(currentIndex-1).find(‘a’).trigger(‘click’);
}
}
} else if(settings.orientation == ‘vertical’) {
var currentPositionIssues = parseInt($(settings.issuesDiv).css(‘marginTop’).substring(0,$(settings.issuesDiv).css(‘marginTop’).indexOf(‘px’)));
var currentIssueIndex = currentPositionIssues/heightIssue;
var currentPositionDates = parseInt($(settings.datesDiv).css(‘marginTop’).substring(0,$(settings.datesDiv).css(‘marginTop’).indexOf(‘px’)));
var currentIssueDate = currentPositionDates+heightDate;
if(currentPositionIssues >= 0) {
$(settings.issuesDiv).stop();
$(settings.datesDiv+’ li:first-child a’).click();
} else {
if (!$(settings.issuesDiv).is(‘:animated’)) {
// bugixed from 0.9.54: now the dates gets centered when there’s too much dates.
$(settings.datesDiv+’ li’).eq(currentIndex-1).find(‘a’).trigger(‘click’);
}
}
}
// prev/next buttons now disappears on first/last issue | bugfix from 0.9.51: lower than 1 issue hide the arrows
if(howManyDates == 1) {
$(settings.prevButton+’,’+settings.nextButton).fadeOut(‘fast’);
} else if(howManyDates == 2) {
if($(settings.issuesDiv+’ li:first-child’).hasClass(settings.issuesSelectedClass)) {
$(settings.prevButton).fadeOut(‘fast’);
$(settings.nextButton).fadeIn(‘fast’);
}
else if($(settings.issuesDiv+’ li:last-child’).hasClass(settings.issuesSelectedClass)) {
$(settings.nextButton).fadeOut(‘fast’);
$(settings.prevButton).fadeIn(‘fast’);
}
} else {
if( $(settings.issuesDiv+’ li:first-child’).hasClass(settings.issuesSelectedClass) ) {
$(settings.prevButton).fadeOut(‘fast’);
}
else if( $(settings.issuesDiv+’ li:last-child’).hasClass(settings.issuesSelectedClass) ) {
$(settings.nextButton).fadeOut(‘fast’);
}
else {
$(settings.nextButton+’,’+settings.prevButton).fadeIn(‘slow’);
}
}
}
$(settings.prevButton).click(function(event){
event.preventDefault();
PrevTimelinrItem();
});
$(settings.containerDiv).bind(‘mousewheel’, function(event) {
if (event.originalEvent.wheelDelta >= 0) {
PrevTimelinrItem(event);
}
else {
NextTimelinrItem(event);
}
event.preventDefault();
});
// keyboard navigation, added since 0.9.1
if(settings.arrowKeys==’true’) {
if(settings.orientation==’horizontal’) {
$(document).keydown(function(event){
if (event.keyCode == 39) {
$(settings.nextButton).click();
}
if (event.keyCode == 37) {
$(settings.prevButton).click();
}
});
} else if(settings.orientation==’vertical’) {
$(document).keydown(function(event){
if (event.keyCode == 40) {
$(settings.nextButton).click();
}
if (event.keyCode == 38) {
$(settings.prevButton).click();
}
});
}
}
// default position startAt, added since 0.9.3
$(settings.datesDiv+’ li’).eq(settings.startAt-1).find(‘a’).trigger(‘click’);
// autoPlay, added since 0.9.4
if(settings.autoPlay == ‘true’) {
setInterval(“autoPlay()”, settings.autoPlayPause);
}
});
};
// autoPlay, added since 0.9.4
function autoPlay(){
var currentDate = $(settings.datesDiv).find(‘a.’+settings.datesSelectedClass);
if(settings.autoPlayDirection == ‘forward’) {
if(currentDate.parent().is(‘li:last-child’)) {
$(settings.datesDiv+’ li:first-child’).find(‘a’).trigger(‘click’);
} else {
currentDate.parent().next().find(‘a’).trigger(‘click’);
}
} else if(settings.autoPlayDirection == ‘backward’) {
if(currentDate.parent().is(‘li:first-child’)) {
$(settings.datesDiv+’ li:last-child’).find(‘a’).trigger(‘click’);
} else {
currentDate.parent().prev().find(‘a’).trigger(‘click’);
}
}
}
$(function(){
$().timelinr({
orientation: ‘vertical’,
issuesSpeed: 300,
datesSpeed: 100,
arrowKeys: ‘true’,
startAt: 1
})
});
Custom Upgrading Options
The following options ensure an efficient, robust, and secure upgrade process tailored to your needs:
FAQ

Contact Us
Contact us today at –– and speak with our specialist.