---
> |
965,966c753,754
< |
< |
>
< Email/SMS
---
>
990c777
< var lasturl='', lasttext=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', lastwoo=null, lastj=0, lssel='', zerodotsix='0.6', lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false;
---
> var lasturl='', lasttext=null, gzero=null, lastx=0, lasty=0, lastw=0, lasth=0, lastp='', lastiurl='', szero=null, aimg='', lastimgc='', lastsvggeo=null, uselast=false;
1005,1007c792,794
< //if (outgs[iop].split(dlm)[0] != outgs[iop].split(dlm)[0].replace(/\ /g,'+').replace(/\%20/g,'+')) {
< // alert('found');
< //}
---
> if (outgs[iop].split(dlm)[0] != outgs[iop].split(dlm)[0].replace(/\ /g,'+').replace(/\%20/g,'+')) {
> alert('found');
> }
1011,1014d797
< if (outig != '') {
< document.getElementById('ablnewzero').value=outig;
< document.getElementById('mybutsave').style.display='inline-block';
< }
1024,1027d806
< document.getElementById('myform').action=document.URL.split('?')[0].split('#')[0];
<
< cookieAVal('saved_family_tree_', true);
<
1057,1058c836
< animbord(); document.getElementById('mysub').style.border='3px dotted green';
< setTimeout(function(){ document.getElementById('mysub').click(); }, 2000);
---
> document.getElementById('mysub').click();
1067,1177d844
<
< function deleteAVal(goodname, aparticularvalue) {
< if (window.localStorage && goodname.indexOf('saved_family_tree_') == 0) {
< if (('' + localStorage.getItem(goodname)).replace(/^undefined/g,'').replace(/^null/g,'') != '') {
< if (aparticularvalue == '') {
< localStorage.removeItem(goodname);
< } else {
< if (aparticularvalue.replace('HTTP','http').toLowerCase() == ('' + localStorage.getItem(goodname)).toLowerCase()) {
< localStorage.removeItem(goodname);
< }
< }
< }
< }
< }
<
< function setAVal(cName, cVal) {
< if (cName.indexOf('saved_family_tree_') == 0) {
< if (window.localStorage) {
< localStorage.setItem(cName, encodeURIComponent(cVal));
< cookieAVal('saved_family_tree_', true);
< return ' ';
< }
< return '';
< }
< return '';
< }
<
< function gotothis(inu) {
< if (inu.trim() != '') {
< if (inu.indexOf('HttP') == 0) {
< var toe=null;
< if (document.getElementById('sells').innerHTML.indexOf(inu + '\">') != -1) {
< toe=prompt('Please enter email address or SMS number to share ' + document.getElementById('sells').innerHTML.split(inu + '\">')[1].split('<')[0].replace('Email or SMS ','') + ' with.', '');
< } else {
< toe=prompt('Please enter email address or SMS number to share with.', '');
< }
< if (toe == null) { toe=''; }
< if (toe.indexOf('@') != -1) {
< if (document.getElementById('sells').innerHTML.indexOf(inu + '\">') != -1) {
< document.getElementById('myaemailsms').href='mailto:' + toe.trim() + '?subject=' + encodeURIComponent(document.getElementById('sells').innerHTML.split(inu + '\">')[1].split('<')[0].replace('Email or SMS ','')) + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output'));
< document.getElementById('myaemailsms').click();
< } else {
< document.getElementById('myaemailsms').href='mailto:' + toe.trim() + '?subject=' + encodeURIComponent('Family Tree') + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output'));
< document.getElementById('myaemailsms').click();
< }
< } else if (toe.trim() != '') {
< if (toe.trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') == '') {
< document.getElementById('myaemailsms').href='sms:' + toe.trim() + '&body=' + encodeURIComponent(inu.replace('HttP','http').split('#')[0].replace(/\-/g,'').replace('doctestoutput','doctest-output'));
< document.getElementById('myaemailsms').click();
< }
< }
< document.getElementById('sells').value='';
< } else if (inu.indexOf('HTTP') == 0) {
< //alert('2:' + inu);
< if (inu.indexOf('#saved_family_tree_') != -1) {
< //alert('22:' + inu.split('#')[eval(-1 + inu.split('#').length)]);
< deleteAVal(inu.split('#')[eval(-1 + inu.split('#').length)], encodeURIComponent(inu.replace('#' + inu.split('#')[eval(-1 + inu.split('#').length)], '').replace('HTTP','http')));
< //alert('222:' + inu.split('#')[eval(-1 + inu.split('#').length)]);
< cookieAVal('saved_family_tree_', true);
< //alert('2222:' + inu.split('#')[eval(-1 + inu.split('#').length)]);
< }
< } else {
< //woo=window.open(inu, '_blank', 'top=50,left=50,width=800,height=800');
< woo=window.open(inu.replace(/\-/g,'').replace('doctestoutput','doctest-output').replace('http:','').replace('https:',''), '_blank', 'top=50,left=50,width=800,height=800');
< }
< }
< }
<
< function rework(what) {
< var outw=what;
< if (what.toLowerCase().indexOf('doctest output ') != -1 && what.toLowerCase().indexOf('.gv.') != -1) {
< outw=what.toLowerCase().split('doctest output ')[1].split('.gv.')[0];
< var outwds=outw.split(' ');
< outw=outwds[0].substring(0,1).toUpperCase() + (outwds[0] + ' ').substring(1).toLowerCase().trim();
< for (var io=1; io', '' + '' + '' + '');
< }
< }
< if (lssel != '') {
< document.getElementById('ssel').innerHTML=lssel.trim();
< }
< }
< if (cName.indexOf('saved_family_tree_') == 0) {
< if (window.localStorage) {
< if (decodeURIComponent(('' + localStorage.getItem(cName)).replace(/^undefined/g,'').replace(/^null/g,'')) != '') {
< return decodeURIComponent(localStorage.getItem(cName));
< }
< if (decodeURIComponent(('' + sessionStorage.getItem(cName)).replace(/^undefined/g,'').replace(/^null/g,'')) != '') {
< return decodeURIComponent(sessionStorage.getItem(cName));
< }
< }
< return '';
< }
< return '';
< }
1184d850
< document.getElementById('mysub').style.border='3px dotted green';
1219,1226d884
< function animbord() {
< var bcolsare=['green','#F0F8FF','#F0FFFF','#F0F0E0','#F0FFF0','#FFFFF0','#FFF0E0','#FFFFE0','#F0FFF0','#FFFFFF','#F0F0F0','#F0F7FF','#FFF8F0','#FFF0F0','#E0FFFF','#FFFFE0'];
< document.getElementById('mysub').style.border='3px dotted ' + bcolsare[lastj];
< lastj++;
< if (lastj >= eval('' + bcolsare.length)) { lastj=0; }
< setTimeout(animbord, 200);
< }
<
1243c901
< lastiurl=\"\";
---
> lastiurl=\"\";
1245c903
< lastiurl=\"\";
---
> lastiurl=\"\";
1250,1251c908,909
< if (lastp.indexOf('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL') == -1) {
< pres=prompt('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL. Default opacity is 0.6 but a hash ( ie. # ) separated alternative opacity value will be analyzed.', '');
---
> if (lastp != 'Regarding ' + svgeo.innerHTML + ' please enter an optional image URL') {
> pres=prompt('Regarding ' + svgeo.innerHTML + ' please enter an optional image URL', '');
1258,1259d915
< if (pres.indexOf('#') == -1) { zerodotsix='0.6'; } else if (pres.indexOf('#') != -1) { zerodotsix=pres.split('#')[1]; pres=pres.split('#')[0].trim(); if ((zerodotsix + 'z').substring(0,1) < '0' || (zerodotsix + 'z').substring(0,1) > '9') { zerodotsix='0.6'; } }
< if (pres != '') {
1271d926
< }
1309,1312d963
< if (intv.replace(' ','-').replace('_','-').indexOf('-') == -1 && intv.trim() != '') {
< intvo.value='a-' + intv;
< intv=intvo.value;
< }
1324,1327d974
< if (document.getElementById('addimg').value != '') {
< document.getElementById('ablnewzero').value=document.getElementById('addimg').value;
< }
< document.getElementById('mybutsave').style.display='inline-block';
1386,1449c1033
< function prechecksvg() {
< checksvg(lastwoo);
< }
<
< function checksvg(iiois) {
< var gs=[];
< var iois=iiois;
< if (('' + iiois.src).toLowerCase().indexOf('.svg') == -1 && lastwoo != null) {
< iois=lastwoo;
< //alert(1);
< console.log('lastWoo');
< }
< if (iois != null) { // check out window.svgDocument
< console.log('lastWoo2');
< var aconto = (iois.contentWindow || iois.contentDocument);
< console.log('lastWoo3 ' + aconto);
< if (aconto != null) {
< //alert(1);
< console.log('lastWoo4 ' + aconto);
< if (aconto.document) {
< console.log('lastWoo5 ' + aconto);
< aconto = aconto.document;
< gs=aconto.getElementsByTagName('g');
< if (eval('' + gs.length) > 0) {
< gzero=gs[0];
< for (var sd=0; sd 0) {
< szero=gs[0];
< for (var sd=0; sd function checksvg(iois) {
1490,1491d1073
< #ltd { background-color: #f0d0e0; }
< #myif { background-color: #d0e0f0; }
1500c1082
< Trying out Python GraphViz hosted in PHP " . $plus . " Family Tree 📧 📟
---
> Trying out Python GraphViz hosted in PHP " . $plus . " Family Tree 📧 📟
1503c1085
<
---
> |
1505,1506c1087,1088
< |
< |
>
< Email/SMS
---
>
>
|
|
|
|