reshape circle in canvas
Hi I'm facing a problem with canvas. I try to make a circle that can be reshape like this. In the demo the circle can be reshape the problem is to drag and drop the circle point to reshape it.I know...
View ArticleBackground filling
Why when you hover over the button you can see the background color between the border and the fill?<script async...
View ArticleBuggy Scrollbar Behavior
I'm trying to implement a scroll-able content layout and I managed to do it, however the scrollbar is displaying strange behavior - sometimes it cannot get clicked, sometimes the arrows do not move it,...
View ArticleJavascript is not loading after another one is loaded
I got a problem with javascript. The situation is after clicking a tag to append div by javascript like the code belowThis is HTML<a class="xemhinh"...
View ArticleAdd Javascript to down ARROW BUTTON to open and close sub menu
I've been trying for hours with this javascript navigation, I've researched many sites, including w3schools, codepen, and css tricks, and many others, I've spent hours reading through stack, and...
View ArticleHow to trigger a phone call when clicking a link in a web page on mobile phone
I need to build a web page for mobile devices. There's only one thing I still haven't figured out: how can I trigger a phone call through the click of text?Is there a special URL I could enter like the...
View ArticleDownload binary data with javascript
I have binary data from html and I want to download it by using JavaScript.My html:<a onclick="l_ClickLink('@binaryDataFile@');">Download File</a> @binaryDataFile@ =...
View ArticleIs it possible to trigger share menu on smartphones (via HTML/JS)?
Is there an existing possibility to trigger the share functionality in local browsers on smartphones via HTML or JavaScript?Of course there are many services which provide a share button. But when I...
View ArticleHow to reveal progressing border on window scroll
In this code title border is "spreading" on hover and I want to create the same effect on a scroll. How can I do this?.title { position: relative; font-size: 40px; font-weight: bolder; font-family:...
View ArticleAdding Keypress for up/down arrow to select results and also allow to press...
Thanks in advance for any help or suggestions as I am still new to javascripts. I am trying to modify the below script to also allow up/down keypress and enter key to select result.<script>...
View ArticleFind Whether the clipboard has text or image?
I am using Html5 and Jquery. I have paste image/text from clipboard into html canvas.Is it possible to detect whether clipboard has text or image?$(document).on('paste','[contenteditable]',function(e)...
View ArticleAngular - Prevent click event on disabled buttons
I'm trying to prevent click event on disabled buttons, in other words, prevent some user who removes the disabled attribute to call some action.For now, I have the following code to do this:<button...
View ArticleGetting element content with JSOUP node's attributes
I'm having troubles with JSoup.I have this html code: <div title = "test" data-x="test1">I am the content</div> I'm using Jsoup to parse the html file. When I'm traversing it like this:...
View ArticleResponsive images of srcset attribute are not working as expected
I'm fixing some code in a review web application project. one of the submission criteria is to make all of the site images responsive using srcset attribute. But the site is only loading the larger...
View ArticleHTML Bootstrap Carousel (carousel-control)
About the issue that currently facing is that for Bootstrap Carousel (from w3school) , there is a problem for carousel-control.Problem that i am facing is that when i have enter hyperlink for the image...
View ArticleJQuery retrieve ICS file as text
Fairly new to JQuery and JS so forgive my incompetenceI'm trying to get the text of an ICS file (eg BEGIN:CALENDAR....) via JavaScript.I have a basic HTML file:<html> <body> <button...
View ArticleHow to make a transparent bubble chat with triangle?
I need to do a bubble chat all transparent, except by the borders somtehing like this:I have found an excellent design to start with:https://codepen.io/cool_lazyboy/pen/BWxggNThe problem is that the...
View ArticleWhat is the different way to do heading underline stylish?
I want to do the same things as below but in a different way using CSS..container { width: 100%; padding: 50px; display: block; } h2 { font-size: 35px; line-height: 1.2; margin: 0; width: 500px; }...
View ArticleConnect Four with JavaScript receiving "Uncaught TypeError: Cannot read...
I'm currently working on a Connect Four game. I have very little experience and I can't figure out why I am receiving this error message and how to fix it. I tried searching it up but I couldn't really...
View ArticleJS possible if statement issue [duplicate]
I've been trying to debug this JS code for quite a while now and was wondering if anyone could help. personally think it is a problem in my if statement but I am not 100% sure. It might also be a...
View Article