6c6 < background: url('//www.rjmprogramming.com.au/dappled_light.jpg'); --- > background-image: url('//www.rjmprogramming.com.au/dappled_light.jpg'); 13c13 < var disturb=true, lastchoice='', firstchoice=''; --- > var disturb=true; 15,112d14 < var firsturl='//www.rjmprogramming.com.au/dappled_light.jpg', lastmultpos='', firstmultpos='top left', lasturl='', numb=2, actnumb=1; < var prebrest=' ' + eval(-15 + eval(screen.width / numb)) + 'px ' + eval(-15 + eval(screen.height / numb)) + 'px '; < var brest=' ' + firstmultpos + ' no-repeat'; < var blist='', bposlist='', bcomblist=''; < < function dosize(dc) { < var suffdc=''; < numb=2; < while (actnumb > eval(numb * numb)) { < numb++; < } < for (var ij=0; ij .background-image { background: ' + dosize(bcomblist) + ' !important; } '; < } < return ''; < } < < function wellthatisinteresting(inval) { < switch (inval) { < case 'top left': < case 'top center': < case 'top right': < case 'center left': < case 'center center': < case 'center right': < case 'bottom left': < case 'bottom center': < case 'bottom right': < firstmultpos=inval.toLowerCase(); < firstchoice=inval; < lastchoice=inval; < blist='url("' + firsturl + '")'; < prebrest=' ' + eval(-15 + eval(screen.width / numb)) + 'px ' + eval(-15 + eval(screen.height / numb)) + 'px '; < bcomblist='url("' + firsturl + '") ' + firstmultpos + ' no-repeat'; < brest=' ' + firstmultpos + ' no-repeat'; < //alert(brest); < bposlist=firstmultpos; < setTimeout(capitalize, 2000); < break; < < case 'top left'.toUpperCase(): < case 'top center'.toUpperCase(): < case 'top right'.toUpperCase(): < case 'center left'.toUpperCase(): < case 'center center'.toUpperCase(): < case 'center right'.toUpperCase(): < case 'bottom left'.toUpperCase(): < case 'bottom center'.toUpperCase(): < case 'bottom right'.toUpperCase(): < lastmultpos=inval.toLowerCase(); < //alert(lastmultpos); < setTimeout(function(){ document.getElementById('dstyles').innerHTML+=restatebackground(); }, 2000); < break; < < default: < break; < } < < return inval; < } < < function capitalize() { < var jsts=['top left','top center','top right','center left','center center','center right','bottom left','bottom center','bottom right']; < var suffbit=''; < < if (lastchoice != '') { < var thatih=document.getElementById('mysel').innerHTML; < if (thatih.indexOf('"' + lastchoice + '"') != -1) { < for (var ij=0; ij')[0]; < thatih=thatih.replace(jsts[ij] + '"' + suffbit, jsts[ij].toUpperCase() + '"' + suffbit.split(';')[0] + '; /* next usage will await a new background image below */'); < } < } < } < document.getElementById('mysel').innerHTML=thatih; < } < < } 118,120c20 < if (wellthatisinteresting(sin.options[i].value) != '') { < if (sin.options[i].value != '' && sin.options[i].value == sin.options[i].value.toUpperCase()) { return ''; } < //alert('hopefully not'); --- > if (sin.options[i].value != '') { 126,127d25 < } else if (isbut && sin.options[i].innerText.indexOf('transform:') != -1 && dsbit.indexOf('transform:') != -1) { < dsbit=dsbit.replace('transform:', 'transform: ' + sin.options[i].innerText.split('transform:')[1].split(';')[0] + ' '); 259,265c157 < if (document.getElementById('mysel').innerHTML.indexOf('"top left"') != -1) { < firsturl=(mprefix + mwc.value); < document.getElementsByTagName('div')[0].style.background='url("' + (mprefix + mwc.value) + '")' + brest; < } else { < lasturl=(mprefix + mwc.value); < setTimeout(function(){ document.getElementById('dstyles').innerHTML+=restatebackground(); }, 2000); < } --- > document.getElementsByTagName('div')[0].style.backgroundImage='url("' + (mprefix + mwc.value) + '")'; 267,273c159 < if (document.getElementById('mysel').innerHTML.indexOf('"top left"') != -1) { < firsturl=(mprefix + mwc.value); < document.getElementsByTagName('div')[0].style.background='url("//' + (mprefix + mwc.value).split('//')[1] + '")' + brest; < } else { < lasturl=(mprefix + mwc.value); < setTimeout(function(){ document.getElementById('dstyles').innerHTML+=restatebackground(); }, 2000); < } --- > document.getElementsByTagName('div')[0].style.backgroundImage='url("//' + (mprefix + mwc.value).split('//')[1] + '")'; 275,281c161 < if (document.getElementById('mysel').innerHTML.indexOf('"top left"') != -1) { < firsturl=(mprefix + mwc.value); < document.getElementsByTagName('div')[0].style.background='url("//' + (mprefix + mwc.value).split('//')[1] + '")' + brest; < } else { < lasturl=(mprefix + mwc.value); < setTimeout(function(){ document.getElementById('dstyles').innerHTML+=restatebackground(); }, 2000); < } --- > document.getElementsByTagName('div')[0].style.backgroundImage='url("//' + (mprefix + mwc.value).split('//')[1] + '")'; 283,289c163 < if (document.getElementById('mysel').innerHTML.indexOf('"top left"') != -1) { < firsturl=(mprefix + mwc.value); < document.getElementsByTagName('div')[0].style.background='url("//' + document.URL.split('//')[1].split('/')[0] + (mprefix + mwc.value) + '")' + brest; < } else { < lasturl=(mprefix + mwc.value); < setTimeout(function(){ document.getElementById('dstyles').innerHTML+=restatebackground(); }, 2000); < } --- > document.getElementsByTagName('div')[0].style.backgroundImage='url("//' + document.URL.split('//')[1].split('/')[0] + (mprefix + mwc.value) + '")'; 291,297c165 < if (document.getElementById('mysel').innerHTML.indexOf('"top left"') != -1) { < firsturl=(mprefix + mwc.value); < document.getElementsByTagName('div')[0].style.background='url("//' + document.URL.split('//')[1].split('/')[0] + (mprefix + mwc.value).substring(1) + '")' + brest; < } else { < lasturl=(mprefix + mwc.value); < setTimeout(function(){ document.getElementById('dstyles').innerHTML+=restatebackground(); }, 2000); < } --- > document.getElementsByTagName('div')[0].style.backgroundImage='url("//' + document.URL.split('//')[1].split('/')[0] + (mprefix + mwc.value).substring(1) + '")'; 299,305c167 < if (document.getElementById('mysel').innerHTML.indexOf('"top left"') != -1) { < firsturl=(mprefix + mwc.value); < document.getElementsByTagName('div')[0].style.background='url("//' + document.URL.split('//')[1].split('/')[0] + (mprefix + mwc.value).substring(2) + '")' + brest; < } else { < lasturl=(mprefix + mwc.value); < setTimeout(function(){ document.getElementById('dstyles').innerHTML+=restatebackground(); }, 2000); < } --- > document.getElementsByTagName('div')[0].style.backgroundImage='url("//' + document.URL.split('//')[1].split('/')[0] + (mprefix + mwc.value).substring(2) + '")'; 322,323d183 < if (document.getElementById('mysel').innerHTML.indexOf('"top left"') != -1) { < firsturl=absare[iabs].src; 325,328d184 < } else { < lasturl=absare[iabs].src; < setTimeout(function(){ document.getElementById('dstyles').innerHTML+=restatebackground(); }, 2000); < } 351c207 < 363,375d218 < < < < < < < < < < < < < 387c230 <               📁 --- >               📁