A couple of JS functions - Will pay if you want!!

Discussion in 'JavaScript' started by liam1412, Oct 2, 2008.

  1. #1
    I need some JS functionality and have posted in BST to no avail.

    If you go to post a reply here. I need the exact functionality of the font zize and font color options..

    So if someone selects size 10 from the dropdown it will need to wrap around the highlighted text in text field.

    The only difference is I don't need the swatch table. I just need a list of the basic colors sin HTML.

    Help will be much appreciated.
     
    liam1412, Oct 2, 2008 IP
  2. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #2
    install FCKeditor (http://www.fckeditor.net/demo). you can then customise the options that you offer and trim it to whatever formatting works best. it's a good scalable solution which can grow and accommodate your needs as they also change... else you'd be paying again for somebody to add link support, image support, italics and so forth.
     
    dimitar christoff, Oct 3, 2008 IP
  3. liam1412

    liam1412 Active Member

    Messages:
    387
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I already have all the other functionality and its not a wysiwyg editor I want anyway. Cheers for the advice though.
     
    liam1412, Oct 3, 2008 IP
  4. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #4
    I have a little example, that is very easy to edit, with no licensing restrictions.

    Works cross browser back to IE5.5, Opera 9, Fx 2.0 and Safari/Chrome.

    Should be easy enough to implement, or change if you want. It doesn't wrap if text isn't highlighted (unless an autoclose flag is set to yes), and it is still in very early development, but it works.

    http://dredgy.com/examples/editor/

    You probably want some new images though, since ht ecurrent ones use PNG transparency, which is a no-no for IE5.5 and 6. The default icons are:

    http://dredgy.com/examples/editor/icons
     
    blueparukia, Oct 15, 2008 IP