Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. V

    Answered How to wrap <td> content .

    TIA ; TIA , I trying to code <td> so that content wraps , so far no-go . <!DOCTYPE html> <head> <title> file:///C:/PureBasic-myApps/vmProjects/BUTTONS/Line-By-Line/Line-By-Line-Folder/Create-INDEX/Table-Para-Verticle-Align-Top.html </title> </head> <body> <table contenteditable...
  2. V

    Problem with centering div within div ?

    Thanks , I am having Problem with centering div within div . <!DOCTYPE html> <html> <head> <title>Table Example</title> <style> table { border-collapse: collapse; width: 100%; } td { border: 1px solid black...
  3. V

    JavaScript Convert code from: DnD 1 DIV to DnD Multiple DIVs .

    Thanks for your Help: What I am trying to do is Modify this W3School's example code so that I can DragDrop Multiple Divs Rather than just DnD 1 Div . W3Schools online HTML editor My code has changed a bit from above code , now using DIVs instead Images . <!DOCTYPE html> <!-- saved from...
  4. V

    JavaScript Troubles with: clone.draggable = 'true'; & draggable="false"

    Hello In HTML : <div> <img class="item" id="elem2" draggable="false" src="flatAccidental-Grey-28x28.png" style="z-index:500; width:24px; height:24px; top:4px;" > </div> In javascript : //Update the ID and add a class clone.id = 'elem1' + elemNumber; // clone.draggable = 'true'...
  5. V

    JavaScript if (result == "false" ) ?

    Sorry I'm having a dummy day . I'm trying to filter out event.target that does not contain "elem" , and return; . But let result = CloneId.includes("elem"); always returns "true" . // Create a copy of it var clone = event.target.cloneNode(true); // 159 clone.addEventListener("dragstart"...
  6. V

    JavaScript How to get event.target.id ?

    Hello I am having trouble getting "event.target.id" . https://vmars.us/Guitar/Drag-Drop-Working-Multiple-28x28-Elements-K-CLONE-NOT-Working.html Here is the script : <script> var elemNumber = 0; var element = ""; var elem = "" ; var hold_this_id = "" ; //...
  7. V

    JavaScript I am trying to detect Which image id="" was clicked ?

    Thanks I am trying to detect Which image id="" was clicked ? Pls , how can I do that ? Run code here: https://vmars.us/ShowMe/function-fireContextMenu-2-IMAGES.html There are 2 images : <span class="a"><div class="hero" id="elem1"><img style="z-index:800; width:32px; height:32px; "...
  8. V

    How to stack <div>s ?

    Hello; How to stack <div>s ? I am not having much luck . Can't stack and can't read a file . https://vmars.us/ShowMe/mp4-Slide-Show.html Though clearly the file is there: https://vmars.us/ShowMe/Big_Buck_Bunny-Video-1MB.mp4 Pls , What am I doing wrong re-coding ? Pls, so how do I stack divs...
  9. V

    Using an image multiple times in the same Document ?

    Hello: In Html , What happens when we use an image multiple times in the same Document ? Is the Browser smart enough to 'Not reload the image' ? Or is there a special way to Enforce ReUse ? Thanks
  10. V

    JavaScript how to modify cloned element style ?

    Hello & TIA ; Create a Draggable Clone from id="elem1" , where id="elem1" is draggable="false"; . The coding problem is here : clone.classList.add('draggable="true"') What is the proper coding ? Thanks <script> function cloneElem1(){ // Get the element var elem =...
  11. V

    JavaScript How to STOP Drag-n-Drop Finicky behavior ?

    Hello & Thanks : Working-Example here : https://vmars.us/Guitar/Guitar-Scales-and-Boxes-Builder-1-Note-4-Frets-FORUM.html The working-example is VERY finicky , in that when Dragging an item , the Cursor keeps loosing the item , as you can view at link above , Forcing me to keep going...
  12. V

    JavaScript Need Help with Drag-n-Drop...

    Hello & TIA , Need help , Having problem with Drag n Drop ? My code seems quite simple , but I have been hung up for days : The first DnD doesnt Drop : 'div id="itemContainer" ' , getting Errors: Guitar-Scales-and-Boxes-Builder-4-Note-4-Frets-CLONE-MINIMAL.html:131 Uncaught TypeError...
Back
Top Bottom