[jQuery] Should I keep away from other plugin dependencies?

2009-08-04 Thread alexanmtz
Hello everyone, I always enter here to deal with technical issues, but today it`s a issue that become philosophical. I wish to make a plugin that needs to use others plugins, but what about the good principle to keep the codebase clean? One of the best things in jQuery is that you keep the core

[jQuery] [Plugins] New plugin - jqswfupload

2009-07-23 Thread alexanmtz
Hello everyone, I would like to announce the jqswfupload plugin: http://jqswfupload.alexandremagno.net/ The easier way to make a multiple file upload using swfupload. You can create a complete interface for multiupload files based on Flickr ux in just one line of code and them make custom setti

[jQuery] using extend to extend inner object options

2009-07-19 Thread alexanmtz
Hello everyone, In my plugin arquitecture, I need a inner object of options like the ticked http://dev.jquery.com/ticket/2447 How could I achieve this? I understand that it's really a expected result to overwrite a inner object, but in plugin that I`m developing, I need a subobject of options t

[jQuery] [validate] Missing more accurate e-mail validation

2008-10-02 Thread alexanmtz
Hello, We develop a system with the validate plugin for all client side validation and I see that the email validation in the core of the plugin accept special characters like "ç" and "/". I make a alternative validation for e-mail using the specification RFC 2822 strict - http://www.rfc-editor.o

[jQuery] Re: Include Scripts

2008-10-01 Thread alexanmtz
I develop a script that insert javascript and css on demand and you have the options to execute callback after the script has loaded http://plugins.jquery.com/project/includedemand This way you can load the scripts for the specific page that are used. I hope it helps, Alexandre Magno Web Devel

[jQuery] callback for css loaded in head

2008-07-07 Thread alexanmtz
I wish to execute block of code after loaded css dinamically inserted in the head. I´m making a ajax navigation and everything working fine, but the page is loaded without css and after a period of time (not defined, sometimes very fast, sometimes slow) the css is loaded and applied in document. T

[jQuery] Re: Plugin pattern

2008-03-31 Thread alexanmtz
TED]> wrote: > You can't.. or you'll lose the `this`. > Unless you do: $("seletor").project().ajax().remote(); and each method > returns the `this`. > > Cheers > > -- > Ariel Fleslerhttp://flesler.blogspot.com/ > > On Mar 28, 11:23 am, alexanmtz <[E

[jQuery] Plugin pattern

2008-03-28 Thread alexanmtz
Hi everyone, Im working in a big project of ajax and I would like to use a plugin pattern thats not working in pratice... All javascript in the project I would like to transform in a jQuery plugin. But to achieve this I need to separate in categories in libraries for this site Im working So, I

[jQuery] [tooltip] Something left in your test page

2008-03-26 Thread alexanmtz
Hi Jorn, I would like to request you to add a tooltip in your select box that you use to test bgiframe. Actually it work well, but try to put in your demo page a tooltip and a title in select box in your test page: http://jquery.bassistance.de/tooltip/demo/ Try to test this: $("select").toolti

[jQuery] Re: jQuery code comments - Is that Javadoc or something else?

2008-03-26 Thread alexanmtz
Good point stephen, I note this too... Im develop a plugin and use javadoc and I create some fields that dont fit in documentation, but was necessary to describe it... I think that the jQuery developers can answer this... On Mar 25, 5:34 pm, Stephen <[EMAIL PROTECTED]> wrote: > Hi, > In many jQ

[jQuery] [tooltip] tooltip in select

2008-03-25 Thread alexanmtz
When you hover a tooltip in a select, it should disappear when you are selecting a option. In this case, the tooltip are putting the box of tip completely in wrong place. And worse: when you are hovering the option the tooltip keeps behind them, whats its strange user experience. I try to solve t

[jQuery] Tooltip in selects

2008-03-25 Thread alexanmtz
When you hover a tooltip in a select, it should disappear when you are selecting a option. In this case, the tooltip are putting the box of tip completely in wrong place. And worse: when you are hovering the option the tooltip keeps behind them, whats its strange user experience. I try to solve t

[jQuery] Re: How to center div horizontally + vertically?

2008-03-25 Thread alexanmtz
The problem is that your extension doesnt consider the margin and padding that affects in process of center. I develop a plugin that make this http://plugins.jquery.com/project/elementcenter I hope it helps... Alexandre Magno Web Developer http://blog.alexandremagno.net On Feb 18, 8:53 pm, Ha

