Menu

A sugestion...

2007-07-25
2013-04-22
  • Ivo Baehr - IbTech

    Hello again!!

    In the JST table you set some "help messages" in the window.status property...

    But nowadays for me is very common use iframes to "build some experts interface" ... Because of
    this I would like to sugest you to set the "title" html property too when you are "setting de window.status property"...
    With this, when I'm working with iframes, the help will be displayed too...

    Something like this:
    buffer.append(" title='"+this.sortMessage+"' ");

    What do you think about this idea?? It's possible??

    Thank's friend!!!

     
    • Luis Fernando Planella Gonzalez

      That is a VERY specific usage of JavaScripTable... I don't think that updating the window title is something that's generally usable...
      You could, of course, do that yourself, just searching / replacing window.status by window.title.

       
    • Ivo Baehr - IbTech

      Hello Luis!!!

      First, thank's a lot for another implementations!!! Only one question: Where can I get the last version?? In the same link that you send in another message??

      Well, about this, I wasn't clear then, you don't understand-me

      I'm not talk about window.title, but about "title html tag's property"...

      See  examples below:
      <table><tr><td title='click here to change the sort'>test</td></tr></table>
      <span title='click here'>teste</span>

      another example, see in 3rd line!!

              function buildLink(text, onclick, statusMsg) {
                  return "<span style=\&quot;" + cursorPointer + "\&quot; class=\&quot;" + linkClass + "\&quot; onclick=\&quot;" + onclick + "\&quot; "+
                   "title='"  +statusMsg + "' " +  /// Here, set the title of html tag.
                              "onMouseOver=\&quot;this.className='" + highlightedLinkClass + "';window.status='" + statusMsg + "';return true;\&quot; " +
                              "onMouseOut=\&quot;this.className='" + linkClass + "';window.status='';return true;\&quot;>" + text + "</span>";

       
    • Luis Fernando Planella Gonzalez

      Hello.
      Ops, I've misunderstand you about the title... Really, setting the span title instaed of the status bar really makes sense... Even because the latest version of firefox doesn't allow by default writing to the status bar... Remember that JavaScripTable exists since 2003!!!
      I'll probably implement it on the final 2.1.6.
      About the CVS access, you may use the menu Code / CVS Browse under the Source Forge project menu.
      The direct link is http://javascriptools.cvs.sourceforge.net/javascriptools/javascriptools2/js/
      As usual, the uncompressed javascripts are in the original subdirectory.
      Download the 4 scripts...
      Thanks for your collaboration to the project!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.