JavaScript and php changes needed

by scarab @, Saturday, February 16, 2013, 16:56 (4297 days ago) @ ZackDark

There are JavaScript files associated with the page. If I was on my desktop then I could list them. Most browsers have built in developer tools that let you read them.

I imagine that these files are somewhere on the server and could be edited to do almost anything.

My preference would be to drop *NM* or replace it with a bitmap that replaces the preview button when the msg has no contents. So you would either see nothing (no preview speech bubble) or see a *NM* bitmap where the speech bubble would be.

I'd have this be automatic. If a message has no non-blank non-comment text when the post button is pressed then the JavaScript sends an empty msg to the server. When the server delivers the page, the php script will check to see if there is any text in the msg - if it has then it adds a preview button for that msg - if it's empty then it adds nothing or a do nothing *NM* bitmap label.

So you need JavaScript changes on the client side and php changes on the server side.


Complete thread:

 RSS Feed of thread