Accordion and wysiwyg

Discussion in 'JavaScript' started by adamjblakey, Oct 11, 2011.

  1. #1
    I have been using the following jquery accordion script: http://www.i-marco.nl/weblog/jquery-accordion-menu/ and want to show a wysiwyg editor on one of the menus that drop down. I normally use nicedit but this does not work, so i tried about 10 others which all dont show the wysiwyg editor so it must have something to do with the accordion script however i have now got a clue what. Does anyone have any suggestions to why this would not work.
     
    adamjblakey, Oct 11, 2011 IP
  2. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #2
    your wysiwyg might have a conflict with jQuery, you can use TinyMCE it has a jQuery version so it will not have javascript conflict
     
    JohnnySchultz, Oct 13, 2011 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    If you were to post an example page of it not working, we'd be a lot more likely to be able to tell you WHY?

    Though for me, the moment you say jquery I go "well there's your problem" as that bloated pile of rubbish does little but take a massive dump on any site it's applied to...

    See the 1.2k accordion script you linked to that relies on a 46k (after minification) script to do what a non-minified 7k script filled to the brim with comments (4.2k comment stripped) can do -- in a much more robust fashion. (like having radio-button style awareness)

    But again, if we could see the page in question we could tell you a lot more about what's conflicting... otherwise we're just guessing blind.
     
    deathshadow, Oct 17, 2011 IP