Jack and Jill Water comic strip Storyboard by 6b433178 (2024)

`; this._targetInput.insertAdjacentHTML('afterend', dHtm); this._targetInput.nextElementSibling.insertAdjacentElement('beforeend', this._targetInput); } this._newVoiceId = `v_searchByVoice_${this._instanceIndex}`; this._voiceTextElmId = `v_voiceTxtEl_${this._instanceIndex}`; var newVoice = document.getElementById(this._newVoiceId); if ((this._targetInput || this._targetInputList) && !newVoice) { let sHtm = ` `; if (!this._textableInstance) { this._targetInput.insertAdjacentHTML('afterend', sHtm); this._targetInput.parentElement.classList.add('v_hasVoiceSearch'); } else { if (this._targetSelectionElm.parentElement === null) { var summernoteToolBar = document.getElementById('summernote-disconnected-toolbar'); if (summernoteToolBar) { var rowTwo = summernoteToolBar.getElementsByClassName('note-row2')[0]; this._targetSelectionElm = rowTwo; } } this._targetSelectionElm.insertAdjacentHTML('beforeend', sHtm); this._targetSelectionElm.classList.add('v_hasVoiceSearch'); } } }; SpeechToTextHelper.prototype.SetupRecognition = function () { let finalTranscript = ''; let voiceTutElm = document.getElementById(this._voiceTextElmId); let selectedInstanceIndex = this._instanceIndex; this._recState.recognition = new this._speechRecognition(); this._recState.recognition.continuous = false; //this._recState.recognition.lang = 'en-US'; this._recState.recognition.interimResults = true; if ((this._targetInput || this._targetInputList) && voiceTutElm) { this._recState.recognition.onresult = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; let interimTranscript = ""; for (let i = e.resultIndex; i < e.results.length; i += 1) { const { transcript } = e.results[i][0]; if (e.results[i].isFinal) { finalTranscript += transcript; } else { interimTranscript += transcript; } } thisPointer._recState.finalSpeechVal = `${finalTranscript} ${interimTranscript}`.trim(); if (!thisPointer._textableInstance) { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } else { for (var i = 0; i < thisPointer._targetInputList.length; i++) { thisPointer._targetInputList[i].innerText = thisPointer._recState.finalSpeechVal; } } voiceTutElm.innerText = thisPointer._recState.finalSpeechVal; }; this._recState.recognition.onspeechstart = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.finalSpeechVal = ''; finalTranscript = ''; }; this._recState.recognition.onspeechend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); }; this._recState.recognition.onend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; var voiceTutElm = document.getElementById(thisPointer._voiceTextElmId); if (thisPointer._recState.finalSpeechVal.length >= 2) { if (!thisPointer._textableInstance) { if (thisPointer._targetInput.nodeName.toLowerCase() !== 'input') { thisPointer._targetInput.innerText = thisPointer._recState.finalSpeechVal; } else { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } thisPointer._targetInput.dispatchEvent(new Event('change')); } else { for (var i = 0; i < thisPointer._targetInputList.length; i++) { var inputElm = thisPointer._targetInputList[i]; if (inputElm.nodeName.toLowerCase() !== 'input') { var selectedFontElm = document.getElementsByClassName('note-current-fontname')[0]; var selectedFontSize = document.getElementsByClassName('note-current-fontsize')[0]; inputElm.innerText = thisPointer._recState.finalSpeechVal; if (selectedFontElm) { inputElm.style.fontFamily = selectedFontElm.style.fontFamily; } if (selectedFontSize) { inputElm.style.fontSize = `${selectedFontSize.innerText}px`; } } else { inputElm.value = thisPointer._recState.finalSpeechVal; } inputElm.dispatchEvent(new Event('change')); } } if (thisPointer._targetActionElm) { thisPointer._targetActionElm.click(); } document.body.classList.remove('v_listening'); } if (!thisPointer._recState.finalSpeechVal.length) { voiceTutElm.innerText = thisPointer._recState.noSpeech; thisPointer._listeningTimeout = setTimeout(function () { document.body.classList.remove('v_listening'); }, 1500); } }; this._recState.recognition.onerror = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); console.error('Speech recognition error:', e.error); if (e.error.includes('not-allowed')) { document.body.classList.add('v_speechNotAllowed'); } throw e.error; }; } }; SpeechToTextHelper.prototype.ShowTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); elm.style.display = 'flex'; }; SpeechToTextHelper.prototype.HideTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); if (elm) { elm.style.display = 'none'; sessionStorage.setItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`, 'true'); } } SpeechToTextHelper.prototype.AddEventListeners = function () { let selectedInstanceIndex = this._instanceIndex; var speechButton = document.getElementById(this._newVoiceId); this._targetSelectionElm.addEventListener('mouseover', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.CheckForTutorial(); }); speechButton.addEventListener('click', function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; if (thisPointer._listeningTimeout) { clearTimeout(thisPointer._listeningTimeout); } thisPointer._recState.finalSpeechVal = ''; let tutorialTxt = document.getElementById(thisPointer._voiceTextElmId); let tutorialInput = thisPointer._targetInput; thisPointer.HideTutorialToolTip(); if (thisPointer._recState.recognition != null && !document.body.classList.contains('v_listening')) { document.body.classList.add('v_listening'); if (tutorialTxt) { tutorialTxt.innerText = thisPointer._recState.listening; } if (tutorialInput) { if (tutorialInput.nodeName.toLowerCase() === 'input') { tutorialInput.setAttribute('placeholder', thisPointer._recState.listening); } else { tutorialInput.innerText = thisPointer._recState.listening; } } thisPointer._recState.recognition.start(); } else { document.body.classList.remove('v_listening'); thisPointer._recState.recognition.stop(); } }); var toolTipCloser = document.getElementById(`v_toolTipCloser_${selectedInstanceIndex}`); toolTipCloser.addEventListener('click', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }); }; SpeechToTextHelper.prototype.CheckForTutorial = function () { let selectedInstanceIndex = this._instanceIndex; let isTutorialViewed = sessionStorage.getItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`); if (isTutorialViewed == null || isTutorialViewed === 'false') { this.ShowTutorialToolTip(); setTimeout(function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }, 5000); } };
`; this._targetInput.insertAdjacentHTML('afterend', dHtm); this._targetInput.nextElementSibling.insertAdjacentElement('beforeend', this._targetInput); } this._newVoiceId = `v_searchByVoice_${this._instanceIndex}`; this._voiceTextElmId = `v_voiceTxtEl_${this._instanceIndex}`; var newVoice = document.getElementById(this._newVoiceId); if ((this._targetInput || this._targetInputList) && !newVoice) { let sHtm = ` `; if (!this._textableInstance) { this._targetInput.insertAdjacentHTML('afterend', sHtm); this._targetInput.parentElement.classList.add('v_hasVoiceSearch'); } else { if (this._targetSelectionElm.parentElement === null) { var summernoteToolBar = document.getElementById('summernote-disconnected-toolbar'); if (summernoteToolBar) { var rowTwo = summernoteToolBar.getElementsByClassName('note-row2')[0]; this._targetSelectionElm = rowTwo; } } this._targetSelectionElm.insertAdjacentHTML('beforeend', sHtm); this._targetSelectionElm.classList.add('v_hasVoiceSearch'); } } }; SpeechToTextHelper.prototype.SetupRecognition = function () { let finalTranscript = ''; let voiceTutElm = document.getElementById(this._voiceTextElmId); let selectedInstanceIndex = this._instanceIndex; this._recState.recognition = new this._speechRecognition(); this._recState.recognition.continuous = false; //this._recState.recognition.lang = 'en-US'; this._recState.recognition.interimResults = true; if ((this._targetInput || this._targetInputList) && voiceTutElm) { this._recState.recognition.onresult = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; let interimTranscript = ""; for (let i = e.resultIndex; i < e.results.length; i += 1) { const { transcript } = e.results[i][0]; if (e.results[i].isFinal) { finalTranscript += transcript; } else { interimTranscript += transcript; } } thisPointer._recState.finalSpeechVal = `${finalTranscript} ${interimTranscript}`.trim(); if (!thisPointer._textableInstance) { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } else { for (var i = 0; i < thisPointer._targetInputList.length; i++) { thisPointer._targetInputList[i].innerText = thisPointer._recState.finalSpeechVal; } } voiceTutElm.innerText = thisPointer._recState.finalSpeechVal; }; this._recState.recognition.onspeechstart = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.finalSpeechVal = ''; finalTranscript = ''; }; this._recState.recognition.onspeechend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); }; this._recState.recognition.onend = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; var voiceTutElm = document.getElementById(thisPointer._voiceTextElmId); if (thisPointer._recState.finalSpeechVal.length >= 2) { if (!thisPointer._textableInstance) { if (thisPointer._targetInput.nodeName.toLowerCase() !== 'input') { thisPointer._targetInput.innerText = thisPointer._recState.finalSpeechVal; } else { thisPointer._targetInput.value = thisPointer._recState.finalSpeechVal; } thisPointer._targetInput.dispatchEvent(new Event('change')); } else { for (var i = 0; i < thisPointer._targetInputList.length; i++) { var inputElm = thisPointer._targetInputList[i]; if (inputElm.nodeName.toLowerCase() !== 'input') { var selectedFontElm = document.getElementsByClassName('note-current-fontname')[0]; var selectedFontSize = document.getElementsByClassName('note-current-fontsize')[0]; inputElm.innerText = thisPointer._recState.finalSpeechVal; if (selectedFontElm) { inputElm.style.fontFamily = selectedFontElm.style.fontFamily; } if (selectedFontSize) { inputElm.style.fontSize = `${selectedFontSize.innerText}px`; } } else { inputElm.value = thisPointer._recState.finalSpeechVal; } inputElm.dispatchEvent(new Event('change')); } } if (thisPointer._targetActionElm) { thisPointer._targetActionElm.click(); } document.body.classList.remove('v_listening'); } if (!thisPointer._recState.finalSpeechVal.length) { voiceTutElm.innerText = thisPointer._recState.noSpeech; thisPointer._listeningTimeout = setTimeout(function () { document.body.classList.remove('v_listening'); }, 1500); } }; this._recState.recognition.onerror = function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer._recState.recognition.stop(); console.error('Speech recognition error:', e.error); if (e.error.includes('not-allowed')) { document.body.classList.add('v_speechNotAllowed'); } throw e.error; }; } }; SpeechToTextHelper.prototype.ShowTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); elm.style.display = 'flex'; }; SpeechToTextHelper.prototype.HideTutorialToolTip = function () { var elm = document.getElementById(`v_voiceInstructionsTip_${this._instanceIndex}`); if (elm) { elm.style.display = 'none'; sessionStorage.setItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`, 'true'); } } SpeechToTextHelper.prototype.AddEventListeners = function () { let selectedInstanceIndex = this._instanceIndex; var speechButton = document.getElementById(this._newVoiceId); this._targetSelectionElm.addEventListener('mouseover', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.CheckForTutorial(); }); speechButton.addEventListener('click', function (e) { let thisPointer = speechInstances[selectedInstanceIndex]; if (thisPointer._listeningTimeout) { clearTimeout(thisPointer._listeningTimeout); } thisPointer._recState.finalSpeechVal = ''; let tutorialTxt = document.getElementById(thisPointer._voiceTextElmId); let tutorialInput = thisPointer._targetInput; thisPointer.HideTutorialToolTip(); if (thisPointer._recState.recognition != null && !document.body.classList.contains('v_listening')) { document.body.classList.add('v_listening'); if (tutorialTxt) { tutorialTxt.innerText = thisPointer._recState.listening; } if (tutorialInput) { if (tutorialInput.nodeName.toLowerCase() === 'input') { tutorialInput.setAttribute('placeholder', thisPointer._recState.listening); } else { tutorialInput.innerText = thisPointer._recState.listening; } } thisPointer._recState.recognition.start(); } else { document.body.classList.remove('v_listening'); thisPointer._recState.recognition.stop(); } }); var toolTipCloser = document.getElementById(`v_toolTipCloser_${selectedInstanceIndex}`); toolTipCloser.addEventListener('click', function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }); }; SpeechToTextHelper.prototype.CheckForTutorial = function () { let selectedInstanceIndex = this._instanceIndex; let isTutorialViewed = sessionStorage.getItem(`v_isVoiceTutorialViewed_${this._instanceIndex}`); if (isTutorialViewed == null || isTutorialViewed === 'false') { this.ShowTutorialToolTip(); setTimeout(function () { let thisPointer = speechInstances[selectedInstanceIndex]; thisPointer.HideTutorialToolTip(); }, 5000); } };
  • My Storyboards
  • Create a Storyboard

    Jack and Jill Water comic strip Storyboard by 6b433178 (4)

    '; var rightArrowHTML = '

    Jack and Jill Water comic strip Storyboard by 6b433178 (5)

    '; cellRow.className = 'row'; cellPreviewImages.className = 'col-12'; cellPreviewImages.style.order = '2'; cellPreviewImages.classList.add('verticalPreviewWidth'); largePreviewContainer.className = 'col-10'; largePreviewContainer.insertAdjacentHTML('beforebegin', leftArrowHTML); largePreviewContainer.insertAdjacentHTML('afterend', rightArrowHTML); for (let i = 0; i < sourceRectangles.length; i++) { var cellCol = document.createElement('div'); var cellRect = sourceRectangles[i]; cellCol.className = 'col'; cellCol.innerHTML = svgTemplateString.replace('#use#', sourceSvgText); cellCol.addEventListener('click', function () { SelectCellIndex(i); }); var templateSvg = cellCol.firstElementChild; var cellRectData = { x: cellRect.getAttribute('x'), y: cellRect.getAttribute('y'), width: cellRect.getAttribute('width'), height: cellRect.getAttribute('height') }; var viewBoxString = `${cellRectData.x} ${cellRectData.y} ${(parseFloat(cellRectData.width) + 3)} ${(parseFloat(cellRectData.height) + 2)}`; cellRectList.push(cellRectData); templateSvg.setAttribute('viewBox', viewBoxString); templateSvg.classList.add('svgPreviewImage'); templateSvg.classList.add('svgPreviewImageVertical'); templateSvg.id = `previewSvg_cell_${i}`; if (i === 0) { templateSvg.style.height = '99%'; } cellRow.appendChild(cellCol); cellPreviewImages.appendChild(cellRow); if (i === currentCellIndex) { var largePreviewSvg = document.getElementById('largePreviewSvg'); templateSvg.classList.add('active'); largePreviewSvg.setAttribute('viewBox', viewBoxString); } } var newViewStoryboardContainer = document.getElementById('newViewStoryboardContainer'); newViewStoryboardContainer.id = 'newViewStoryboardContainerVertical'; } function ConsolidateRectangles(rectangleList) { var cellRectangles = []; for (var i = 0; i < rectangleList.length; i++) { var rectangle = rectangleList[i]; if (rectangle.id.indexOf('cell_') !== -1) { var newRect = document.createElement('rect'); newRect.id = rectangle.id.split('_')[1]; newRect.setAttribute('x', rectangle.getAttribute('x')); newRect.setAttribute('y', rectangle.getAttribute('y')); newRect.setAttribute('width', rectangle.getAttribute('width')); newRect.setAttribute('height', rectangle.getAttribute('height')); cellRectangles.push(newRect); } } for (var i = 0; i < cellRectangles.length; i++) { var cellRect = cellRectangles[i]; var titleSearch = `title_${cellRect.id}_outer`; var descriptionSearch = `descr_${cellRect.id}_outer`; for (var j = 0; j < rectangleList.length; j++) { var rectangle = rectangleList[j]; if (rectangle.id.indexOf(titleSearch) !== -1) { var cellHeight = cellRect.getAttribute('height'); var rectHeight = rectangle.getAttribute('height'); var newHeight = parseFloat(cellHeight) + parseFloat(rectHeight); cellRect.setAttribute('y', rectangle.getAttribute('y')); cellRect.setAttribute('height', (newHeight + 20).toString()); } else if (rectangle.id.indexOf(descriptionSearch) !== -1) { var cellHeight = cellRect.getAttribute('height'); var rectHeight = rectangle.getAttribute('height'); var newHeight = parseFloat(cellHeight) + parseFloat(rectHeight); cellRect.setAttribute('height', (newHeight + 20).toString()); } } } return cellRectangles; } function MoveButtons() { var newButtonContainer = document.getElementsByClassName('v_copySBTCTAWrapper')[0]; var createStoryboardButton = document.getElementById('vs-under-image-new'); var newButton = document.createElement('a'); if (createStoryboardButton) { newButton.className = createStoryboardButton.className; newButton.href = createStoryboardButton.href; newButton.innerText = createStoryboardButton.innerText; newButton.style.width = '254px'; newButton.style.marginLeft = '20px'; newButtonContainer.insertAdjacentElement('beforeend', newButton); } } function SelectCellIndex(val) { currentCellIndex = val; var previewImages = document.getElementsByClassName('svgPreviewImage'); var largePreviewSvg = document.getElementById('largePreviewSvg'); for (var i = 0; i < cellRectList.length; i++) { if (i === currentCellIndex) { var cellRectData = cellRectList[i]; var viewBoxString = `${cellRectData.x} ${cellRectData.y} ${cellRectData.width} ${cellRectData.height}`; largePreviewSvg.setAttribute('viewBox', viewBoxString); previewImages[i].classList.add('active'); } else { previewImages[i].classList.remove('active'); } } if (!verticalLayoutSelected) { ResizePreviewUI(); } } function LeftArrowClick() { if (currentCellIndex > 0) { currentCellIndex--; } else { currentCellIndex = (cellRectList.length - 1); } SelectCellIndex(currentCellIndex); } function RightArrowClick() { if (currentCellIndex + 1 === cellRectList.length) { currentCellIndex = 0; } else { currentCellIndex++; } SelectCellIndex(currentCellIndex); }

    CREATE A STORYBOARD! Copy

    Jack and Jill Water comic strip Storyboard by 6b433178 (6)

    Create your own Storyboard

    Try it for Free!

    Create your own Storyboard

    Try it for Free!

    Storyboard Text

    •  Jill, Why have you filled the whole bath tub? Even the tap in the sink is on. You should have used a bucket of water!
    • I did so because I wanted to enjoy a long -warm bath!
    • But this would waste water, . Do you know that 2.2 billion people don't have access to clean water?
    • What? I thought everyone has access to clean water. Please tell me more about this, Jack!
    • Providing clean water and sanitation to everyone is a very important objective that needs to be fulfilled immediately. Don't you think we should try and conserve water?
    • We definitely should, Jack. How can we do that?
    •  We should work on the restoration of natural water sources, Jill!
    • And maybe we could harvest rainwater!
    • Yes! The need of the hour is to reduce pollution, protect ecosystems and make and maintain international laws.
    • Let us all pledge to do our bit in achieving this goal of clean water and sanitation for all!
    • OUR GOAL SHOULD BE SUSTAINING WATER RESOURCES, SANITATION AND HYGIENE SERVICES FOR THE LONG-TERM USE OF EVERYONE.
    • WE SHOULD ENSURE GOOD WATER QUALITY, PROPER WASTEWATER TREATMENT ANDSAFE REUSE OF WATER.
    • WE SHOULD REACH TO PEOPLE WHO ARE MOST IN NEED.

    Over 30 Million Storyboards Created

    Create My First Storyboard

    Jack and Jill Water comic strip Storyboard by 6b433178 (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Sen. Emmett Berge

    Last Updated:

    Views: 6323

    Rating: 5 / 5 (60 voted)

    Reviews: 83% of readers found this page helpful

    Author information

    Name: Sen. Emmett Berge

    Birthday: 1993-06-17

    Address: 787 Elvis Divide, Port Brice, OH 24507-6802

    Phone: +9779049645255

    Job: Senior Healthcare Specialist

    Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

    Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.