Re: [jQuery] jQPie - 0.1 release
Isnt this like taconite?? On 3/24/07, Richard Thomas <[EMAIL PROTECTED]> wrote: First real release, includes an easy to use autocompleter and table builder/sorter both powered by json. Fully working examples in php provided, Was not working in IE before, all examples/code have now been checked in IE 7 http://projects.cyberlot.net/trac/jqpie/wiki/WikiStart ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Fancy Menu
Wow, mootools is starting to mature :-) I wonder how big this would be if it where Jquery??! On 3/19/07, Matthieu BARBE <[EMAIL PROTECTED]> wrote: Hi, Look this great menu : http://devthought.com/cssjavascript-true-power-fancy-menu/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Security with Ajax
I dont think that using javascript for security will solve the problem, try using php instead. Since javascript is run from the client, it can be manipulated easily. Kindest Regards, Mikael. On 3/12/07, Sam Collett <[EMAIL PROTECTED]> wrote: On 11/03/07, JQuery - SimDigital <[EMAIL PROTECTED]> wrote: > I need to protect the data generated from my site, just allowing to > access authorized sites. > > Ex.: > Authorized Site1 > Allowed to access/include the file > http://www.mysite.com/business.php. > Authorized Site2 > Allowed to access/include the file > http://www.mysite.com/business.php. > Unregistered Site > Unallowed to access the file. It will return a blank > page. > > It need to be like google maps API, that don´t allow unregistered sites > to use the API if it isnt registered. > > I don´t know how to solve this. What path i need to follow? This may be a good place to start: http://devzone.zend.com/node/view/id/1616 It involves generating an Ajax key on your server, stored in a session variable and sent to the client (. e.g. myAjaxKey.php var ajaxKey = ''; Web page: $.ajax({ type: "POST", url: "some.php", data: "name=John&location=Boston&ajaxKey=" + ajaxKey, success: function(msg){ alert( "Data Saved: " + msg ); } }); ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How to use cookies?..
Hello again, Thanx for you kind answeres, ive tried to figure out how to get the new position, but i simply do not know how to get the value. This is what ive tried: var POS_COOKIE = getElementById('divname') $.cookie('position', 'POS_COOKIE'); And ive probably misunderstood how it works to... Sorry for not understanding, im not used to programing. Im more of a designer. On 2/20/07, Jake McGraw <[EMAIL PROTECTED]> wrote: Mikael: I think you would want to write to the cookie when you stop dragging the container and actually have an updated position. Interface 'Resizables' has you covered, bind the cookie write function to onDragStop ( http://interface.eyecon.ro/docs/resizable): $('#window').Resizable( { minWidth: 400, minHeight: 10, maxWidth: 700, maxHeight: 445, dragHandle: '#windowTop', onDragStop: function () {/* Write position to cookie here. */}, handlers: { se: '#windowResize' }, onResize : function(size, position) { $('#windowBottom, #windowBottomContent').css('height', size.height-33 + 'px'); var windowContentEl = $('#windowContent').css('width', size.width - 25 + 'px'); if (!document.getElementById('window').isMinimized) { windowContentEl.css('height', size.height - 48 + 'px'); } } } ); On 2/20/07, Mikael Noone < [EMAIL PROTECTED]> wrote: > That is exacly what i cant figure out, where to use it and how. > I want to save the new position that are set on css when i drag the window. > And i dont know if it should be in the window plugin script or the interface > script.. > > > On 2/20/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > Mikael Noone schrieb: > > > Hi there Klaus, > > > > > > Thanx for your answer, ive tried all day to get this to work, but im > > > doing something wrong. > > > This is the code im trying to get the cookies to work with, please see > > > if you could help me out. > > > Maybe it will help others out to, since it seems to be hard to figure > out. > > > Or im having my thumb up my a** ;) > > > > > > $(document).ready( > > > function() > > > > > > { > > > $('#windowOpen').bind( > > > 'click', > > > function() { > > > if($('#window').css('display') == 'none') { > > > $(this).TransferTo( > > > { > > > to:'window', > > > className:'transferer2', > > > duration: 400, > > > complete: function() > > > { > > > $('#window').show(); > > > } > > > } > > > ); > > > } > > > this.blur(); > > > return false; > > > } > > > ); > > > $('#windowClose').bind( > > > 'click', > > > function() > > > { > > > $('#window').TransferTo( > > > { > > > to:'windowOpen', > > > className:'transferer2', > > > duration: 400 > > > } > > > ).hide(); > > > } > > > ); > > > $('#windowMin').bind( > > > 'click', > > > function() > > > { > > > > $('#windowContent').BlindToggleVertically(300); > > > $('#windowBottom, > > > #windowBottomContent').animate({height: 10}, 300); > > > > $('#window').animate({height:40},300).get(0).isMinimized > > > = true; > > > $(this).hide(); > > > $('#windowResize').hide(); > > > $('#windowMax').show(); > > >
Re: [jQuery] ANNOUNCE: Alpha 2 of Ext 1.0 for jQuery is Available
Hello again, tried with a new nightly build. No artifacts and no slowment whatsoever ;) On 2/25/07, Mikael Noone <[EMAIL PROTECTED]> wrote: I read about it on a blog, so i got the latest SVN. Still it lags and gets artifacts when dragging a few divs, and doing drop effect with elements. On 2/25/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > Mikael Noone schrieb: > > Ive noticed that jQuery runs alot slower and buggyer on FF than it > > does on IE 7. > I think this impression comes from one particular flaw in jQuery fx code > that is already fixed in Interface and should be available in one of the > > next releases of jQuery itself. > > -- > Jörn Zaefferer > > http://bassistance.de > > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ANNOUNCE: Alpha 2 of Ext 1.0 for jQuery is Available
Sorry, have to take that back. Seems to be a bug with maximize minimize. (rollup/hide effect) http://interface.eyecon.ro/demos/windows.html It flows good and no lag, but when ive toggled the effect, it starts to lag really bad even with the latest nightly build. On 2/25/07, Mikael Noone <[EMAIL PROTECTED]> wrote: Hello again, tried with a new nightly build. No artifacts and no slowment whatsoever ;) On 2/25/07, Mikael Noone < [EMAIL PROTECTED]> wrote: > > I read about it on a blog, so i got the latest SVN. > Still it lags and gets artifacts when dragging a few divs, and doing > drop effect with elements. > > On 2/25/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > > > Mikael Noone schrieb: > > > Ive noticed that jQuery runs alot slower and buggyer on FF than it > > > does on IE 7. > > I think this impression comes from one particular flaw in jQuery fx > > code > > that is already fixed in Interface and should be available in one of > > the > > next releases of jQuery itself. > > > > -- > > Jörn Zaefferer > > > > http://bassistance.de > > > > > > ___ > > jQuery mailing list > > discuss@jquery.com > > http://jquery.com/discuss/ > > > > ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ANNOUNCE: Alpha 2 of Ext 1.0 for jQuery is Available
I read about it on a blog, so i got the latest SVN. Still it lags and gets artifacts when dragging a few divs, and doing drop effect with elements. On 2/25/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Mikael Noone schrieb: > Ive noticed that jQuery runs alot slower and buggyer on FF than it > does on IE 7. I think this impression comes from one particular flaw in jQuery fx code that is already fixed in Interface and should be available in one of the next releases of jQuery itself. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ANNOUNCE: Alpha 2 of Ext 1.0 for jQuery is Available
I meant more like, having dialogs, tabs, sorters, draggables and tooltips will use quite a few % of CPU power. On low end machines (IE 1ghz cpu) that would be a problem. Ive noticed that jQuery runs alot slower and buggyer on FF than it does on IE 7. 500kb might be chached, but if you concider alot of visitors a day, they might not even log in from the same computer. But maybe first from work, then at a friends house and then at home. Depends on what masses you are focusing on of course. Maybe im just being paranoid ;) On 2/25/07, Rey Bango <[EMAIL PROTECTED]> wrote: Its a 500kb transmission during the download of JS files, which is then stored in the browser cache. You're not instantiating 500k worth of objects during use so I would imagine that you wouldn't be putting a load on the browser. Rey... Mikael Noone wrote: > Even 500kb of javascript will put a lot of load on the Browser. Even on > a modern computer. > > On 2/25/07, *Rey Bango* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > Exactly. Great point Joern. > > Rey > > Jörn Zaefferer wrote: > > Francesco Sullo schrieb: > >> You are right. Alpha is great, but is too big for real web > applications... > > How about intranet web applications with 100mbit connections? No > worries > > with a few hundred kb of JavaScript there. > > > > -- > BrightLight Development, LLC. > 954-775- (o) > 954-600-2726 (c) > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://www.iambright.com > > ___ > jQuery mailing list > discuss@jquery.com <mailto:discuss@jquery.com> > http://jquery.com/discuss/ > > > > > > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ANNOUNCE: Alpha 2 of Ext 1.0 for jQuery is Available
Even 500kb of javascript will put a lot of load on the Browser. Even on a modern computer. On 2/25/07, Rey Bango <[EMAIL PROTECTED]> wrote: Exactly. Great point Joern. Rey Jörn Zaefferer wrote: > Francesco Sullo schrieb: >> You are right. Alpha is great, but is too big for real web applications... > How about intranet web applications with 100mbit connections? No worries > with a few hundred kb of JavaScript there. > -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ANNOUNCE: Alpha 2 of Ext 1.0 for jQuery is Available
myspace is the worst site on the net.(TM) Altough, seems like todays youth dont care about looks or funcionality. They just want to be seen and heard. On 2/25/07, Felix Geisendörfer <[EMAIL PROTECTED]> wrote: This is supercewl. Although, to bulky for me to use on webpages. 372kb plus jquery.. i just say, wow... that´s big! and then additional javascript code for the functions, html, css. plus content! That will be a huge site You've never been to MySpace hm? Otherwise you wouldn't call that huge : ). -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Mikael Noone wrote: This is supercewl. Although, to bulky for me to use on webpages. 372kb plus jquery.. i just say, wow... that´s big! and then additional javascript code for the functions, html, css. plus content! That will be a huge site On 2/25/07, Chris Domigan <[EMAIL PROTECTED]> wrote: > > Hawt!! > ___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- ___ jQuery mailing list [EMAIL PROTECTED]://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ANNOUNCE: Alpha 2 of Ext 1.0 for jQuery is Available
This is supercewl. Although, to bulky for me to use on webpages. 372kb plus jquery.. i just say, wow... that´s big! and then additional javascript code for the functions, html, css. plus content! That will be a huge site On 2/25/07, Chris Domigan <[EMAIL PROTECTED]> wrote: Hawt!! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Dynamicly adding tabs?
Mikael Noone schrieb: > Yeah, thats on my list already. After Thickbox Reloaded, I have planned > to completely rewrite Tabs for Tabs 3 with all these requirements in > mind... - adding tabs, mixed Ajax/inline content tabs, you name it. > > That is super! Will it expand the size of the plugin or will it be > fairly optimized?.. I assume file size will be increased a bit, but not too much. Let's see. I hope it will be nice and small, big javascripts are just a waste. Can´t be used on bigger websites, generates to much trafic and slows down the site. I know it can´t be unobtrusive then, but it would be good if one could > have a link to internal ajax site and then load it still if javascript > is disabled. Would that be possible? This is how I will do it. A link that is not a hash will automatically turn into an Ajax tab, the content gets loaded from its URL. That's how Ajax tabs work right now already. This is unobtrusive and accessible, so I don't understand your question maybe? That´s exacly how i wanted it to work ;) To many have javascript turned of on company offices. Do you know if it will be done this month or the next? It will definately not be this month. Okey :-) Thanx alot for you feedback, i really are a fan of your work. Thank you too :-) Thanx again for your feedback! -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Well, you certainly convinced me. Im switching from the interface element plugin to this for window drag and drop + close. Now i just need a supersmall tooltip plugin to :-) On 2/23/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: Brice, wonderful work, and i luv the confirm/alert replacement! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brice Burgess Sent: vendredi 23 février 2007 7:58 To: jQuery Discussion. Subject: [jQuery] jqModal r7 release! Ladies and Gentleman of the jQuery, ...errr, more so the Gentleman... I am happy to bring you jqModal r7, codenamed "listen". R7 is a major feature enhancer, and brings about some API changes and parameter reduction. I recommend upgrading & porting your existing code to the new version... well worth the added flexibility // maintaining support. Plugin Page; http://dev.iceburg.net/jquery/jqModal/ I've updated the examples, and included a demonstration on overriding alert() + confirm() dialogs. Here's what has changed; --- + Added $.jqmShow, $.jqmHide to manually hide/show dialogs + Added $.jqmAddTrigger and $.jqmAddClose to bind show/hide to elements + Added onLoad callback (called after ajax return) + Added support for handling multiple dialogs @ once across ALL functions - Removed auto-fire parameter, replaced via $(e).jqm().jqmShow() - Removed $.jqmClose() - Removed "wrapClass" parameter, updated base CSS * CSS z-index value takes priority over "zIndex" parameter * Triggers can hide, show, or hide AND show jqModals * Overlays+IE6 iframe are now fixed positioned - support for ie6 quirks + standards mode * Internal Improvements, no event data Well, I guess we now have the EXT widgets to look forward to :) .. but the good news is that I was able to accomplish all these changes in < 120 bytes -- so we're still looking at a < 3k full featured dialog plugin. Enjoy, ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.441 / Base de données virus: 268.18.3/698 - Date: 23/02/2007 4:39 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Dynamicly adding tabs?
On 2/22/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: Mikael Noone schrieb: > Hi there, > > Is it perhaps possible to add tabs to the tab plugin dynamicly? > If so, that would be a really usefull feature. > What do you think? aint it a good idea? > > /Mikael. Yeah, thats on my list already. After Thickbox Reloaded, I have planned to completely rewrite Tabs for Tabs 3 with all these requirements in mind... - adding tabs, mixed Ajax/inline content tabs, you name it. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ That is super! Will it expand the size of the plugin or will it be fairly optimized?.. I know it can´t be unobtrusive then, but it would be good if one could have a link to internal ajax site and then load it still if javascript is disabled. Would that be possible? Do you know if it will be done this month or the next? Thanx alot for you feedback, i really are a fan of your work. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Dynamicly adding tabs?
Hi there, Is it perhaps possible to add tabs to the tab plugin dynamicly? If so, that would be a really usefull feature. What do you think? aint it a good idea? /Mikael. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How to use cookies?..
That is exacly what i cant figure out, where to use it and how. I want to save the new position that are set on css when i drag the window. And i dont know if it should be in the window plugin script or the interface script.. On 2/20/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: Mikael Noone schrieb: > Hi there Klaus, > > Thanx for your answer, ive tried all day to get this to work, but im > doing something wrong. > This is the code im trying to get the cookies to work with, please see > if you could help me out. > Maybe it will help others out to, since it seems to be hard to figure out. > Or im having my thumb up my a** ;) > > $(document).ready( > function() > > { > $('#windowOpen').bind( > 'click', > function() { > if($('#window').css('display') == 'none') { > $(this).TransferTo( > { > to:'window', > className:'transferer2', > duration: 400, > complete: function() > { > $('#window').show(); > } > } > ); > } > this.blur(); > return false; > } > ); > $('#windowClose').bind( > 'click', > function() > { > $('#window').TransferTo( > { > to:'windowOpen', > className:'transferer2', > duration: 400 > } > ).hide(); > } > ); > $('#windowMin').bind( > 'click', > function() > { > $('#windowContent').BlindToggleVertically(300); > $('#windowBottom, > #windowBottomContent').animate({height: 10}, 300); > $('#window').animate({height:40},300).get(0).isMinimized > = true; > $(this).hide(); > $('#windowResize').hide(); > $('#windowMax').show(); > } > ); > $('#windowMax').bind( > 'click', > function() > { > var windowSize = > $.iUtil.getSize(document.getElementById('windowContent')); > $('#windowContent').SlideToggleUp(300); > $('#windowBottom, > #windowBottomContent').animate({height: windowSize.hb + 13}, 300); > $('#window').animate({height:windowSize.hb+43}, > 300).get(0).isMinimized = false; > $(this).hide(); > $('#windowMin, #windowResize').show(); > } > ); > $('#window').Resizable( > { > minWidth: 400, > minHeight: 10, > maxWidth: 700, > maxHeight: 445, > dragHandle: '#windowTop', > handlers: { > se: '#windowResize' > }, > onResize : function(size, position) { > $('#windowBottom, > #windowBottomContent').css('height', size.height-33 + 'px'); > var windowContentEl = > $('#windowContent').css('width', size.width - 25 + 'px'); > if (!document.getElementById('window').isMinimized) { > windowContentEl.css('height', size.height - 48 + > 'px'); > } > } > } > ); > } > ); > > Thanx alot. / Nisse. I can't see where you use the cookie plugin...? -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How to use cookies?..
Hi there Klaus, Thanx for your answer, ive tried all day to get this to work, but im doing something wrong. This is the code im trying to get the cookies to work with, please see if you could help me out. Maybe it will help others out to, since it seems to be hard to figure out. Or im having my thumb up my a** ;) $(document).ready( function() { $('#windowOpen').bind( 'click', function() { if($('#window').css('display') == 'none') { $(this).TransferTo( { to:'window', className:'transferer2', duration: 400, complete: function() { $('#window').show(); } } ); } this.blur(); return false; } ); $('#windowClose').bind( 'click', function() { $('#window').TransferTo( { to:'windowOpen', className:'transferer2', duration: 400 } ).hide(); } ); $('#windowMin').bind( 'click', function() { $('#windowContent').BlindToggleVertically(300); $('#windowBottom, #windowBottomContent').animate({height: 10}, 300); $('#window').animate({height:40},300).get(0).isMinimized = true; $(this).hide(); $('#windowResize').hide(); $('#windowMax').show(); } ); $('#windowMax').bind( 'click', function() { var windowSize = $.iUtil.getSize(document.getElementById ('windowContent')); $('#windowContent').SlideToggleUp(300); $('#windowBottom, #windowBottomContent').animate({height: windowSize.hb + 13}, 300); $('#window').animate({height:windowSize.hb+43}, 300).get(0).isMinimized = false; $(this).hide(); $('#windowMin, #windowResize').show(); } ); $('#window').Resizable( { minWidth: 400, minHeight: 10, maxWidth: 700, maxHeight: 445, dragHandle: '#windowTop', handlers: { se: '#windowResize' }, onResize : function(size, position) { $('#windowBottom, #windowBottomContent').css('height', size.height-33 + 'px'); var windowContentEl = $('#windowContent').css('width', size.width - 25 + 'px'); if (!document.getElementById('window').isMinimized) { windowContentEl.css('height', size.height - 48 + 'px'); } } } ); } ); Thanx alot. / Nisse. On 2/18/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: Mikael Noone schrieb: > Hi there, > > I used the interface plugin to make a window be draggable, > now i found a good cookie plugin: > http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ > <http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/> > > How do i use them to make it remember the position?... > Ive tried alot of examples of ordinary javascript + cookie > but i cant get it to work with the plugin. > > I appriciate all help (sorry for bad english, im german).. > > Thanx. Nisse. If you have the position stored in a variable as a string like for example var pos = 'x=112,y=330'; you can easily save this in and read it from the cookie like this: var POS_COOKIE = 'window_position'; // get latest position var pos = $.cookie(POS_COOKIE); // save position, cookie expires after one year var pos = ...; $.cookie(POS_COOKIE, pos, {expires: 365}); For computing the window position the dimensions plugin is probably useful. Or maybe there's something build into Interface already. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How to use cookies?..
Hi there, I used the interface plugin to make a window be draggable, now i found a good cookie plugin: http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ How do i use them to make it remember the position?... Ive tried alot of examples of ordinary javascript + cookie but i cant get it to work with the plugin. I appriciate all help (sorry for bad english, im german).. Thanx. Nisse. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/