valentines
7 months ago
If not then I'd just be satisfied with having it move with the other elements of the page, since right now it's stuck in place. Good enough technically but it's nagging at me........
larvapuppy
7 months ago
https://www.w3schools.com/howto/howto_js_draggable.asp Is this what you mean?
valentines
7 months ago
@larvapuppy yes! I've tried messing with that script but for some reason nothing I do seems to work ðŸ˜
larvapuppy
7 months ago
Right now I don't see a script or anything in your code, but the key is to make sure that you have a parent div and a child div, with the child div's id name being the same as the parent's but with "header" after it. Right now your todo list only has a class of "todo" with no child "todoheader" inside, that could be why? Idk what you have done or tried though so I might be wrong.
larvapuppy
7 months ago
So basically change your .todo class to a #todo id, make a child #todoheader id div with your content inside, and set the #todo id header to position:absolute in your css
larvapuppy
7 months ago
Oh and of course change the "mydiv" in the "dragElement(document.getElementById("mydiv"));" part of the script to "todo" LOLof
valentines
9 months ago
Will be revamping this + my grafix page to make them look more in line with the rest of the site... eventually...
valentines
9 months ago
there's a particularly grotesque image of a microwave burrito that I'm not putting on here for everyone's sake and also because it was so bad that I felt like I became less human after eating half of it
yayyy yw! :D