ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

Solved javascript for forum

(1/2) > >>

mouser:
i've got one or two small ideas for an improvement to the javascript tools that are used here in our forum (and every smf forum), for the little tool buttons available when you create/edit posts.

i'll describe one briefly and i can provide much more info later if desired.


--- ---basically there is a snippet of javascript executes when you click the bullet list button when editing a post.
right now it just adds a sample [li][/li] around your entire selected text.
i want it to add an [li][/li] around every line.
i can paste the existing code if someone wants to try it.
or if you write a function to add a string to begining and end of every CR separated line in a string, i'll take it from there and integrate it into existing javascript code.  shouldnt be more than a few lines of javascript i think.

there are other things that might be nice also, like a popup dialog when clicking the url link tool button and maybe some other stuff?

DougalS:
I think this one is done, and old, should it be marked complete?

mouser:
yes, you are right. done and complete.

DougalS:
So I guess that is why it is under the "Finished Programs folder!  :-[ I'm an idiot

mouser:
no i just moved it because of your report -- it used to be in requests section -- you weren't imagining things :)

Navigation

[0] Message Index

[#] Next page

Go to full version