Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

AjaxQuote

124

Comments

  • Still no good, unsure of what I've done wrong ;s
  •  Quote: [-Stash-]  Wanderer's "quote system" isn't semantically correct:
    Hey [-Stash-], it woiks don't it?
    I have a quick-key set up to do it, I copy what I want in the quote, the script wraps the code around it and pastes the whole thing into the comment box for me.

     Quote: blizeH  As much as I find him irritating, I really do like Wanderer's quote system (much more than his ridiculous timestamp at least!)
    Why ridiculous? If you see I'm posting late at night and all of a sudden I stop, it's probably 'cos I went to bed.
    By the way, I love you too. pic

    Posted: Thursday, 1 February 2007 at 8:57AM (AEDT)

  • [-Stash-]:
    Wanderer's "quote system" isn't semantically correct
    Wanderer:
    Hey [-Stash-], it woiks don't it?
    Then again, Stash wasn't commenting on whether or not it looked good. I think Stash prefers a semantically correct quoting markup, and that's why he spent some time on constructing a semantically correct markup with styles to go with it.
  • I wasn't commenting on whether or not it looked good either, just that it worked, in all browsers.
    I tried a CSS version of it, looked different in IE and stuffed up in Opera where my "semantically in-correct" version is universally interpreted, as far as I've tested it at least.

    And what's incorrect about it? Except it's not inside a form tag? (Which is easily fixed if not redundant.)

    Horses for courses folks.

    Posted: Thursday, 1 February 2007 at 9:56AM (AEDT)

  • Semantic correctness is apparently something that Stash values, that's all I'm saying. Your solution is semantically incorrect exactly for the reasons you pointed out yourself, a fieldset is for grouping related elements inside a form.
  •  Quote: Correct?  How's this then?

    correct           still a dud

    pic I'm in a silly mood today.

    Posted: Thursday, 1 February 2007 at 10:31AM (AEDT)

  • Wanderer, you can use whatever you like, I'm not saying you're wrong to use what you use, I just personally prefer semantically correct markup. I've been known to fudge stuff once in a while myself, but I usually try and fix it up later (usually cursing that I didn't spend a few minutes more the first time round).

    Look at it this way perhaps: semantic markup for code is like accurate grammar for writing/speaking ;)
  • Stash (or is it STASH), you poor conscientious & consistent man! Dare to break conventions... Kidding...
  •  Quote: [-Stash-]   just personally prefer semantically correct markup...semantic markup for code is like accurate grammar for writing/speaking.
    OK, you got my attention, why is it wrong semantically?
    I too am a stickler for correct usage (in case you hadn't noticed :-)
    If I put it inside form tags does that make it right?
    Are there any situations where it would not work or break something?
    Or is it that it's intention is to group form elements and I'm not using it for that?

    Posted: Friday, 2 February 2007 at 9:29AM (AEDT)

  • It might have something to do with the fact you're using fieldsets instead of blockquote, but I'm probably wrong.
  • StashStash
    edited February 2007
    Tom, if you want to be 100% correct it's [-Stash-], but pretty much any variant works. Of course, if you use all caps I'll think you're shouting at me ;)

    Wanderer, blizeH's right. You are quoting someone, and that's what the <blockquote></blockquote> and <q></q> tags are here for. They infer meaning to what they are wrapped around, and in this case, they're telling us that the content within them is a quote. A form on the other hand is usually something you can pick options from or input data into, not just a pretty way of displaying a quote ;)

    For people who can see, it's not a problem, but I have no idea what a screen reader would make of your quote. For all I know it might say, "NEW FORM, this is the quote from someone. END OF FORM". Which, while not the end of the world, might at least temporarily confuse someone ;) Whereas with my example, it would say something like "QUOTE, this is the quote from someone. QUOTE" which would make perfect sense.
  • Quote: blizeH
    picIt might have something to do with the fact you're using fieldsets instead of blockquote, but I'm probably wrong.pic
    No I think you are right, I hope this addresses all issues and makes things more correct. I didn't even think of screen readers and accessibility for impaired readers. We live and learn.

    Posted: Saturday, 3 February 2007 at 1:12PM (AEDT)



  • Quote:nolawiI tried to install this but to no avail.. it doesnt work with tinymice I guess...


    it mentions on first page how to get tinymce and ajaxquote to work
  • hah, this add-ons is so great, thanks
  • It doesn't work in IE with the latest version of TinyMCE.
  • edited April 2007
    Are you using that: http://lussumo.com/community/?CommentID=46711
  • edited April 2007
    @ Dinoboff: Yes, I'm using that patch. And I'm sorry, I haven't checked various verions of IE. Obviously the problem occurs in IE7. In IE6 AjaxQuote seems to work.
  • This is the result of using AjaxQuote (along with TinyMCE) in IE7:

    Free Image Hosting at www.ImageShack.us
  • edited April 2007
    try this line 48 of ajaxquote.js tinyMCE.setContent(tinyMCEquote); instead of tinyMCE.execCommand("mceInsertContent",false,tinyMCEquote);
  • Seems to work... THANK YOU! :)
This discussion has been closed.