How to show 2 versions in tooltip at once
|
|
Hi, Thank you, Mr. Trimble, for Bible Tooltips. And for sharing it to all. How can I show two versions at the same time? I would like both the ESV and the NKJV to appear in the tooltip at once. Please advise. |
|
|
Preferably, I would like to see the 2 versions side by side if it's a multi-versed passage. If it's just a 1 or 2 verse passage. 1 Version above and 1 version below is just fine. |
|
|
Hi Raindrop, This isn't a general option I currently want to put into Bible Tooltips at the moment (mainly because it would mean rethinking/upgrading the user interface significantly). However you can get both bible versions in the same tooltip by adding the following code. This should be inserted at the very end of the file the line before it says Template. This should create the dual version you are looking for although not side by side, just one after the other. God bless,
{
dataURL: 'http://www.biblegateway.com/passage/?search=',
dataURL2: ';&version=47;50;',
webURL: 'http://www.biblegateway.com/passage/?search=',
webURL2: ';&version=47;50;',
logoURL: 'http://www.biblegateway.com/languages/en/images/logo_whitebg.gif',
logoDim: [32,138],
logoCrop: false,
logoCropDim: [32,138],
topBarColour: 'grey',
selectionXPath: ".//div[3]/h3|.//div[@class='result-text-style-normal']|.//td[@class='multipassage-box']",
removalXPath: ".//ol|.//p[@class='txt-sm']|.//div[@class='publisher-info-bottom']|.//strong[text() = 'Footnotes:']|.//strong[text() = 'Cross references:']",
version: 'ESV/NKJV',
versionFullName: 'ESV/NKJV Comparison',
versionLanguage: 'en',
versionLanguageRTL: false,
versionCSS: 'span.NETBibletool span.NETBibletip span.sup { \n'+
' font-weight: bold; \n'+
' font-size:0.65em; \n'+
' vertical-align:text-top; \n'+
'} \n'+
'span.NETBibletool span.NETBibletip p { \n'+
' margin: 0px 0px 0px 0px; \n'+
'} \n'+
'span.NETBibletool span.NETBibletip sup { \n'+
' display: none; \n'+
'} \n'+
'span.NETBibletool span.NETBibletip h3 { \n'+
' font-size: 18px; \n'+
' margin: 5px 0px; \n'+
' line-height: 20px; \n'+
'} \n',
},
|