Neocities.org

Love Central

valentines.neocities.org

254,700 views
215 followers
4,725 updates
0 tips
Calling upon my bravest Neocities Warriors to help grandma with her website. On https://valentines.neocities.org/more is there any way to make that to-do list draggable?! Please feel free to check out the code and berate me if it's scuffed I'm aware everything is held together with duct tape around here
1 like
valentines 19 hours 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........

1 like
valentines 17 hours ago

@larvapuppy yes! I've tried messing with that script but for some reason nothing I do seems to work 😭

1 like
larvapuppy 17 hours 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.

1 like
larvapuppy 17 hours 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

1 like
larvapuppy 17 hours ago

Oh and of course change the "mydiv" in the "dragElement(document.getElementById("mydiv"));" part of the script to "todo" LOLof

1 like

Website Stats

Last updated 13 hours ago
CreatedJan 23, 2017
Site Traffic Stats

Tags

blog graphics cute pink