Questions tagged [javascript]
a scripting language that allows web pages to present dynamic content to users, such as validation of web forms or automatic saving of data to reduce frustration or to allow visual effects otherwise impossible with HTML.
                115 questions
            
            
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                88
            
            views
        
        
            
        Should "Replace all" count matches or actual changes in a text editor?
                    Overview
I've created a basic text editor with a "Replace all" feature. However, I'm facing an issue where the output indicates replacements were made even when the text remains unchanged. ...
                
            
       
        
            
                1
            
            vote
        
        
            
                2
            
            answers
        
        
            
                147
            
            views
        
        
            
            
        Accessible way to disable listbox
                    I’m developing a package to create sortable lists for web interfaces using Svelte. I’ve already introduced a feature to disable list items individually, allowing the user to focus the disabled items ...
                
            
       
        
            
                1
            
            vote
        
        
            
                2
            
            answers
        
        
            
                230
            
            views
        
        
            
            
            
        UX pattern for category implementation [closed]
                    I have to create a UI interface to create a category hierarchy up to 7 levels, such as:
Shoes > Boots > Brand names > etc.
I also need to add functionality to edit the created category ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                474
            
            views
        
        
            
        Draggable widget - how to indicate draggability
                    I have a popup Javascript widget with an icon that is embedded into the right-hand corner of my site (by default.) The user can drag and drop the widget icon to another corner of the site if they wish,...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                180
            
            views
        
        
            
            
        How can I prompt my site's users to scroll a table of data using (for instance) two-finger drag on their touchpad, rather than clicking the scrollbar?
                    I initially started off asking this question, on StackOverflow:
I want to know if a user's touchpad has multi-touch capability.
I think it's fairly trivial to detect WHEN multi touch is happening
(or ...
                
            
       
        
            
                2
            
            votes
        
        
            
                3
            
            answers
        
        
            
                128
            
            views
        
        
            
            
            
        Styling a hint for relative numerical value
                    Background:
I have a list of elements in a browser which each are a numerical distance away from the same origin point. I want to give a visual hint to quickly give a feeling for how far a list-item ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                1k
            
            views
        
        
            
            
        Client side sorting
                    I'm currently tasked with implementing client side sorting on specific page view for our application.
Below is an example of how the UI for client side sorting works, basically a user can click on a ...
                
            
       
        
            
                0
            
            votes
        
        
            
                2
            
            answers
        
        
            
                623
            
            views
        
        
            
            
        How to handle blocking UI elements while waiting for server response
                    Lately I've been using React + Formik to create great user experiences.
I've a question about blocking the UI when the XHR is still processing.
Imagine a register form with only a sign up button. As ...
                
            
       
        
            
                0
            
            votes
        
        
            
                2
            
            answers
        
        
            
                204
            
            views
        
        
            
            
        Web design practices to minimize browser refresh [closed]
                    The design of our website is such that whenever we make some changes in CSS & JavaScript files we require the user to clear the browser cache and get the latest version of these files from the ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                273
            
            views
        
        
            
            
        How to prevent downloading low-res images? [duplicate]
                    Context: I run a photography business that encourages people sharing photos without restrictions. My websites contains galleries of thumbnail images where each image links to the original, high-res ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                72
            
            views
        
        
            
        What is the keyword for this effect: an animated person walks out from the bottom right corner of a website?
                    What is the keyword for this effect: an animated person walks out from the bottom right corner of a website? Better yet, any link to any provider that still exists today?
Anybody know this may feel ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                357
            
            views
        
        
            
            
        Best way to lay out sub elements in a table
                    I have a table that lists network switches. The headers are Model, Stack Size, and Modules. If the stack size is greater than 1, I want to be able to add the additional stack members under the lead ...
                
            
       
        
            
                1
            
            vote
        
        
            
                2
            
            answers
        
        
            
                89
            
            views
        
        
            
            
            
        How 'cloud of choices' is called correctly?
                    I'm working on a react-native app and I want to implement a similar interface, but I can't even find its name. 
Main task for this element would be to give users a "cloud of choices" where they could ...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                136
            
            views
        
        
            
            
            
        Dealing With The Lack of "HOVER" on Smart Phone Web Apps
                    I made this CardTrick back in 2006, at a time when it would have been predominantly accessed via a desktop computer (and not a smart phone).
On a desktop computer, as the mouse hovers over any card, ...
                
            
       
        
            
                6
            
            votes
        
        
            
                3
            
            answers
        
        
            
                4k
            
            views
        
        
            
            
            
        Where should keyboard focus go when a ‘load more’ content button is clicked
                    Where should keyboard focus go when a ‘load more’ button is clicked? On websites showing this functionality; either focus is moved to the top of the page when the button is clicked, or focus moves ...
                
            
       
         
         
         
         
        