[jQuery] .html() callback?

2008-03-04 Thread alexanmtz
Hi everyone, Like a lot of methods of jQuery, why the .html() doesnt have a callback? I need that some javascript load when the dom change with .html() (append and others too), and some events are attached with the new elements created by this method. What happens is that sometimes they are atta

[jQuery] Re: slideup/slidedown flicker

2008-01-17 Thread alexanmtz
Hi PJ, Jonh suggest this solution http://groups.google.com/group/jquery-en/browse_thread/thread/bd8c11dc66b6d7ad/fb78b998fdf35f88?lnk=gst&q=animate+height+ie#fb78b998fdf35f88 That works perfectly for me, but in my project I can´t change the doctype, Im trying another thing. Did you have solve th

[jQuery] Re: another fade problem in IE

2008-01-15 Thread alexanmtz
Its seens that all elements inside the faded div that dont have a position relative doesnt fade... I'll keep trying... On Jan 15, 10:10 am, alexanmtz <[EMAIL PROTECTED]> wrote: > HI everyone, Im trying to make a fade between pages on a website using > ajax. > > Everythin

[jQuery] another fade problem in IE

2008-01-15 Thread alexanmtz
HI everyone, Im trying to make a fade between pages on a website using ajax. Everything works fine in firefox and safari. The navigation is completely this way. Im using the jQuery 1.2 In Internet Explorer, sometimes the div fade sometimes not... its really strange... sometimes fade some element

[jQuery] Re: href attribute in ajax generated pages on IE

