<html>
<head>
<title>Animated GIF Slide Extraction Display - RJM Programming - May, 2024</title>
<script type='text/javascript'>
var defgif='./user_of_ss.gif';
if (document.URL.indexOf('rjmprogramming.com.au') != -1) {
defgif='./making_of_red_wriggler_concatenation_of_still_images_to_video.gif';
defgif='./user_of_ss.gif';
}
var gifurl=(location.search + location.hash).split('url=')[1] ? decodeURIComponent((location.search + location.hash).split('url=')[1].split('&')[0]) : defgif;
var gifloc=(location.search + location.hash).split('slide=')[1] ? decodeURIComponent((location.search + location.hash).split('slide=')[1].split('&')[0]) : '1';
var canextract=0;
var ingif='', goi=null, ih=0, iw=0, goisrc='', jjxhr=null, jjform=null, ij=0, doit=false;
var origgifloc='', pbefore='', intc='', fourhundred=0, look=true, paconto=null;
var dzslides=[], dzo=null, dzcnt=0;
var lastdrop='', lastelem=null, wasmt='0px', popupemailfunction='', agconto=null, agidis='slideshow', agiscnt=1, iois=null, dzoreopen=false, xinputtype='';
var bigihis='';
//var documentURL=document.URL;
var lastu='';
function ob(tv) {
if (tv == '' && intc != '') {
tv=intc;
document.getElementById('agname').value=intc;
document.getElementById('mygimage').src=intc;
if (window.parent) {
if (window.parent != window.self) {
parent.document.getElementById('myta').setAttribute('data-img', document.getElementById('myta').getAttribute('data-img'));
parent.document.getElementById('myta').title=document.getElementById('myta').title;
parent.document.getElementById('agname').value=intc;
parent.document.getElementById('mygimage').src=intc;
parent.document.getElementById('agname').value=intc;
parent.document.getElementById('mygimage').title='Finding slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + ' ... please wait ...';
parent.document.getElementById('mysum').innerHTML='Animated GIF Slide Extraction Display ... RJM Programming - May, 2024 ... ' + 'Finding slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + ' ... please wait ...';
parent.document.getElementById('slidenumber').value='' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij));
parent.unsetit();
}
}
//alert('Yes ' + tv);
//tv=gifurl;
ij=0;
setTimeout(function(){ intc=''; }, 27000);
}
if (tv.trim() != '') {
if (tv.indexOf('data') != 0 && tv.indexOf('//') != -1 && document.URL.indexOf('//') != -1) {
if (tv.split('//')[1].split('/')[0].toLowerCase().replace(/^www\./g,'') != document.URL.split('//')[1].split('/')[0].toLowerCase().replace(/^www\./g,'')) {
//alert('yes ' + tv);
document.getElementById('myiffour').src='/getex.php?dodu=y&url=' + encodeURIComponent(tv); //window.open('/getex.php?dodu=y&url=' + encodeURIComponent(tv), '_blank');
} else {
prefetch(tv);
}
} else {
prefetch(tv);
}
}
}
function prefetch(whatgifmaybe) { // thanks to https://stackoverflow.com/questions/69564118/how-to-get-duration-of-gif-image-in-javascript#:~:text=Mainly%20use%20parseGIF()%20%2C%20then,duration%20of%20a%20GIF%20image.
if (whatgifmaybe.trim() != '' || (whatgifmaybe.toLowerCase().trim().split('#')[0] + '?').indexOf('.gif?') != -1 || whatgifmaybe.indexOf('data:image/') == 0) {
ingif=whatgifmaybe;
if (ingif.indexOf('data') == 0) {
document.getElementById('xtitle').value='My Animated GIF at ' + ('' + new Date());
} else {
document.getElementById('xtitle').value='' + ingif;
}
//alert('YEs ');
fetch(whatgifmaybe.replace('http:','').replace('https:',''))
.then(res => res.arrayBuffer())
.then(ab => isGifAnimated(new Uint8Array(ab)))
.then(console.log);
}
}
function oneslidedu() {
//document.title='' + jjxhr.readyState + '/' + jjxhr.status;
if (jjxhr.readyState == 4) {
if (jjxhr.status == 200) {
setTimeout(function(){
if (jjxhr.responseText) {
if (jjxhr.responseText != '') {
goisrc=jjxhr.responseText;
}
}
}, 6000);
}
}
}
function twoslidedu() {
//document.title='' + jjxhr.readyState + '/' + jjxhr.status;
if (jjxhr.readyState == 4) {
if (jjxhr.status == 200) {
if (jjxhr.responseText.indexOf('<body') != -1 && jjxhr.responseText.indexOf('</body>') != -1) {
//alert(jjxhr.responseText);
bigihis=jjxhr.responseText.split('<body' + jjxhr.responseText.split('<body')[1].split('>')[0] + '>')[1].split('</body>')[0];
document.getElementById('ifconto').src='/PHP/animegif/tutorial_to_animated_gif.php?rand=' + Math.floor(Math.random() * 19878675);
}
}
}
}
/** @param {Uint8Array} uint8 */
function isGifAnimated(uint8) { // thanks to https://stackoverflow.com/questions/69564118/how-to-get-duration-of-gif-image-in-javascript#:~:text=Mainly%20use%20parseGIF()%20%2C%20then,duration%20of%20a%20GIF%20image.
if (uint8 == lastu) { return ''; }
lastu=uint8;
if (origgifloc == '') { origgifloc=gifloc; }
pbefore='';
//ij=0;
let duration = 0;
for (let i = 0, len = uint8.length; i < len; i++) {
if (uint8[i] == 0x21
&& uint8[i + 1] == 0xF9
&& uint8[i + 2] == 0x04
&& uint8[i + 7] == 0x00)
{
const delay = (uint8[i + 5] << 8) | (uint8[i + 4] & 0xFF);
duration += delay < 2 ? 10 : delay;
if (doit || gifloc.indexOf('%') != -1 || 1 == 1) {
ij++;
doit=true;
gifloc=origgifloc;
pbefore='' + ('gifloc=' + gifloc + ' and duration=' + eval(duration / 100) + ' and ij=' + ij + ' ');
if (origgifloc.indexOf('%') != -1) { gifloc='' + Math.round(eval(eval(gifloc.replace('%','')) * eval('' + ij) / 100.0)); }
//document.title='' + pbefore + ' ... ' + gifloc;
}
}
}
document.getElementById('xdelay').value='' + eval(eval(eval(duration / 100) * 100.0) / ij);
document.getElementById('numfillin').value='' + ij;
if (eval(duration / 100) <= 0.11) {
return 0;
}
//if (gifloc.indexOf('%') != -1) {
// alert('' + eval(duration / 100) + ' vs ' + delay);
// gifloc=gifloc.replace('%','');
//}
if (1 == 5 && canextract > 0) {
alert('' + eval(duration / 100));
} else {
document.getElementById('mygimage').title=('' + document.getElementById('mygimage').title).replace(' of 0', ' of ' + ij);
var newimg=new Image();
newimg.onload = function(){
ih=newimg.height;
iw=newimg.width;
document.getElementById('dimg').style.width='' + eval(1 * newimg.width) + 'px';
document.getElementById('dimg').style.height='' + eval(1 * newimg.height) + 'px';
if (intc != '') {
document.getElementById('dimg').style.background='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(' + intc + ')';
} else {
document.getElementById('dimg').style.background='linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(' + gifurl.replace('https:','').replace('http:','') + ')';
}
//document.getElementById('dimg').style.backgroundPosition='' + iw + 'px ' + ih + 'px';
document.getElementById('dimg').style.backgroundPosition='0px 0px';
document.getElementById('dimg').style.backgroundSize='' + newimg.width + 'px ' + newimg.height + 'px';
document.getElementById('dimg').style.backgroundRepeat='no-repeat';
document.getElementById('dimg').src='#';
document.getElementById('dimg').src=gifurl;
document.getElementById('mygimage').style.opacity='0.1';
};
if (intc != '') {
newimg.src=intc;
} else {
newimg.src=gifurl.replace('https:','').replace('http:','');
}
goi=document.getElementById('mygimage');
goisrc=gifurl.replace('https:','').replace('http:','');
document.getElementById('mygimage').src=gifurl.replace('https:','').replace('http:','');
fourhundred=eval('' + document.getElementById('agname').value.length);
//newimg.src=gifurl;
setTimeout(function(){
jjform = new FormData();
jjxhr = new XMLHttpRequest();
if (intc == '' && fourhundred < 400) {
//alert('gifurl=' + gifurl);
document.getElementById('agname').value=gifurl;
}
document.getElementById('mygimage').title='Finding slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + ' ... please wait ...';
document.getElementById('mysum').innerHTML='Animated GIF Slide Extraction Display ... RJM Programming - May, 2024 ... ' + 'Finding slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + ' ... please wait ...';
document.getElementById('slidenumber').value='' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij));
jjform.append('agname', gifurl);
jjform.append('slidenumber', '' + eval(1 + eval( eval(-1 + eval('' + gifloc.replace('%',''))) % ij)));
jjform.append('random', document.getElementById('random').value);
jjxhr.onreadystatechange = oneslidedu;
//jjxhr.responseType = "Document";
jjxhr.open('post', './agtoslides.php', true);
if (1 == 1) {
if (eval('' + document.getElementById('agname').value.length) < 400) {
//document.getElementById('dimg').style.opacity='0.1';
document.body.style.cursor='progress';
if (!document.getElementById('ifconto')) {
setTimeout(function(){
document.getElementById('dag').innerHTML="<iframe onload='setTimeout(agmaybe,9000);' id=ifconto name=ifconto src='/PHP/animegif/tutorial_to_animated_gif.php' style='width:100%;height:900px;display:BLOCK;'></iframe>";
document.getElementById('agf').target='ifconto';
document.getElementById('agshow').value='y';
}, 5000);
} else if (document.getElementById('agshow').value == '' && document.getElementById('ifconto')) {
document.getElementById('ifconto').style.display='block';
document.getElementById('agshow').value='y';
}
document.getElementById('myif').src='./agtoslides.php?agname=' + encodeURIComponent(document.getElementById('agname').value) + '&slidenumber=' + encodeURIComponent(document.getElementById('slidenumber').value) + '&random=' + encodeURIComponent(document.getElementById('random').value) + '&delay=' + encodeURIComponent(document.getElementById('xdelay').value) + '&title=' + encodeURIComponent(document.getElementById('xtitle').value) + '&numfillin=' + encodeURIComponent('' + ij);
//} else if (intc != '') {
//window.open('//www.rjmprogramming.com.au/Mac/extract_ag_slide_huh_of.html?slide=' + encodeURIComponent(document.getElementById('slidenumber').value) + '&random=' + encodeURIComponent(document.getElementById('random').value) + '#url=' + encodeURIComponent(document.getElementById('agname').value), '_blank', 'top=10,left=10,width=600,height=600');
} else {
//document.getElementById('dimg').style.opacity='0.1';
document.body.style.cursor='progress';
if (!document.getElementById('ifcnto')) {
setTimeout(function(){
document.getElementById('dag').innerHTML="<iframe onload='setTimeout(agmaybe,9000);' id=ifconto name=ifconto src='/PHP/animegif/tutorial_to_animated_gif.php' style='width:100%;height:900px;display:BLOCK;'></iframe>";
document.getElementById('agshow').value='y';
}, 5000);
} else if (document.getElementById('agshow').value == '' && document.getElementById('ifconto')) {
document.getElementById('ifconto').style.display='block';
document.getElementById('agshow').value='y';
}
//alert('post');
//alert('post: ' + document.getElementById('myform').outerHTML);
document.getElementById('random').value='' + Math.floor(Math.random() * 198786753);
document.getElementById('mysub').click();
}
} else {
jjxhr.send(jjform);
}
}, 5000);
}
return duration / 100; // if 0.1 is not an animated GIF
}
if (gifurl.trim() != '') {
if (gifurl.indexOf('//') == -1) {
canextract=2;
} else if (document.URL.indexOf('//' + gifurl.split('//')[1].split('/')[0] + '/') != -1) {
canextract=2;
} else if (gifurl.indexOf('data:image/') == 0) {
canextract=1;
}
}
function checkit(iois) {
var orok=false;
if (window.parent) {
if (window.parent != window.self) {
orok=true;
}
}
if (iois.src.indexOf('agtoslides.php') != -1) {
var aconto = (iois.contentWindow || iois.contentDocument);
if (aconto != null) {
if (aconto.document) { aconto = aconto.document; }
if (aconto.body != null && (intc == '' && document.getElementById('myta').title == '') || orok) {
if (aconto.body.innerHTML.indexOf(' src="') != -1) {
goisrc=aconto.body.innerHTML.split(' src="')[1].split('"')[0];
} else if (aconto.body.innerHTML.indexOf('<') == 0) {
goisrc=aconto.body.innerHTML.split(aconto.body.innerHTML.split('>')[0] + '>')[1].split('</')[0];
} else {
goisrc=aconto.body.innerHTML;
}
//alert('why? ' + goisrc);
document.getElementById('mygimage').style.opacity='1.0';
document.getElementById('mygimage').src=goisrc;
document.getElementById('dimg').style.background='url(' + goisrc + ')';
document.body.style.cursor='pointer';
document.getElementById('mygimage').title='Found slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + '. Click to also show the original animated GIF.';
document.getElementById('mysum').innerHTML='Animated GIF Slide Extraction Display ... RJM Programming - May, 2024 ... ' + 'Found slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + '. Click to also show the original animated GIF.';
if (window.parent) {
if (window.parent != window.self) {
parent.document.getElementById('mygimage').style.opacity='1.0';
parent.document.getElementById('mygimage').src=goisrc;
parent.document.getElementById('dimg').style.background='url(' + goisrc + ')';
parent.document.body.style.cursor='pointer';
parent.document.getElementById('mysum').innerHTML='Animated GIF Slide Extraction Display ... RJM Programming - May, 2024 ... ' + 'Found slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + '. Click to also show the original animated GIF.';
parent.document.getElementById('mygimage').title='Found slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + '. Click to also show the original animated GIF.';
}
}
}
}
}
}
function askaway() {
var wans='', postwans='', fromone='youllneverfindthis', toone='youllneverfindthis', huhs='';
var sofarok=true;
if (window.parent) {
if (window.self !== window.parent && document.URL.indexOf('noask=') == -1 && look) {
wans=prompt('Please, optionally, enter an animated GIF URL of interest and optionally append hashtag (ie. #) separated slide number of interest (can be a percentage)', gifurl);
if (wans == null) { wans=''; }
if (wans.trim() != '' && wans != gifurl) {
var wansh=wans.split('#');
if (eval('' + wansh.length) > 1) { fromone='slide='; toone='slidnoe='; postwans='&slide=' + encodeURIComponent(wansh[1]); wans=wansh[0]; }
if (wans.trim() == '') { huhs='junk'; }
if (wans.indexOf('data') != 0 && wans.indexOf('//') != -1 && document.URL.indexOf('//') != -1) {
if (wans.split('//')[1].split('/')[0].toLowerCase().replace(/^www\./g,'') != document.URL.split('//')[1].split('/')[0].toLowerCase().replace(/^www\./g,'')) {
sofarok=false;
if (eval('' + wansh.length) > 1) { gifloc='' + wansh[1]; } else { gifloc='1'; }
//alert('wans=' + wans);
ob(wans);
}
}
if (sofarok && top.location.href.indexOf('?') == -1) {
if (top.location.href.indexOf('/extract_ag_slide_huh_of.htm') != -1) {
//alert(15);
top.location.href+='?url' + huhs + '=' + encodeURIComponent(wans) + postwans + '&noask=y';
} else {
//alert(215);
location.href+='?url' + huhs + '=' + encodeURIComponent(wans) + postwans + '&noask=y';
}
} else if (sofarok) {
if (top.location.href.indexOf('/extract_ag_slide_huh_of.htm') != -1) {
//alert(315);
top.location.href=top.document.URL.replace(fromone,toone).replace('?', '?url' + huhs + '=' + encodeURIComponent(wans) + postwans + '&noask=y&');
} else {
//alert(415);
location.href=document.URL.replace(fromone,toone).replace('?', '?url' + huhs + '=' + encodeURIComponent(wans) + postwans + '&noask=y&');
}
}
}
} else if (gifurl == defgif && document.URL.indexOf('noask=') == -1 && look) {
document.getElementById('myiftwo').src=document.URL + '#ask=';
}
} else if (gifurl == defgif && document.URL.indexOf('noask=') == -1 && look) {
document.getElementById('myiftwo').src=document.URL + '#ask=';
}
}
function woit() {
var wo=window.open('', '_blank', 'top=50,left=50,width=' + iw + ',height=' + ih);
if (('' + document.getElementById('myta').getAttribute('data-img')).indexOf('data') == 0) {
wo.document.write('<html><body><img src="' + document.getElementById('myta').getAttribute('data-img') + '"></img></body></html>');
} else {
wo.document.write('<html><body><img src="' + gifurl + '"></img></body></html>');
}
}
function setgurl(gurl) {
ij=0;
gifurl=gurl;
//alert('gifurL=' + gifurl);
document.getElementById('agname').value=gifurl; //'';
document.getElementById('mygimage').src=gifurl;
document.getElementById('random').value='' + Math.floor(Math.random() * 198786753);
gifloc=prompt('Please, optionally, enter a slide number of interest (can be a percentage) ', '' + gifloc);
if (gifloc == null) { gifloc='1'; } else if (gifloc == '0') { gifloc='1'; } else if (gifloc.indexOf('-') != -1) { gifloc='1'; }
document.getElementById('slidenumber').value='' + gifloc;
doit=false;
origgifloc='';
ob(gifurl);
document.getElementById('mygimage').title='Finding slide ' + gifloc + ' of ' + ij + ' ... please wait ...';
document.getElementById('mysum').innerHTML='Animated GIF Slide Extraction Display ... RJM Programming - May, 2024 ... ' + 'Finding slide ' + eval(1 + eval(eval(-1 + eval('' + gifloc.replace('%',''))) % ij)) + ' of ' + ij + ' ... please wait ...'
document.getElementById('myifthree').style.display='none';
window.scrollTo(0,0);
if (1 == 5) {
setTimeout(function(){
var wans='', postwans='', fromone='youllneverfindthis', toone='youllneverfindthis', huhs='';
wans=prompt('Please, optionally, enter a hashtag (ie. #) separated slide number of interest (can be a percentage)', '#1');
if (wans == null) { wans=''; }
if (wans.trim() != '' && wans != gifurl) {
var wansh=wans.split('#');
if (eval('' + wansh.length) > 1) { origgifloc=''; gifloc=wansh[1]; fromone='slide='; toone='slidnoe='; postwans='&slide=' + encodeURIComponent(wansh[1]); wans=wansh[0]; }
if (wans.trim() == '') { huhs='junk'; }
if (top.location.href.indexOf('?') == -1) {
if (top.location.href.indexOf('/extract_ag_slide_huh_of.htm') != -1) {
top.location.href+='?rand=' + Math.floor(Math.random() * 19878675) + '#url' + huhs + '=' + encodeURIComponent(wans) + postwans + '&noask=y';
} else {
location.href+='?rand=' + Math.floor(Math.random() * 19878675) + '#url' + huhs + '=' + encodeURIComponent(wans) + postwans + '&noask=y';
}
} else {
if (top.location.href.indexOf('/extract_ag_slide_huh_of.htm') != -1) {
top.location.href=top.document.URL.replace(fromone,toone).replace('?', '?rand=' + Math.floor(Math.random() * 19878675) + '#url' + huhs + '=' + encodeURIComponent(wans) + postwans + '&noask=y&');
} else {
location.href=document.URL.replace(fromone,toone).replace('?', '?rand=' + Math.floor(Math.random() * 19878675) + '#url' + huhs + '=' + encodeURIComponent(wans) + postwans + '&noask=y&');
}
}
}
}, 3000);
}
}
function checkask() {
if (document.URL.indexOf('noask=') != -1) {
//alert(615);
location.href=document.URL.replace('noask=', 'askno=');
}
}
function lookatmyta() {
if (document.getElementById('myta')) {
if (document.getElementById('myta').innerHTML != '') {
intc=document.getElementById('myta').innerHTML;
document.getElementById('myta').setAttribute('data-img', intc);
document.getElementById('myta').innerHTML='';
//alert('intc=' + intc);
if (intc.indexOf('data') == 0) {
document.getElementById('testi').src=intc;
//alert('Intc=' + document.getElementById('testi').src);
//document.getElementById('testi').style.display='block';
document.getElementById('mygimage').src=intc;
document.getElementById('myta').title='x';
gifurl=intc;
document.getElementById('slidenumber').value='' + gifloc;
doit=false;
origgifloc='';
} else {
gifurl='data:image/gif;base64,' + window.atob(intc);
document.getElementById('mygimage').src=gifurl;
document.getElementById('myta').title='x';
document.getElementById('slidenumber').value='' + gifloc;
doit=false;
origgifloc='';
}
ob('');
}
}
}
function unsetit() {
doit=false;
origgifloc='';
}
function morehthree() {
look=false;
if (1 == 1) {
document.getElementById('smore').innerHTML+=" <iframe onload=pcheckit(this); style='display:inline-block;width:195px;height:160px;' id=pmyifthree src='/PHP/read_exif_off_image_rotate.php#itwo'></iframe>";
} else {
var rects=document.getElementById('pmysub');
document.getElementById('myifthree').style.position='absolute';
document.getElementById('myifthree').style.top='' + rects.top + 'px';
document.getElementById('myifthree').style.left='' + eval(10 + eval('' + rects.right)) + 'px';
}
}
function pcheckit(iois) {
paconto = (iois.contentWindow || iois.contentDocument);
if (paconto != null) {
if (paconto.document) { paconto = paconto.document; }
if (paconto.body != null) {
setTimeout(function(){
paconto.getElementsByTagName('select')[0].style.display='none';
paconto.getElementById('image').style.display='none';
paconto.getElementById('isub').style.display='none';
paconto.getElementsByTagName('div')[0].style.opacity='0.0';
paconto.getElementsByTagName('select')[1].style.display='none';
paconto.getElementsByTagName('h1')[0].style.opacity='0.0';
if (1 == 44) { paconto.getElementsByTagName('h4')[0].style.opacity='0.0'; }
if (1 == 4) { paconto.getElementsByTagName('h3')[0].style.opacity='0.0'; }
}, 7000);
}
}
}
function preagslideshow(theurl) {
if (theurl.indexOf('delay=') != -1) {
if (9 == 9) {
document.getElementById('agf').innerHTML+='<input type=hidden name=delay value="' + decodeURIComponent(theurl.split('delay=')[1].split('&')[0]) + '"></input>';
} else {
jjform.append('delay', decodeURIComponent(theurl.split('delay=')[1].split('&')[0]));
}
}
if (theurl.indexOf('title=') != -1) {
if (9 == 9) {
document.getElementById('agf').innerHTML+='<input type=hidden name=title value="' + decodeURIComponent(theurl.split('title=')[1].split('&')[0]) + '"></input>';
} else {
jjform.append('title', decodeURIComponent(theurl.split('title=')[1].split('&')[0]));
}
}
if (theurl.indexOf('numfillin=') != -1) {
if (9 == 9) {
document.getElementById('agf').innerHTML+='<input type=hidden name=numfillin value="' + decodeURIComponent(theurl.split('numfillin=')[1].split('&')[0]) + '"></input>';
} else {
jjform.append('numfillin', decodeURIComponent(theurl.split('numfillin=')[1].split('&')[0]));
}
}
if (9 == 9) {
document.getElementById('agf').innerHTML+='<input type=submit style=display:none; id=mysubag value=Submit></input>';
//alert(document.getElementById('agf').outerHTML);
document.getElementById('mysubag').click();
} else {
jjxhr.onreadystatechange = twoslidedu;
//jjxhr.responseType = "Document";
jjxhr.open('post', theurl.split('?')[0], true);
//document.getElementById('ifconto').src=theurl;
}
}
function agslideshow(thename, thevalue) {
if (1 == 1) {
if (thename == 'slideshow') {
if (9 == 9) {
//alert(thevalue);
document.getElementById('agf').innerHTML='<input type=hidden name=slideshow value="' + thevalue + '"></input>';
} else {
jjform = new FormData();
jjxhr = new XMLHttpRequest();
jjform.append('slideshow', thevalue);
}
} else {
if (9 == 9) {
document.getElementById('agf').innerHTML+='<input type=hidden name=' + thename + ' value="' + thevalue + '"></input>';
} else {
jjform.append(thename, thevalue);
}
}
} else {
agconto.getElementById(thename).value=thevalue;
}
}
function agmaybe() {
iois=document.getElementById('ifconto');
if (iois != null) {
//alert(13);
if (iois.src.indexOf('tutorial_to_animated_gif.php') != -1) {
agconto = (iois.contentWindow || iois.contentDocument);
//alert(23);
if (agconto != null) {
if (agconto.document) { agconto = agconto.document; }
//alert(33);
agconto.getElementById('delay').value='4000';
agconto.getElementById('stitle').value='My Animation ...';
agconto.getElementById('watermarkmode').value=' ';
var spans=agconto.getElementsByTagName('span');
for (var jspans=0; jspans<spans.length; jspans++) {
if (spans[jspans].innerHTML == ' Delay(s)' && spans[jspans].outerHTML.indexOf('do' + 'dt') != -1) { spans[jspans].click(); }
}
if (bigihis != '') {
agconto.body.innerHTML=bigihis;
bigihis='';
}
if (!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i) || 1 == 1) {
agconto.getElementById('slideshow').focus();
setTimeout(function(){ window.scrollTo(0,0); }, 1000);
}
//alert(43);
}
}
}
}
function agcheck() {
if (document.getElementById('agshow')) {
if (document.getElementById('agshow').value == 'y') {
document.getElementById('agshow').value='Y';
document.getElementById('ifconto').style.display='block';
//location.href='#ifconto';
}
}
}
function agtesti(imgo) {
if (('' + location.hash).indexOf('ifconto') != -1 && imgo.src != '') {
document.getElementById('testi').setAttribute('data-okay', '');
agconto.getElementById(agidis).value=imgo.src;
if (agidis == 'slideshow') {
agidis='slideshow2';
} else {
agidis='slideshow' + eval(1 + eval('' + agidis.replace('slideshow','')));
}
agconto.getElementById(agidis).blur();
document.getElementById('testi').setAttribute('data-okay', 'y');
}
}
setInterval(agcheck, 2000);
setInterval(lookatmyta, 8000);
</script>
</head>
<body onload="document.getElementById('pslidenumber').value='' + gifloc; setTimeout(function(){ document.getElementById('pslidenumber').placeholder+=' ... ' + gifloc; document.getElementById('pslidenumber').value=''; }, 3000); document.getElementById('pagname').placeholder+=' ... ' + gifurl; document.getElementById('random').value='' + Math.floor(Math.random() * 19878675); setTimeout(askaway,8000); ob(gifurl);">
<details onclick="document.getElementById('mysum').innerHTML='Animated GIF Slide Extraction Display ... RJM Programming - May, 2024';" open><summary id=mysum></summary><div id=temporary>
<h1>Animated GIF Slide Extraction Display</h1>
<h3>RJM Programming - May, 2024</h3>
<span id=smore><input onfocus='look=false;' onclick='look=false;' style=width:40%;display:inline-block; type=text placeholder='Animated GIF URL' id=pagname value=''></input> <input onfocus='look=false;' onclick='look=false;' style=width:30%;display:inline-block; type=text placeholder='Slide Number to extract (can be %)' id=pslidenumber value='1'></input> <input onclick=morehthree(); style=width:10%;display:inline-block; type=button style=display:block; value=Browse id=pmysub></input></span><br>
<hr>
</details>
</div>
<iframe style="display:none;" onload="if (this.src.length > 0) { setTimeout(function() { this.srcdoc='<iframe src=//www.rjmprogramming.com.au/About_Us.html></iframe>'; }, 20000); }" id=dimg src=''></iframe>
<!--hr></hr-->
<img ondblclick=checkask(); onclick=woit(); data-onload="if (this.src.length > 0) { goi.style.display='block'; setTimeout(function() { document.getElementById('dimg').style.backgroundPosition='' + 0 + 'px ' + 0 + 'px'; setInterval(function() { if (1 == 11) { window.stop(); } else { goi.src=goi.src; } },1); }, 20000); }" id=mygimage src='' style='display:BLOCK;'></img>
<form target=myif style=display:none; method=POST id=myform action='./agtoslides.php'>
<input type=hidden name=slidenumber id=slidenumber value='1'></input>
<input type=hidden name=random id=random value='1'></input>
<input type=hidden name=delay id=xdelay value=''></input>
<input type=hidden name=title id=xtitle value=''></input>
<input type=hidden name=numfillin id=numfillin value=''></input>
<input type=hidden name=agname id=agname value=''></input>
<input type=submit style=display:none; id=mysub></input>
</form>
<iframe onload="checkit(this);" style=display:none; name=myif id=myif src=></iframe>
<iframe style=display:none; id=myiftwo src=></iframe>
<iframe onload=pcheckit(this); style='display:block;width:95%;height:160px;' id=myifthree src='/PHP/read_exif_off_image_rotate.php#itwo'></iframe>
<iframe style=display:none; id=myiffour src=></iframe>
<div data-img="" title='' id=myta style=display:none;></div>
<img onload=agtesti(this); data-okay='y' style=display:none; id=testi src=></img>
<input type=hidden value='' id='agshow'></input>
<input type=hidden value='' id='thegifnamegoeshere'></input>
<div id=dag></div>
<form id=agf style=display:none; method=POST data-target=ifconto action='/PHP/animegif/tutorial_to_animated_gif.php'>
</form>
</body>
</html>