Re: [jQuery] finding y position
> By far the easiest way to do that is to use the Dimensions plugin. It is > amazingly accurate, even taking into account borders, padding, > overflow:scroll, etc. Any idea why the dimension plugin does not get into the jquery core ? There are more and more plugins relying on this one and it seems to be that getting positions of elements should be in core. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] WebHTMLEditor
Does someone if there's a jquery rich text editor project started ? I think this would be a cool plugin for jquery. I've tried a lot of dhtml editor out there, they are all usable but they are not well done. A good editor should offer the possibility to grow in order to match the content's size, such as the dojo one : http://download.dojotoolkit.org/release-0.2.2/dojo-0.2.2-widget/demos/widget/Editor.html Secondly, popups should not be used for tools in the editor. Have a look at all those dhtml editor (fckeditor, tinymce, ...), sometimes, when you click on a tool, a modal popup opens, then you select an option of the tool, a second modal popup opens making impossible to fetch content in another tab in order to copy paste. Popups (and especially modals one) are stoneage. But making a dhtml editor is a huge project and should be well maintained. I'm curious if a such project has been started ? On 1/30/07, Kenneth <[EMAIL PROTECTED]> wrote: > There is also this one: > > http://www.openwebware.com/products/openwysiwyg/ > > > On 1/29/07, tdminh <[EMAIL PROTECTED]> wrote: > > > > Thanks Karl, > > I found it and see it work in firefox today :-) > > Wonderful ^_^ > > > > > > Karl Swedberg-2 wrote: > > > > > > Hi there, > > > > > > Not sure if it's exactly what you're looking for, but you might want > > > to take a look at http://www.wymeditor.org/en/ > > > > > > > > > --Karl > > > _ > > > Karl Swedberg > > > www.englishrules.com > > > www.learningjquery.com > > > > > > > > > > > > On Jan 29, 2007, at 7:06 AM, tdminh wrote: > > > > > >> > > >> I am trying to create a simplest web editor by using jQuery but > > >> found quite > > >> difficult :-) Have we already got it somewhere? > > >> > > >> Thanks a lot, > > >> -- > > >> View this message in context: > http://www.nabble.com/WebHTMLEditor- > > >> tf3135531.html#a8688203 > > >> Sent from the JQuery mailing list archive at Nabble.com. > > >> > > >> > > >> ___ > > >> jQuery mailing list > > >> discuss@jquery.com > > >> http://jquery.com/discuss/ > > > > > > > > > ___ > > > jQuery mailing list > > > discuss@jquery.com > > > http://jquery.com/discuss/ > > > > > > > > > > -- > > View this message in context: > http://www.nabble.com/WebHTMLEditor-tf3135531.html#a8703372 > > Sent from the JQuery mailing list archive at Nabble.com . > > > > > > ___ > > jQuery mailing list > > discuss@jquery.com > > http://jquery.com/discuss/ > > > > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > > -- Fabien Meghazi Website: http://www.amigrave.com Email: [EMAIL PROTECTED] IM: [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Events bubbling
> $('#foo').mouseout(function(e) { >if (this == e.target) { > // do your magic >} > } > > In essence, check that the item being moused out of is in fact the > item that the handler is attached to. Wow ! Thanks a lot ! It is indeed what I'm searching for. By any chance, is it possible to delete the event ? I could use .onemouseout() but I wonder if there's a way to do it manually (not that I need to do it manually but it's just to add something more in my knowledge ;-) So instead of doing unbind() that would erase other events, how could I do : $('#foo').mouseout(function(e) { if (this == e.target) { // code here // and here, unbind the element know as variable "e" in this scope } } ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Events bubbling
> not at all dirty... the 2 function hover is way cool! my advice was > just general stuff! Funny ! you posted this at the very moment I was looking back to your first reply to this thread, because my hover() trick is not working 100% I've just been confronted to the fact that a focus on a select in the div will fire the hover()'out event. As you can see, hover() is working quite well as a workaround: http://www.amigrave.com/upload/posts/jquery/events_hover.htm But with a select in the div, the workaround does not work: http://www.amigrave.com/upload/posts/jquery/events_hover_with_select.htm So I guess I have to use the solution you mentioned in your post, but I'm afraid I don't really don't understand where to put the code you sent. Is it a "global" modifier of events in the window or a modifier applicable per event ? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Events bubbling
> the simple way to stop bubbling is to return false. > the only time I needed anything else was to activate the href after > the click got caught. Well I found a workaround using the second function of hover(); Is it a dirty workaround ? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Events bubbling
Hi all, I'm trying to do a simple thing but I get annoyed by my lack of comprehension about event bubbling and capturing. As you can see here : http://www.amigrave.com/upload/posts/jquery/events.htm# I'm trying to have a div displayed over the link when we click on it. When we mouse over the displayed div, I want it to disapear. My problem is that in the div I have many elements and some links. When the mouse come over a link, the mouseout event of the parent div is triggered. I want to avoid that. How can I do ? PS: Already tried stopPropagation() -- Fabien Meghazi Website: http://www.amigrave.com Email: [EMAIL PROTECTED] IM: [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Konqueror in jQuery.browser
Is there a reason not to add konqueror in jQuery.browser ? If not, can I patch this ? --- jquery.js 2006-12-23 16:27:00.0 +0100 +++ jquery_new.js 2006-12-23 17:49:18.0 +0100 @@ -2221,7 +2221,8 @@ safari: /webkit/.test(b), opera: /opera/.test(b), msie: /msie/.test(b) && !/opera/.test(b), - mozilla: /mozilla/.test(b) && !/(compatible|webkit)/.test(b) + mozilla: /mozilla/.test(b) && !/(compatible|webkit|like gecko)/.test(b), + konqueror: /konqueror/.test(b) }; -- Fabien Meghazi Website: http://www.amigrave.com Email: [EMAIL PROTECTED] IM: [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] (Half-OffTopic) jQuery & Firebug
> var s = document.createElement('script'); > s.src='http://jquery.com/src/jquery-1.0.4.js'; > document.body.appendChild(s); Thanks ! I didn't knew the dom createElement's way would imply the load, parse and execution of a remote script. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] (Half-OffTopic) jQuery & Firebug
Hi all, Sorry if this thread is partly offtopic, but anyone here knows if there's an easy way to populate jScript in a external webpage in order to use it in firebug ? Let's say i'm on google.com and I would like to make some research on their page, using jQuery in the firebug console would be handy. I know it's possible with greasemonkey but I wonder if there's an easier way to do this ? -- Fabien Meghazi Website: http://www.amigrave.com Email: [EMAIL PROTECTED] IM: [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] New jQuery plug - selectBox
> > This is what it does: It hooks right on your existing select element. > > Hides it and appends some div elements and a list, allowing you to > > style it to your taste. > > If you select something in the 'fake' selectbox the exact value is > > selected in the hidden selectbox, > > so your forms will not no what happend. Don't know if you changed something since you posted, but about 5 hours ago I tested the thing at work under firefox 2.0/windows (working ok) and here under Firefox 1.5/Linux, the text that is supposed to be selected is not in front of the select box http://www.amigrave.com/upload/posts/screens/jQuery_selectbox.png ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/