How would I go about sticking comments to the top of pages? Is there a javascript code that could do this for me?

Comments

vm’s picture

comments would have to be nodes to be treated like nodes.

which version of Drupal?

Supermans_Socks’s picture

I was thinking of something outside of Drupal. Like my own blog or something.

vm’s picture

you want comments in a drupal site to be sent to another site? If that be the case use views to create a feed for comments and on this "other" site have it accept the feed.

If I still misunderstand please be more verbose with your question. "Sticky" has a meaning in drupal.

Supermans_Socks’s picture

I mean that on a website/blog of mine if I wanted a comment/notice to remain at the top of the page how would I do this?

example: This comment would be stickied (Posted 3 months ago)

Newer comment which would normally be above ^that one (Posted yesterday)

vm’s picture

and again, the only way to have comments stickied as you can with nodes, is to turn comments into nodes. ie:nodecomment.module. Else see the views.module and work out a method by which you can recreate a sticky type effect.

Supermans_Socks’s picture

I'll try to work with this. Thanks

vm’s picture

some digging turned up an idea to do this with the flag.module which does work on comments.
can create a flag called comment sticky. Which may mean you still have to find a way to sort a list with views.module