Neocities.org

Love Central

valentines.neocities.org

265,739 views
215 followers
4,760 updates
0 tips
IT WORKED THANK YOUUUU 😭😭😭 <33333
2 likes
larvapuppy 2 months ago

yayyy yw! :D

1 like
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 2 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........

1 like
valentines 2 months ago

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

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

1 like
larvapuppy 2 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

1 like
larvapuppy 2 months 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 2 weeks ago
CreatedJan 23, 2017
Site Traffic Stats

Tags

blog graphics cute pink