Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Pages: 1 [2]

Author Topic: [ADDON] Quicktags for sNews  (Read 7090 times)

Rod

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 78
    • http://www.rjs-custom.com
[ADDON] Quicktags for sNews
« Reply #15 on: May 07, 2006, 08:27:26 am »

Quote from: albert
Hi All

if you like playing with coding here is what I added to my js

Quote
edButtons.push(
   new edButton(
      'ed_include'
      ,'INCLUDE'
      ,'[include]'
      ,'[/include]'
      ,'q'
   )
);
works great plus I added a few more just for my site and bing go :)

Albert
I also added a bit of code to this to open and close the <? ?&rt;

edButtons.push(
   new edButton(
      'ed_code_start'
      ,'<\?'
      ,'<?'
      ,'?>'
   )
);

may save some headache for some.  Also I am working on modding the .js script as well as creating a custom css file to have the buttons display the way that you want, something like this

http://www.rjs-custom.com/img/js_quicktags_buttons.jpg

Will post link to download when finished
Logged
Whatever went wrong, I am pretty sure I didn't do it!  Well atleast I think I didn't do it...
Pages: 1 [2]