Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I use very long pages of text on my site. When I want to put a sticky note down further on the page, I have to first create the note, and then drag it from the top of the page wayyyyy down to where I want to put it, making this not very usable on long pages.
Is there some way we can click on a spot on the page where we want the sticky to be placed?
Comments
Comment #1
colorado CreditAttribution: colorado commentedAs a (hopefully temporary!) work-around, I discovered that rather than try to drag a note down the page (very, very slow), it works much better and faster to click and hold the sticky note in one place (by holding the left mouse button down over the note), while using the Arrow Down or Page Down key to scroll down the page. Then release the key and release the left mouse button from the note.
This at least moves the note more quickly down the page.
However, this trick doesn't seem to work in IE.
Comment #2
mnapier CreditAttribution: mnapier commentedHere's a solution I came up with to remedy this. I figured as long as the sticky note started out in a viewable location that was better than way back up top. I added the follow javascript to my custom .js file for my theme and then copied the sticky-notes-note.tpl.php to my theme and add the following code to the bottom of the template. Basically this looks to see if the position is the default position that the Sticky Notes module sets and if it is it repositions the sticky note to the center of your screen. It may need some work if you don't have a Container Selector set in the Sticky Notes settings or your theme, but I do so I didn't code around that. You also want to make sure that whatever your Container Selector is set to is position: relative; in your css. Not sure why the module doesn't do this for you but I think it should, maybe I'm missing something. Hope this helps! seems to work for me.
add to your .js file:
Add to the bottom of sticky-notes-note.tpl.php in your theme directory:
Comment #3
colorado CreditAttribution: colorado commentedmnapier!
This works - thank you thank you.