2008-01-08 Thread alexanmtz
a replace() in there too. Try > this: > > var path = this.pathname.replace(/^\//,'') > > --Karl > _ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Jan 8, 2008, at 1:51 PM, x0nix wrote: > > > > > Exactly the sa

[jQuery] Re: For Brazilians jQuery Developers

2007-11-26 Thread alexanmtz
t;Web Specialist" <[EMAIL PROTECTED]> wrote: > Alexandre > > legal hein? > > O único problema: a validação não é feita com o Validation Plugin do Jorn, > né? Com isso para mim fica meio difícil usar a sua estratégia. > > Marco Antonio > > Em 01/11/07, alexanmtz

[jQuery] Re: using thickbox with jquery live

2007-11-22 Thread alexanmtz
I made the same thing, but Im having trouble... Im having a lot of requests per time... On Nov 7, 11:59 am, tlphipps <[EMAIL PROTECTED]> wrote: > I did that very thing be modifying the tb_init() function in > thickbox. Here is my modified version that uses livequery. > > function tb_init(domChun

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread alexanmtz
Yeah, sure... maybe future jquery versions will take care of that... its a thing to be concern like priority... On 7 nov, 20:06, jason <[EMAIL PROTECTED]> wrote: > I'm all for keeping the core lightweight, but there's plenty of stuff > already in the core that is far less useful to me on a daily

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread alexanmtz
This problem that comes with ajax its a headache... livequery its a great iniciative to solve it... but has it issues, but everyone has to remember, that the problem the this plugin is trying to solve its a problem of the core of the nature of ajax request... so... they try to fight with limitatio

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread alexanmtz
Its a great plugin, you say everything I was needing to hear... the absoluteley true... Im using livequery like regular bind calls and are happening thinks not planned... but I can´t find another way to do it... Livequery becomes a dependency of the plugin that I was trying to develop... I need a

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-21 Thread alexanmtz
This is the best discussion that I met about livequery... Im the one who loves it at beginning, now the plugin at reacting of weird ways... Its a great plugin and necessary, but in a large project with ajax it becomes a tricky... Now I dont know what I can do... when I test a site that uses it for

[jQuery] Re: jQuery 1.2.1 errors with Interface

2007-11-19 Thread alexanmtz
Im having the same issue, if you fix the problem, please report here... I'll do the same when I discovered... On Nov 5, 9:28 pm, Nicolae Namolovan <[EMAIL PROTECTED]> wrote: > I'm doing > > $('#some').SlideInRight(500); > > The effect is working, but after I start to get millions of the same > e

[jQuery] Re: Partial .load()

2007-11-18 Thread alexanmtz
If I put $('alvo.php #direto > *') the url in firebug console becames: alvo.php%20#direto%20%3E%20* The url is being decoded the whitespace. I try a lot of things, but doesnt load just the partial content(the div direto), the hole content cames... I never reached the load this way work... What

[jQuery] Re: Partial .load()

2007-11-18 Thread alexanmtz
I was with the version of jquery 1.1.3... now everything works fine in the new version... now I get all I need to make the plugin works great... thanks!!! jQuery getting better everyday! On 24 set, 19:27, "John Resig" <[EMAIL PROTECTED]> wrote: > If you only want the children, just use a child

[jQuery] livequery with validate????

2007-11-09 Thread alexanmtz
Hi, Im using a project that use the livequery to keep the navigation in ajax... The problem is when I use the validate plugin together, Im having the problem when I try to make a validation after a page is loaded with load method... the links its ok, but I loose the ajax on submit, even with retu

[jQuery] Re: For Brazilians jQuery Developers

2007-11-01 Thread alexanmtz
Sorry everyone, the right link is http://www.alexandremagno.net/portfolio_dev/site/contato there is a complete form validation send via ajax. On Oct 31, 10:32 pm, alexanmtz <[EMAIL PROTECTED]> wrote: > O que vocês estavam querendo é > isso:http://www.alexandremagno.net/portfolio

[jQuery] Re: Find all links that go to .jpg images

2007-10-31 Thread alexanmtz
The thickbox doesnt work this way, they enable the thickbox throught the class name equal to thickbox. I never tried, but you can add this class dinamically just with the links that have a .jpg format. like this: $("a[href*='.jpg']).addClass("thinckbox"); or .attr("class","thickbox"); I hope i

[jQuery] Re: Find all links that go to .jpg images

2007-10-31 Thread alexanmtz
The thickbox doesnt work this way, they enable the thickbox throught the class name equal to thickbox. I never tried, but you can add this class dinamically just with the links that have a .jpg format. like this: $("a[href*='.jpg']).addClass("thinckbox"); or .attr("class","thickbox"); I hope i

[jQuery] Re: For Brazilians jQuery Developers

2007-10-31 Thread alexanmtz
O que vocês estavam querendo é isso: http://www.alexandremagno.net/portfolio_dev/contato ? Tente postar violando alguma regra de validação e depois enviem... Eu tinha desenvolvido um script assim e estou escrevendo ele para o blog... On 31 out, 08:25, Jean <[EMAIL PROTECTED]> wrote: > Bom eu t

[jQuery] Re: jQuery $().load method for a new pllugin creation

2007-10-31 Thread alexanmtz
I found the solution in livequery plugin... I think its the solution... On 31 Out, 13:25, alexanmtz <[EMAIL PROTECTED]> wrote: > Hi everyone, > > Im using a load method to create a plugin for a complete dinamic ajax > navigation. Soon I will show all jQuery comunity. The idea

[jQuery] jQuery $().load method for a new pllugin creation

2007-10-31 Thread alexanmtz
Hi everyone, Im using a load method to create a plugin for a complete dinamic ajax navigation. Soon I will show all jQuery comunity. The idea is keep the link the same and a rel atribute that point the div to update. So a line like $("a").ajaxNav() will made all link work with ajax. Im using the

[jQuery] Re: MooTools $events expando workaround

2007-08-31 Thread alexanmtz
thanks ray for the oportunity and I would like to say that the jQuery in Brazil is well represented. Im glad to help the jQuery team with this issue and I hope help even more. Congratulations for you and all jQuery team. On 30 ago, 18:05, Rey Bango <[EMAIL PROTECTED]> wrote: > There was a recen

[jQuery] Re: jQuery and Mootools Problem

2007-08-31 Thread alexanmtz
theres a solution posted by Rey relative a discussion on mootools forum... this is the link http://groups.google.com/group/jquery-en/browse_thread/thread/9737e52028077d5c I hope it can be helpfull... On 23 ago, 18:53, "Yehuda Katz" <[EMAIL PROTECTED]> wrote: > We could probably fix this rather

[jQuery] Sugestion to better receive the post file to php

2007-08-17 Thread alexanmtz
Hi, I was working with this plugin and found some trouble with it. Each input file added has the name + number that is increasing by one. This is dificult to php receive this data or any server language. So the better way its puts in the name attributte the termination [] to a server side languag