Improve the quality of the captured image through HTML

We can follow the below steps to Higher Video Resolution: Improved the resolution of the video feed by specified the width and height properties. Canvas Size: Made the canvas element (<canvas>) has the same dimensions as the video feed to avoid any scaling issues. You can set the canvas size dynamically based on the video… Continue reading Improve the quality of the captured image through HTML

How to remove the blue highlight of button on mobile?

When trying to create buttons, links or input fields using latest development technologies like next js, react and angular etc there might be some times a default background color may appear. This can cause bugs for the developed website since they create a different background color different from the mockup. As solution we can use… Continue reading How to remove the blue highlight of button on mobile?

Change the display block : none to block and vice versa.

While designing a web page especially the header it is important to know to change the content to none to block and vice versa by using Java Script. It will be very helpful when we develop a responsive NavBar. The java script code used for this is as follows:- function toggleFunction() {       … Continue reading Change the display block : none to block and vice versa.

Calling suitelet from HTML by AJAX method (Backend function)

function fetchDetails(){ let internalIdArrayCheck=CUSTOM_IF_DETAILED_ARRAY.split(‘_’); if(internalIdArrayCheck.length==1) { console.log(‘CUSTOM_IF_DETAILED_ARRAY’,CUSTOM_IF_DETAILED_ARRAY) $.get(‘/app/site/hosting/scriptlet.nl?script=1525&deploy=1&resultData=’ +dataStringify) } setTimeout(“window.close()”, 50); } In this case, the front-end functionality will be running and closing the window, but the suite let we have called will be triggered in the backend and do the functionality. This helps the front end side much faster.