Hi,<br>I went through Ramon's screencast to rectify the mistake I had committed yesterday while uploading. Now I have uploaded version 11.<br><br>In the tooltip package, you need to click on the paragraph or anchor for the tooltip to be displayed. I am now tweaking around to have tooltip on any element, when the mouse is hovered on it.
<br><br>I figured out you have 2 ways of doing it. <br><br>a) Using CSS :<br><br><a href="http://www.communitymx.com/content/article.cfm?page=1&cid=4E2C0">http://www.communitymx.com/content/article.cfm?page=1&cid=4E2C0
</a><br><br>But, I couldn't achieve this as this is done in pure html and I am not aware of equivalent smalltalk/seaside code for this. What is the equivalent of the following html<br><br><p><br>
Some filler text...<br>
<a href="#">Link text<span style="color: rgb(221, 0, 0);"><span>Tooltip text!</span></span></a><br>
...Some more filler text...<br>
</p><br><br><br>b) Using Javascripts.<br><br>one of the best google result is <a href="http://www.nickstakenburg.com/projects/prototip/">http://www.nickstakenburg.com/projects/prototip/</a><br><br>I tried to explore it. Since, my javascript background isn't that strong, I couldn't figure out on what would be equivalent seaside code.
<br><br><br>Well, as a matter of fact, there is already tooltip used in one place. In inPlaceEditor, we have "clickAndEdit". I am presently going through controlsJs, but not much progress either.<br><br><br><span style="font-weight: bold;">
Nowadays, almost all frameworks have a default tooltip attribute, cant we have one in Seaside.</span> I can help out in this. Either using CSS or Javascript. Though Seaside website (<a href="http://www.seaside.st">www.seaside.st
</a>) has tooltips on almost all anchors which display the anchor name itself which I think is mere redundancy.<br><br><br>Regards,<br>Rajeev<br><br><br><br><br><br><div><span class="gmail_quote">On 8/27/07, <b class="gmail_sendername">
Philippe Marschall</b> <<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2007/8/26, Rajeev Lochan <<a href="mailto:lochan94@gmail.com">lochan94@gmail.com</a>>:<br>> Thanks Philippe,<br>><br>> I tweaked around and changed the mentioned methods. Now I have a working<br>> model. I have attached
Reflection-raj.0.mcz with this mail. I tried to<br>> upload on Seachart, but couldn't as probably, I dont have permission to do<br>> so.<br><br>That's strange. The repository has public write access. Anyway I added
<br>you as a developer. Contact me if you have any further problems.<br><br>> Anyways, you please upload it.<br><br>Done. I made some small changes.<br><br>> Why is it that IE behaves so different from Firefox. I am almost done with
<br>> my new web app using Seaside. Now, CSS looks good with Firefox, but when I<br>> open in IE, everything is in a poor state. Can you suggest any reference<br>> material from where I can pick up hints on what changes I have to make in
<br>> CSS for IE. I am thinking of using userAgent method to find out which<br>> browser it is and render the CSS accordingly.<br><br>Welcome to the real world. IE is the scourge of web development. It is<br>the browser with the worst standards support. With IE 7 things are a
<br>bit less bad than in IE 6 but still worse than anywhere else. If you<br>consider doing specif stuff for IE consider conditional comments. They<br>work really reliably.<br><br>Cheers<br>Philippe<br><br>> Thanks again.
<br>><br>><br>> On 8/26/07, Philippe Marschall < <a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>> wrote:<br>> > 2007/8/26, Rajeev Lochan < <a href="mailto:lochan94@gmail.com">
lochan94@gmail.com</a>>:<br>> > > Thanks Philippe,<br>> > > I downloaded and checked it out. It works fine now. If my observations<br>> go<br>> > > right, you have made the following changes.
<br>> > ><br>> > > TTLibrary >> selectorsToInclude<br>> > > ^#(tooltipJs)<br>> > ><br>> > > Has been added.<br>> ><br>> > Makes that tooltipJs is automatically added to the html head.
<br>> ><br>> > > TTLibrary >> aTooltip has been renamed TTLibrary >> tooltipJs<br>> ><br>> > Method name convention for file libraries is filenameExtension<br>> ><br>> > > TTLibrary class >> initialize
<br>> > > self register<br>> ><br>> > This registers the file library under /seaside/files<br>> ><br>> > > Has been added.<br>> > ><br>> > ><br>> > > If we want to port any other javascript, should we follow the above
<br>> steps.<br>> ><br>> > Yes, the process is more or less the same.<br>> ><br>> > > I was wondering if Reflection-mb.8.mcz is also not portable to 2.8 . If<br>> I<br>> > > follow the above steps to reflection, is it possible to make it work
<br>> with<br>> > > 2.8<br>> ><br>> > Sure, you'd have to change RFReflectionLibrary in the same way. Also<br>> > RFReflectionDemo looks unneccesarily complex. Eg. RFDemoFileLibrary /<br>
> > #attentionPng should be enough to create a link to the attention.png<br>> > image. You can also remove rendererClass and SeasidePlatformsupport >><br>> > #seasideBanner is gone.<br>> > Note that the reflection stuff probably will never work on IE.
<br>> ><br>> > Cheers<br>> > Philippe<br>> ><br>> > > Thanks again for timely help.<br>> > ><br>> > ><br>> > ><br>> > ><br>> > ><br>> > >
<br>> > > Apart from changing superclass of TTLibrary from WAScriptLibrary to<br>> > > WAFileLibrary.<br>> > ><br>> > ><br>> > > On 8/26/07, Philippe Marschall <<a href="mailto:philippe.marschall@gmail.com">
philippe.marschall@gmail.com</a>> wrote:<br>> > > > 2007/8/24, Rajeev Lochan <<a href="mailto:lochan94@gmail.com">lochan94@gmail.com</a> >:<br>> > > > > Dear Seasiders,<br>> > > > > I am in need of Tooltip functionality. I went through the mailing
<br>> list<br>> > > > ><br>> > > > ><br>> > ><br>> <a href="http://lists.squeakfoundation.org/pipermail/seaside/2006-June/007867.html">http://lists.squeakfoundation.org/pipermail/seaside/2006-June/007867.html
</a><br>> > > > ><br>> > > > > and loaded tooltip demo made by Philippe Marschall.<br>> > > > > <a href="http://squeaksource.com/seachart/Tooltip-pmm.1.mcz">http://squeaksource.com/seachart/Tooltip-pmm.1.mcz
</a><br>> > > > ><br>> > > > > This works well in Seaside 2.7. When I loaded the same demo in<br>> Seaside<br>> > > 2.8<br>> > > > > (Damien's image), I changed the superclass of TTScriptLibrary from
<br>> > > > > WAScriptLibrary to WAFileLibrary as mentioned in Migration rules.<br>> Now it<br>> > > is<br>> > > > > not working in Seaside 2.8. Am I missing on anything.<br>> > > >
<br>> > > > Yes, migration from script to file library also means adopting the<br>> > > > method name conventions. Can you give Tooltip-pmm.2 a shot?<br>> > > ><br>> > > > Cheers
<br>> > > > Philippe<br>> > > ><br>> > > > > In general, is there any blog or tutorial of integrating javascript<br>> with<br>> > > > > Seaside.<br>> > > > >
<br>> > > > > Thanks in advance & anticipating help,<br>> > > > ><br>> > > > > --<br>> > > > > Rajeev Lochan<br>> > > > ><br>> > > > > Co-founder,
AR-CAD.com<br>> > > > ><br>> > > > > <a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>> > > > > +91 9243468076 (Bangalore)<br>> > > > > 080 65355873<br>
> > > > > _______________________________________________<br>> > > > > Seaside mailing list<br>> > > > > <a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org
</a><br>> > > > ><br>> > ><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>> > > > >
<br>> > > > ><br>> > > > _______________________________________________<br>> > > > Seaside mailing list<br>> > > > <a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org
</a><br>> > > ><br>> > ><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>> > > >
<br>> > ><br>> > ><br>> > ><br>> > > --<br>> > ><br>> > > Rajeev Lochan<br>> > ><br>> > > Co-founder, AR-CAD.com<br>> > ><br>> > >
<a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>> > > +91 9243468076 (Bangalore)<br>> > > 080 65355873<br>> > > _______________________________________________<br>> > > Seaside mailing list
<br>> > > <a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a><br>> > ><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br>> > ><br>> > ><br>> > _______________________________________________<br>> > Seaside mailing list<br>> > <a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org
</a><br>> ><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>> ><br>><br>><br>><br>> --
<br>> Rajeev Lochan<br>><br>> Co-founder, AR-CAD.com<br>><br>> <a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>> +91 9243468076 (Bangalore)<br>> 080 65355873<br>> _______________________________________________
<br>> Seaside mailing list<br>> <a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
</a><br>><br>><br>_______________________________________________<br>Seaside mailing list<br><a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote></div><br><br clear="all"><br>-- <br>Rajeev Lochan<br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com">http://www.ar-cad.com
</a><br>+91 9243468076 (Bangalore)<br>080 65355873