|
|
@ -1,8 +1,7 @@ |
|
|
|
/*! |
|
|
|
/*! |
|
|
|
Verite Timeline 0.82 |
|
|
|
Verite Timeline 0.85 |
|
|
|
Copyright 2011 Verite.co |
|
|
|
|
|
|
|
Designed and built by Zach Wise digitalartwork.net |
|
|
|
Designed and built by Zach Wise digitalartwork.net |
|
|
|
Date: February 7, 2012 |
|
|
|
Date: March 30, 2012 |
|
|
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify |
|
|
|
This program is free software: you can redistribute it and/or modify |
|
|
|
it under the terms of the GNU General Public License as published by |
|
|
|
it under the terms of the GNU General Public License as published by |
|
|
@ -20,11 +19,12 @@ |
|
|
|
|
|
|
|
|
|
|
|
/*! |
|
|
|
/*! |
|
|
|
TODO |
|
|
|
TODO |
|
|
|
- Better Flags |
|
|
|
-
|
|
|
|
- Google Spreadsheets support |
|
|
|
-
|
|
|
|
FUTURE PLANS |
|
|
|
FUTURE PLANS |
|
|
|
- Better iPhone usability |
|
|
|
- Better iPhone usability |
|
|
|
- Support feeds from popular sources |
|
|
|
- Support feeds from popular sources |
|
|
|
|
|
|
|
- Storify integration |
|
|
|
- Code optimization |
|
|
|
- Code optimization |
|
|
|
- Clean up config flow |
|
|
|
- Clean up config flow |
|
|
|
- Possible tagging of events (depends on usability factors) |
|
|
|
- Possible tagging of events (depends on usability factors) |
|
|
@ -116,11 +116,20 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { |
|
|
|
config.feature_height = config.height - config.nav_height; |
|
|
|
config.feature_height = config.height - config.nav_height; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* CHECK FOR IE7 |
|
|
|
|
|
|
|
================================================== */ |
|
|
|
|
|
|
|
var ie7 = false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ( $.browser.msie ) { |
|
|
|
|
|
|
|
if ( parseInt($.browser.version, 10) == 7) { |
|
|
|
|
|
|
|
ie7 = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* VER |
|
|
|
/* VER |
|
|
|
================================================== */ |
|
|
|
================================================== */ |
|
|
|
this.ver = "0.5"; |
|
|
|
this.ver = "0.85"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ON EVENT |
|
|
|
/* ON EVENT |
|
|
@ -187,6 +196,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { |
|
|
|
|
|
|
|
|
|
|
|
/* GET DATA |
|
|
|
/* GET DATA |
|
|
|
================================================== */ |
|
|
|
================================================== */ |
|
|
|
|
|
|
|
if (ie7) { |
|
|
|
|
|
|
|
$feedback = VMM.appendAndGetElement($timeline, "<div>", "feedback", ""); |
|
|
|
|
|
|
|
$messege = VMM.appendAndGetElement($feedback, "<div>", "messege", "Internet Explorer 7 is not supported by Timeline."); |
|
|
|
|
|
|
|
} else { |
|
|
|
if (type.of(d) == "string") { |
|
|
|
if (type.of(d) == "string") { |
|
|
|
VMM.Timeline.DataObj.getData(d); |
|
|
|
VMM.Timeline.DataObj.getData(d); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -198,6 +211,8 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') { |
|
|
|
|
|
|
|
|
|
|
|
$feedback = VMM.appendAndGetElement($timeline, "<div>", "feedback", ""); |
|
|
|
$feedback = VMM.appendAndGetElement($timeline, "<div>", "feedback", ""); |
|
|
|
$messege = VMM.appendAndGetElement($feedback, "<div>", "messege", "Loading Timeline"); |
|
|
|
$messege = VMM.appendAndGetElement($feedback, "<div>", "messege", "Loading Timeline"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|