[jQuery] Getting incorrect returned results
Hey all, Here's the issue, I am pulling in an XML doc, storing it in a global var and through out the app I am transversing it to grab certain info. Up till 1.2.6 it's been working fine, but when I upgraded 1.3.2 I get bad results. Here are my two test pages: http://ietracker.staging.informationexperts.com/framework/test/results.1.2.6.html http://ietracker.staging.informationexperts.com/framework/test/results.1.3.2.html My guess is the it has something to do with Sizzle but I can't place exactly where the issue may be happening. But not sure, any suggestions would be helpful.
[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?
Take a look at http://pastebin.com/mbfd5584 It'll produce structure like: That should get you started. On Aug 21, 9:34 am, ldexterldesign wrote: > No luck with thathttp://snipplr.com/view/4746/jquery--nextuntil/ > script guys :[ Can anyone get anything working? > > http://pastebin.com/m5a27bd91 > > The JS I need to generate is above and below the > chunk of HTML. > > Many thanks, > L > > On Aug 20, 7:56 pm, ldexterldesign wrote: > > > Cheers for your help Ben. I'll crack on with this in the morning and > > update this post with how I get on. > > > Thanks, > > L > > > On Aug 20, 4:50 pm, Benjamin Sterling > > > wrote: > > > lewis, > > > First, use pastebin.com or something like next time, it'll help us > > > help you. > > > > So, you need to wrap each group of h2 + div + p + p.postmetadata > > > > Check outhttp://snipplr.com/view/4746/jquery--nextuntil/ > > > > and you should be able to do something like: > > > > $('h2').nextUntil('.scrollablePost').wrap('') > > > > If that does not work, maybe > > > > $('h2') > > > .each(function(){ > > > $(this).nextUntil('.scrollablePost').wrap('') > > > > }); > > > > If that still does now work, can you post your code to pastebin so I > > > have something work with? > > > > On Aug 20, 10:55 am, ldexterldesign wrote: > > > > > Don't you think I thought about using that straight away? > > > > > How can I wrap a group of elements in the DOM when I don't know what > > > > elements will be there in first place. I'm aiming to wrap, > > > > essentially, a blog post, so: > > > > > $(document).ready(function(){ > > > > $('h2').wrap(''); > > > > }); // would be fine > > > > > ...but try doing this: > > > > > $(document).ready(function(){ > > > > $('... > > > class="postmetadata">').wrap(' > > > div>'); > > > > }); > > > > > :| > > > > > Thanks, > > > > L > > > > > On Aug 20, 3:36 pm, ak732 wrote: > > > > > > go to:http://api.jquery.com/andput"wrap"; in the filter box > > > > > > On Aug 20, 10:06 am, ldexterldesign wrote: > > > > > > > Yo guys, > > > > > > > I need to wrap this chuck of HTML in a :http://is.gd/2qatX > > > > > > > Any thoughts? > > > > > > > $(document).ready(function(){ > > > > > > $('').insertBefore('.page-id-9 > > > > > > h2'); > > > > > > $('').insertAfter('.page-id-9 .postmetadata'); > > > > > > }); > > > > > > > ...just pumps out at both ends, as > > > > > > you'll see from the above screenshot. > > > > > > > Thanks, > > > > > > L
[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?
lewis, First, use pastebin.com or something like next time, it'll help us help you. So, you need to wrap each group of h2 + div + p + p.postmetadata Check out http://snipplr.com/view/4746/jquery--nextuntil/ and you should be able to do something like: $('h2').nextUntil('.scrollablePost').wrap('') If that does not work, maybe $('h2') .each(function(){ $(this).nextUntil('.scrollablePost').wrap('') }); If that still does now work, can you post your code to pastebin so I have something work with? On Aug 20, 10:55 am, ldexterldesign wrote: > Don't you think I thought about using that straight away? > > How can I wrap a group of elements in the DOM when I don't know what > elements will be there in first place. I'm aiming to wrap, > essentially, a blog post, so: > > $(document).ready(function(){ > $('h2').wrap(''); > }); // would be fine > > ...but try doing this: > > $(document).ready(function(){ > $('... class="postmetadata">').wrap(' div>'); > }); > > :| > > Thanks, > L > > On Aug 20, 3:36 pm, ak732 wrote: > > > > > go to:http://api.jquery.com/andput "wrap" in the filter box > > > On Aug 20, 10:06 am, ldexterldesign wrote: > > > > Yo guys, > > > > I need to wrap this chuck of HTML in a :http://is.gd/2qatX > > > > Any thoughts? > > > > $(document).ready(function(){ > > > $('').insertBefore('.page-id-9 h2'); > > > $('').insertAfter('.page-id-9 .postmetadata'); > > > }); > > > > ...just pumps out at both ends, as > > > you'll see from the above screenshot. > > > > Thanks, > > > L
[jQuery] Re: XSLT with anchors
Jonathon, Is there a url or some code (pastebin.com) that we can look at? Benjamin Sterling / Web Developer kenzomedia.com / kenzohosting.com / benjaminsterling.com / refreshbmore.org 443.844.7654 // Twitter @bmsterling Skype: benjamin.sterling // AIM: thekenzoco On Tue, Apr 14, 2009 at 4:52 AM, Jonathan Maddison wrote: > > Hello, > > I am using the jQuery Transform plugin to perform XSL transforms. It > works great except when I load a page with an anchor. > > i.e. > > mysite.com/mypage > > works fine, but - > > mysite.com/mypage#xyz > > gives incorrect output (all HTML tags are missing). > > Does anybody have any idea what could be going wrong? >
[jQuery] Re: Exclude checkbox
I would probably do something like: $("tr.Order").each(function(){ this.isover = false; $(this).bind("click", function() { if( !this.isover ){ showOrderDetails($(this).attr("id")); } }); $('input:checkbox', this) .hover( function(){$(this).parents('tr').get(0).isover = true;}, function(){$(this).parents('tr').get(0).isover = false;} ); }); On Tue, Jan 27, 2009 at 10:36 AM, chrille112 wrote: > > > I have a table, and I want a click on each row to trigger a function. This > is > my code: > >$("tr.Order").each(function() >{ >$(this).bind("click", function() { > showOrderDetails($(this).attr("id")); > }); >}); > > This works perfect! My problem is that I also have a checkbox on each row, > and that also gets affected. So when I click the checkbox it triggers > function showOrderDetails(). > > How to I remove the action from check box? > -- > View this message in context: > http://www.nabble.com/Exclude-checkbox-tp21686977s27240p21686977.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > > -- Benjamin Sterling / Web Developer kenzomedia.com / kenzohosting.com / benjaminsterling.com / refreshbmore.org 443.844.7654 // Twitter @bmsterling Skype: benjamin.sterling // AIM: thekenzoco
[jQuery] Re: how to use focus in a form?
Instead of doing: $('select:first').focus(); do: $('select:first').get(0).focus(); On Tue, Jan 27, 2009 at 8:40 AM, ƝƟƧǷƕƩŘąŦƱƧ Ɵ MƩƧŦŘƩ wrote: > > well my problem is: I have n forms on the website that I working, then > I need one script on jQuery that's work in all using the focus to the > first element onf the form (excluding the firt hidden input), can > someone help me???, my starting code is here: > $(document).ready(function(){ > if('form:first:input'){ > $('input:first').focus(); > }else { > $('select:first').focus(); > } > }); > -- Benjamin Sterling / Web Developer kenzomedia.com / kenzohosting.com / benjaminsterling.com / refreshbmore.org 443.844.7654 // Twitter @bmsterling Skype: benjamin.sterling // AIM: thekenzoco
[jQuery] Re: jqGrid 3.3 version
Tony, I really must say that that is a beautiful piece of work; I don't have a need for it right now but be sure that I have bookmarked and passed your url on to other devs. On Tue, Oct 14, 2008 at 2:59 PM, Tony <[EMAIL PROTECTED]> wrote: > > Hello all, > A new version of jqGrid is available. > All the new features and bug fixes can be found here > http://www.secondpersonplural.ca/jqgriddocs/index.htm > > Be a sure to visit the demo page for the new features. > http://trirand.com/jqgrid/jqgrid.html > > The jqGrid home page is here > http://trirand.com/blog/ > > Enjoy > Tony > -- Benjamin Sterling Skype: benjamin.sterling AIM: thekenzoco Web: http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.BenjaminSterling.com
[jQuery] Re: jQuery UI Refresh Baltimore Presentation
Hey All, Just wanted to bump this message up for those who might be interested in the jQuery UI presentation at MICA tomorrow. On Sun, Oct 5, 2008 at 10:58 PM, Benjamin Sterling < [EMAIL PROTECTED]> wrote: > Hey all, > Just wanted to put it out there that this Wednesday we (Refresh Baltimore) > will be have our (jQuery) lovable Richard Worth doing a jQuery UI > presentation at Refresh Baltimore. Check out > http://upcoming.yahoo.com/event/1176430 for all pertinent information. > > -- Benjamin Sterling Skype: benjamin.sterling AIM: thekenzoco Web: http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.BenjaminSterling.com
[jQuery] jQuery UI Refresh Baltimore Presentation
Hey all, Just wanted to put it out there that this Wednesday we (Refresh Baltimore) will be have our (jQuery) lovable Richard Worth doing a jQuery UI presentation at Refresh Baltimore. Check out http://upcoming.yahoo.com/event/1176430 for all pertinent information. -- Benjamin Sterling Twitter: bmsterling Web: http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.BenjaminSterling.com
[jQuery] Re: jqModal r13 released!
Brice, very nice work! There is not a project that goes by that I don't use your plugin in. On Sun, Jul 6, 2008 at 10:18 PM, Brice Burgess <[EMAIL PROTECTED]> wrote: > > I've released the 13th revision of jqModal. Maybe I should have jumped > to 14... but scientists are not superstitious. I do believe in Stevie > Wonder though ;) If you have a chance; see him on his latest tour. > Anyhow; > > jqModal is a tiny general-purpose windowing / dialog / popup / modal / > *box / > what-have-you plugin. > > The new revision contains > some minor code tweaks, > the ability to overide default parameter values via the new > $.jqm.params global, > and the removal of hard-coded pointer styling of modal overlays. > > The plugin page was updated with more documentation and a link to > Alexandre Plennevaux's tutorial on effectively using jqModal to load > external sites into a popup dialog (His method updates an iframe > inside a dialog with the HREF attribute of the triggering element. It > is an excellent example of real-world jqModal usage. As an added > bonus; the bling-factor is furthered by showing off some fancy > animated transistions! Be sure to check out his demonstration.) > > As usual, the plugin can be grabbed from; > > http://dev.iceburg.net/jquery/jqModal/ > > I hope you all had a fantastic weekend! > > ~ Brice > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.BenjaminSterling.com
[jQuery] Re: Refresh Baltimore Tonight
I am trying to pull together a video camera, but I don't have any slides per se, sadly I am going old school and showing how to take a design and punch it up with some minor effects. The goal is really to give an introduction and wow factor :) On Wed, Apr 9, 2008 at 4:22 PM, Jake McGraw <[EMAIL PROTECTED]> wrote: > > Second the request for slides / any multimedia. > > - jake > > On Wed, Apr 9, 2008 at 4:18 PM, Richard D. Worth <[EMAIL PROTECTED]> > wrote: > > Way to go, Benjamin! Wish I could be there. Will there be a recording? > > slides? > > > > - Richard > > > > > > > > On Wed, Apr 9, 2008 at 4:03 PM, Benjamin Sterling > > <[EMAIL PROTECTED]> wrote: > > > > > Hey all, > > > Just wanted to give a heads up that I will be giving a basic jQuery > > presentation at the Refresh Baltimore meeting tonight. So if you are in > the > > Baltimore area come check it out. > > > > > > http://www.refreshbmore.org/ > > > > > > -- > > > Benjamin Sterling > > > http://www.KenzoMedia.com > > > http://www.KenzoHosting.com > > > http://www.BenjaminSterling.com > > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.BenjaminSterling.com
[jQuery] Refresh Baltimore Tonight
Hey all, Just wanted to give a heads up that I will be giving a basic jQuery presentation at the Refresh Baltimore meeting tonight. So if you are in the Baltimore area come check it out. http://www.refreshbmore.org/ -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.BenjaminSterling.com
[jQuery] Re: jqModal w/ jQuery v1.2.3
Hey Rey, it is, I am using it in my WP plugin with no issue. On Tue, Apr 1, 2008 at 10:34 PM, Rey Bango <[EMAIL PROTECTED]> wrote: > > Hey Brice! Long time no chat. > > I was curious if jqModal is compatible with jQuery v1.2.3. I haven't > tried it out yet but before I rack my head, I wanted to ask. > > Rey > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Modals - What's everyone using?
+1 On jqModal, I use it in everything. On Sun, Mar 30, 2008 at 1:18 PM, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > i use jqModal and have been really happy with its flexibility and ease of > use. > > On Sun, Mar 30, 2008 at 1:51 PM, Scott González > <[EMAIL PROTECTED]> wrote: > > > > The UI Dialog plugin defaults to a transparent overlay and can be > > customized via the overlay option or stylesheets. > > > > On Mar 29, 4:56 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > > > I want to build a modal window with a form in it but don't want to > use > > > the blacked out effect similar to many lightbox implementations. > > > > > > What's everyone using for this type of functionality? > > > > > > Rey... > > > > > > -- > Alexandre Plennevaux > LAb[au] > > http://www.lab-au.com > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: how remove the attributes added by jquery : jQuery1206707292281
Domi, I think the .removeData() method will work for you: http://docs.jquery.com/Release:jQuery_1.2.3 On Fri, Mar 28, 2008 at 8:36 AM, domi01 <[EMAIL PROTECTED]> wrote: > > Hello, > > After several calls to jquery, some attributes are added to my html. > For instance, before the jquery calls the html is : > Header 1 > after the calls a new attributed is added : > Header 1 > > I need to remove this attribute in order to compare html codes. > > I tried to find in the jquery library, a function to remove all this > attributes but I didn't find it. > > I just find the way the attribute is built, with a local variable : > var expando = "jQuery" + (new Date()).getTime(), uuid = 0, windowData > = {}; > > Is it possible to get the expando value outside of the library ? > > If this is possible, I will be able to remove the tag using regular > expression. > > Thanks, Domi > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: slideing pics
http://sorgalla.com/jcarousel/ On Thu, Mar 27, 2008 at 12:15 PM, zok <[EMAIL PROTECTED]> wrote: > > no thats not really what i'm looking for > I want something like on the amazon.de site (under the headline > "Kunden, die diesen Artikel gekauft haben, kauften auch:") > > http://www.amazon.de/Learning-Jquery-Interaction-Development-JavaScript/dp/1847192505/ref=pd_bbs_sr_2?ie=UTF8&s=books-intl-de&qid=1206634422&sr=8-2 > > Thanks > > > On 26 Mrz., 14:39, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > SerialScrollhttp://flesler.blogspot.com/2008/02/jqueryserialscroll.html > > > > Bye > > > > -- > > Ariel Fleslerhttp://flesler.blogspot.com > > > > On Mar 25, 4:20 pm, ripple <[EMAIL PROTECTED]> wrote: > > > > >http://jquery.com/ > > > > > zok <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > i'd like to display e.g. 5 pics and an arrow to the right. When you > > > click that arrow the five pics slide to the left and other 5 pics come > > > from the right. > > > > > Is there a script to do such a slide show, i'm really new to jQuery so > > > i need a little help with it. Maybe you could also give me some links > > > to basic tutrials and/or books! > > > > > Thanks > > > > > - > > > Looking for last minute shopping deals? Find them fast with Yahoo! > Search. > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] jQuery in the wild
Looks like MLB.com and in turn http://phillies.com are now using jQuery 1.2.1, looks like they are using jcarousel and corners. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Snap to grid on BBC website
Rui, Take a look at the ui.jquery.com site, and look at the sortable, that "should" be what you want. On 3/10/08, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > Hi all > > I am currently evaluating the jQuery library, along with some other JS > libraries for my company, and we decided to implement the same > functionality the BBC homepage has. I managed to reproduce all the > effects quite quickly apart from the snap to grid. Can anyone send me > on the right direction? > > iGoogle seems to have the same functionality and I know they also use > jQuery. Are they using it on iGoogle or are they doing it using their > own JS libraries? > > Many thanks for your help. > > Rui > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] opacity issues with IE8
May be a bit premature, but I was testing some of my sites in IE8 beta ( 8.0.6001.17184) and all the effects using opacity are not working correctly. I checked all the fade effects on the docs and they don't fade in or out, and the thickbox, jqModal, LightBox plugins' overlays are showing as a solid color. Should a ticket be submitted or should I wait till IE8 is further along. just fyi, I am using the VPC that MS provides for IE8/7/6 testing. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: IE8
Tim, can you point me to the download link? On 3/5/08, timothytoe <[EMAIL PROTECTED]> wrote: > > > It seemed to overwrite IE7, but it has an IE7 mode. I only did it on > one computer. > > > On Mar 5, 1:41 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > > Did IE8 overwrite IE7 or can it work standalone? > > > > Rey > > > > timothytoe wrote: > > > I was pretty excited to download IE8 today. All the jQuery stuff in my > > > app seems to work fine. > > > > > The debugger is pretty nice. I've always had trouble finding bugs in > > > IE. > > > > > Anyone find any IE8 jQuery problems yet? > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Event Bubbling - Not!
skube, try *mouseleave* instead, that one take bubbling into account. On 3/3/08, skube <[EMAIL PROTECTED]> wrote: > > > I am a little confused about event bubbling. Say for example I have > the following bit of HTML: > > > > > one > > > two > > > > > when I try: > > $("#main").mouseout(function() { > alert('test'); > }); > > > The alert gets fired even when mousing in/out of divs one/two, but > while still staying within the main div. > > How do I fire the alert only if I mouseout of everything (including > main), not just out of one and into two? > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] [OT] Looking for testers for a WordPress Plugin
Hello, I just finished up a new release to my WordPress plugin PhotoXhibit (formally Benjamin Sterling Galleries) and I am looking for testers. This plugin relies heavily on jQuery, jQuery UI, jqModal, Easing and other jQuery built plugins and is meant to be a showcase of what jQuery can be used for in real world apps. This WP plugin is basically Album and Gallery controller that uses some of the most popular jQuery "gallery" type plugins such as Thickbox, LightBox, Gallery Viewer, Gallery View II and the Cycle plugin with plans on adding carousel and some others. This plugin using Swfupload as soon as the UI uploader is up to par I will switch) to help with the album building and give options to allow for multiple thumbnails and adding alt text. This plugin also hooks into Picasa, Flickr and SmugMug to bring your photos into WP. You can download it from http://wordpress.org/extend/plugins/photoxhibit/and there is documentation at http://benjaminsterling.com/benjaminsterlinggalleries/ (these docs will be updated when I post the final code with any bug fixes that may come from the testing.) Feel free to post any comments or concerns/bugs here or at http://benjaminsterling.com/photoxhibit/ Thanks in advance. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: a small accessibility rant
I totally agree and this was part of the discussion my team had with them. If lowsrc was still supported this may not be a problem, but I am sure their are alternatives. On 2/14/08, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Interesting… I've never thought of specifying image > > size in em's. The problem of image degradation would > > still be an issue, I'm sure, since an image may be > > specified for display in em's in a browser, but would still start > > its life in pixels (if it's not a vector graphic), unlike text, which > isn't an > > enlargement of a static entity, but is created anew > > in larger dimensions. > > > > Something to think about, however… > > > > Rick > > > > > > > > > > > > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Benjamin Sterling > *Sent:* Thursday, February 14, 2008 10:30 PM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Re: a small accessibility rant > > > > Rick, I have not gotten into it too much because it has not been a > requirement, having just the alt/title tags is usually enough, but there has > been talk over at the EPA accessiblity testing group to require setting > width and height of images using EM instead of PX. This is so that if a > user bumps up the text size (ctrl +) that the image will get bigger at the > same ratio. Of course the text would need to be in EM also. This is > something that I personally have not gotten into yet, but it may become a > requirement for one of my contracts. > > On 2/14/08, *Rick Faircloth* <[EMAIL PROTECTED]> wrote: > > > What does your friend do about images? Enlarging the text would be a > start, > but if I were having great difficulty viewing the screen, I would want a > solution that allows me to view images, as well. > > > Rick > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: a small accessibility rant
Rick, I have not gotten into it too much because it has not been a requirement, having just the alt/title tags is usually enough, but there has been talk over at the EPA accessiblity testing group to require setting width and height of images using EM instead of PX. This is so that if a user bumps up the text size (ctrl +) that the image will get bigger at the same ratio. Of course the text would need to be in EM also. This is something that I personally have not gotten into yet, but it may become a requirement for one of my contracts. On 2/14/08, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > > What does your friend do about images? Enlarging the text would be a > start, > but if I were having great difficulty viewing the screen, I would want a > solution that allows me to view images, as well. > > > Rick > > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of > > [EMAIL PROTECTED] > > Sent: Thursday, February 14, 2008 1:51 PM > > To: jQuery (English) > > Subject: [jQuery] Re: a small accessibility rant > > > > > > Wow, I really appreciate both of your quick replies! > > > > Benjamin, I have seen yours & Richard's contributions - knowing I'm > > not all alone is what's keeping me motivated ;) > > > > From the accessibility plugin's demo page, it serves an accessibility > > reminder. Which is a start :) > > > > @JMoore - my point is this: My friend's computer is *her* computer. > > How can it be right to say she shouldn't choose to make use of its > > built-in capabilities to read what's on the screen?? > > You may as well say that using a magnifier to read the newspaper is a > > hack . > > > > > > On Feb 14, 6:23 pm, "Benjamin Sterling" > > <[EMAIL PROTECTED]> wrote: > > > Cherry, > > > There are quite a few of us that would agree with you, Richard Worth > and > > > myself to name two, there is plugin but could not find it right away > that > > > help with accessibility. Everything I do has to be 508 compliant and > not > > > just because I feel it is the right thing to do, but I would with the > Gov't, > > > ie. epa, army.mil, and so on. So I understand your point of view and > the > > > best suggestion is to keep doing what you are doing and always keep > > > accessibility on the front burner. > > > -- > > > Benjamin > > > Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.comhttp://www.benjaminsterling.com > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery AJAX Email Client ???
I don't know if it would be hard to do, but there is a little more you need then just a js framework to achieve. You will need some backend programming, ie. asp, asp.net, php, ruby, coldfusion, etc. On 2/14/08, Cloudream <[EMAIL PROTECTED]> wrote: > > > is it hard to do it? jQuery is quite easy to use. Try it yourself :) > > > On Feb 15, 1:47 am, KONIU <[EMAIL PROTECTED]> wrote: > > Hi, > > > > > Does anybody know an ajax email client like this one ona > dojohttp://dojotoolkit.org/demos/email-using-1-0??? but in Jquery. > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: a small accessibility rant
Cherry, There are quite a few of us that would agree with you, Richard Worth and myself to name two, there is plugin but could not find it right away that help with accessibility. Everything I do has to be 508 compliant and not just because I feel it is the right thing to do, but I would with the Gov't, ie. epa, army.mil, and so on. So I understand your point of view and the best suggestion is to keep doing what you are doing and always keep accessibility on the front burner. On 2/14/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Before (trying to) adopt jQuery, I've never used Javascript to control > content. In reading hundreds of blogs by Javascript developers over > the past weeks, I've been alarmed by their attitude to accessibility. > It's not just a matter of 'political correctness', and it's not just > about minority users. One tiny example: a friend of mine has rubbish > eyesight - she's not blind, she's fit to drive - she has her screen > resolution set to LARGE so she can read it. > > The other day, she wanted to open a new 'internet-only' savings > account. This is business; she has quite a lot of money to invest. The > idiot who made that bank's website hadn't accounted for variable > fonts; on her screen, the text overwrote the fields! So, she could not > open this account, which is only available via the Web, because the > form was unusable. The bank may as well have advertised the account > as "only available to savers with normal eyesight"! > > Things like this, you can fix very simply by making all your sizes > proportional - if my friend then has to scroll off the screen to fill > the form, she don't care, as long as she can read & complete it. > > All of my problems with jQuery, so far, have been to do with trying to > solve basic accessibility issues. I understand why making a site "do" > something feels more important! It's more exciting. But I wish you > would, at the same time, ensure a readily-available alternative that > can be used as well. > > Just a gentle reminder :) > Cherry. > http://jquery.cherryaustin.com > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Uploader 0.9 beta
Gilles, In your code you have fMaxFilesize but on the wiki you have fMaxFileSize, should I fix the wiki or do you want your code camelCased? On 2/14/08, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > > Wha!!! No 24hr seven days a week support for everything under the sun?!! > > Thanks for the update Gilles, I will be working on something today. Where > can I get the files? I could not find a zip? I can just grab it down from > your demo site, not a huge deal. > > Thanks again. > > On 2/14/08, Gilles (Webunity) <[EMAIL PROTECTED]> wrote: > > > > > > > > Allright, i have made some changes to the backend and uploader so that > > it has some more stabillity. > > > > To answer your question Benjamin, each "progress" callback function > > passes an object with this information: > > http://docs.jquery.com/UI/Uploader/callbacks/fileProgress#tOptions > > > > In this option array, 2 more objects are found: > > http://docs.jquery.com/UI/Uploader/DataObject#toptions (file > > information) > > http://docs.jquery.com/UI/Uploader/ProgressObject#toptions (progress > > information) > > > > Using the information found there, you could create everything you > > want. > > > > Please note; in order to implement this, you NEED both javascript and > > backend knowledge. I simply cannot answer all support questions for > > which answers can be found in the docs. > > > > > > -- > Benjamin Sterling > http://www.KenzoMedia.com > http://www.KenzoHosting.com > http://www.benjaminsterling.com > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Dynamically prepending elements to a div
First would be that you can't have more then one ID on a page, if you need, you should change id="content" to class="content". And second, if your html look exactly as you have it, you are no "cloning" the P, you are just "moving" it. If you need to duplicate it do something like: $("#adder").click(function(){ $(".content").clone().prependTo("#container") }); On 2/14/08, meeboo <[EMAIL PROTECTED]> wrote: > > > > Hey all > > In this example, how come I can't prepend the paragraph to the div more > than > once? > > $("#adder").click(function() > { > $('#container').prepend($('#content')); > }); > > # Add content > > content > > -- > View this message in context: > http://www.nabble.com/Dynamically-prepending-elements-to-a-div-tp15480643s27240p15480643.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Uploader 0.9 beta
Wha!!! No 24hr seven days a week support for everything under the sun?!! Thanks for the update Gilles, I will be working on something today. Where can I get the files? I could not find a zip? I can just grab it down from your demo site, not a huge deal. Thanks again. On 2/14/08, Gilles (Webunity) <[EMAIL PROTECTED]> wrote: > > > > Allright, i have made some changes to the backend and uploader so that > it has some more stabillity. > > To answer your question Benjamin, each "progress" callback function > passes an object with this information: > http://docs.jquery.com/UI/Uploader/callbacks/fileProgress#tOptions > > In this option array, 2 more objects are found: > http://docs.jquery.com/UI/Uploader/DataObject#toptions (file > information) > http://docs.jquery.com/UI/Uploader/ProgressObject#toptions (progress > information) > > Using the information found there, you could create everything you > want. > > Please note; in order to implement this, you NEED both javascript and > backend knowledge. I simply cannot answer all support questions for > which answers can be found in the docs. > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Uploader 0.9 beta
That works for me. On 2/13/08, Gilles (Webunity) <[EMAIL PROTECTED]> wrote: > > > I'll set up a fourth demo, with total progressbar, also i'll try to > visualise what is going on, on each page by creating a flow diagram... > > Oke? > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: plugin to upload files
Dave, have a look at http://blog.360.yahoo.com/blog-qCsFWG45eqF9lZ05AZldsUC.?p=58. You can't upload a file the ajax way, but this will be close. On 2/12/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, That is good if the flash fails gracefully. What I'm looking for > is a way for users to upload files such that they can continue to do > other activities instead of having to wait for the entire file to be > uploaded. An Ajax upload would seem to satisfy this. > > - Dave > > On Feb 11, 12:37 pm, "Benjamin Sterling" > <[EMAIL PROTECTED]> wrote: > > Dave, > > Most of the plugins you are going to find will use flash to get the > progress > > bar and some other functionality that you just can't get with > javascript. I > > am not sure how the jqUploader functions, but I believe that it would > fail > > nicely if flash is not installed giving you the basic html file input. > > > > With that said, what are you looking to get from the plugin? > > > > On 2/11/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hi, > > > > > I'm looking for a jquery plugin that will help me upload files, some > > > which may be large (> 20 MB). I have seen jqUploader, but it seems > > > like that requires Flash and I would not want to i mpose that > > > requirement on end users. > > > > > Thanks for any advice, - Dave > > > > -- > > Benjamin > Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.comhttp://www.benjaminsterling.com > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Uploader 0.9 beta
> > > The third example, uses sessions and forms. So the form is validated, > and the uploaded files are placed in a session object. Hmmm... Not entirely sure how that would work. I will do some test tonight to see exactly how you are doing things. Can't picture how I would hook into a process that was started under a different "page." (Assuming the plugin work similiar to swfupload) I like Dan's suggestion also, have a "total progress" bar would be a really nice touch and would be business class IMO. Let me know if you need any help with anything. On 2/12/08, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: > > > I'd love to see an example that has a combined multi-file progress bar. > Something that shows two progress bars--one for the current file and > another > for the total upload process. > > I think this is a common implementation and an example would make it clear > that it's possible to do. > > -Dan > > >-Original Message- > >From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > >Behalf Of Cloudream > >Sent: Monday, February 11, 2008 8:35 AM > >To: jQuery (English) > >Subject: [jQuery] Re: Uploader 0.9 beta > > > > > >Nice work. > > > >Is there any documents? I think i can write an asp (server) demo for > >other developers. > > > >On Feb 11, 3:37 pm, "Gilles (Webunity)" <[EMAIL PROTECTED]> wrote: > >> Well it is almost finished, my Flash-based file uploader for jQuery. > >> The docs are finished, and the widget itself also. Originally intended > >> to be a part of UI, but since it has no real connection to UI > >> (dependencies and so on) i have decided to release it as a standalone > >> plugin. > >> > >> Most of you have seen the demo allready but here it is > >again.http://uploader.webunity.nl/ > >> > >> Originally based upon swfupload, but based on a really old version of > >> swfupload. The version i based the uploader on had: > >> - no callbacks for dialog open/dialog hide > >> - no multiple file selection masks > >> - no filesize limit pre-upload > >> > >> I've build all these things into my version, and now they released a > >> new version which also has that... (hmmm) > >> Anyway, since i based my version on theirs it is only fair that they > >> also gather ideas from other sources. > >> > >> Let me know if you run into any bugs and i'll try to add the code to > >> SVN later this week. > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Translate old JS function to Jquery - Super newbie question
The function itself? I really don't think you need to, that function will work in all browsers and really down not need to depend on a framework to achieve. With that said, below is how you would change the function. function confirmAction( action ){ jQuery('#button_' + action + ', #button_back').hide(); jQuery('[name=confirm]').submit(); // assuming your form is named confirm return false; }; On 2/11/08, Josoroma <[EMAIL PROTECTED]> wrote: > > > If i have the following button: > style="display: block;" title="Register" onClick="valid()"; return > false;" > > > The aobve button calls the next function: > > function confirmAction( action ) { > > document.getElementById('button_' + action).style.display = > 'none'; > document.getElementById('button_back').style.display = 'none'; > document.confirm.submit(); > > return false; > > } > > My super newbie question is? > How do i can convert the function in Jquery? > > Thanks in advance. > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Uploader 0.9 beta
Ahhh come on Gilles!! You could not have release this two weeks ago? I just spend two weeks getting swfupload built into my wordpress plugin and would have loved to use jquery plugins. Oh well, guess I will have to start planning for version 2.5 :). I do have one real question for you, I have a script (php) that uploads and then resizes an image to 2 to 4 different sized images. What I would like a flash based uploader todo is be able to grab a "status" also. I know you have the fileProgress, but is it possible to pass back a status so that I can display a message ie. "Finished uploading", "No processing thumbnails", "thumbnail one done, moving onto thumbnail two" and so on. Anyway great plugin, I will try to get it implemented in my next release of my WP plugin. Thanks. On 2/11/08, Bhaarat Sharma <[EMAIL PROTECTED]> wrote: > > > pretty cool functionality. > > one thing i can think of is showing the user a thumbnail version of > the image after it has been placed in the queue. rather than just the > name. > > great work! > > On Feb 11, 10:26 am, "Gilles (Webunity)" <[EMAIL PROTECTED]> wrote: > > http://docs.jquery.com/UI/Uploader > > > > On 11 feb, 14:35, Cloudream <[EMAIL PROTECTED]> wrote: > > > > > Nice work. > > > > > Is there any documents? I think i can write an asp (server) demo for > > > other developers. > > > > > On Feb 11, 3:37 pm, "Gilles (Webunity)" <[EMAIL PROTECTED]> wrote: > > > > > > Well it is almost finished, my Flash-based file uploader for jQuery. > > > > The docs are finished, and the widget itself also. Originally > intended > > > > to be a part of UI, but since it has no real connection to UI > > > > (dependencies and so on) i have decided to release it as a > standalone > > > > plugin. > > > > > > Most of you have seen the demo allready but here it is again > .http://uploader.webunity.nl/ > > > > > > Originally based upon swfupload, but based on a really old version > of > > > > swfupload. The version i based the uploader on had: > > > > - no callbacks for dialog open/dialog hide > > > > - no multiple file selection masks > > > > - no filesize limit pre-upload > > > > > > I've build all these things into my version, and now they released a > > > > new version which also has that... (hmmm) > > > > Anyway, since i based my version on theirs it is only fair that they > > > > also gather ideas from other sources. > > > > > > Let me know if you run into any bugs and i'll try to add the code to > > > > SVN later this week. > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: jQuery.SerialScroll
Ariel, looking good, your ajax example is erroring out in FF, did not get a chance to check IE. On 2/11/08, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > > Those 2 urls broke down... Here I go again: > ScrollTo: http://flesler.blogspot.com/2007/10/jqueryscrollto.html > LocalScroll: http://flesler.blogspot.com/2007/10/jqueryscrollto.html > > By the way.. this plugin is a replacement for jQuery.ScrollShow, it > never got over beta, this one has a better approach. > > Ariel Flesler > > On 11 feb, 23:57, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > Hi everyone > > > >I added the first release of jQuery.SerialScroll. This is a generic > > and very customizable plugin to navigate series of elements. > > > > This plugin is similar to jQuery.LocalScroll: (http:// > > flesler.blogspot.com/2007/10/jquerylocalscroll-10.html) > > But it serves a different purpose. Instead scrolling to elements at > > random, this one takes a "prev" and "next" button, and a group of > > items and it will take care of the navigation. > > > > It also uses jQuery.ScrollTo (http://flesler.blogspot.com/2007/10/ > > jqueryscrollto.html) to handle the animation part, you get access to > > all its settings. That gives you around 20 options to customize. > > > > It doesn't have a fixed purpose and in the demo, I exemplified 3 > > different uses. > > > > While doing it, I realized some of its settings, were also useful for > > jQuery.LocalScroll so I added them into a new release. > > The latter has 3 new options: stop, lock and hash. I also added a > > function called $.localScroll.hash(). They are all well explained. > > > > jQuery.ScrollTo got a new option called 'over'. And it is demonstrated > > in the demo page. > > > > Here's the blog entry of jQuery.SerialScroll: > >http://flesler.blogspot.com/2008/02/jqueryserialscroll.html > > > > Cheers :) > > > > Ariel Flesler > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: plugin to upload files
Dave, Most of the plugins you are going to find will use flash to get the progress bar and some other functionality that you just can't get with javascript. I am not sure how the jqUploader functions, but I believe that it would fail nicely if flash is not installed giving you the basic html file input. With that said, what are you looking to get from the plugin? On 2/11/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm looking for a jquery plugin that will help me upload files, some > which may be large (> 20 MB). I have seen jqUploader, but it seems > like that requires Flash and I would not want to i mpose that > requirement on end users. > > Thanks for any advice, - Dave > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Loading GIF Slideshow w/o Modal
Thanks Alexandre, thank god I am the hosting manager :) it's back up. On 1/31/08, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > > -- Original Message -- > To: Jquery-en (jquery-en@googlegroups.com) > From: Benjamin Sterling ([EMAIL PROTECTED]) > Subject: [jQuery] Re: Loading GIF Slideshow w/o Modal > Date: 31/1/2008 16:09:45 > > For the most part they are coded to allow for flexibility, so you can > customize them as needed. If there is a particular one you are thinking > about using, post a comment on that post and I will see what I can do. > > On 1/30/08, Ange <[EMAIL PROTECTED]> wrote: > Thanks. Can any of these be customized to be a non-modal, no thumbs > gallery? I need the first image of the galleries to be visible on page > load, and prev/next buttons to load images as needed. > -Ange > > On Jan 30, 6:52 pm, "Benjamin Sterling" > <[EMAIL PROTECTED]> wrote: > > Ange, > > Have a look at one of these plugins: > http://benjaminsterling.com/category/jquery-plugin/ > > > > > -- > Benjamin Sterling > http://www.KenzoMedia.com > http://www.KenzoHosting.com > http://www.benjaminsterling.com > > benjamin, > > in case you are not aware of it, your site seems to have gone beyond its > bandwidth limit and has been taken offline HTH, > > Alexandre > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Loading GIF Slideshow w/o Modal
For the most part they are coded to allow for flexibility, so you can customize them as needed. If there is a particular one you are thinking about using, post a comment on that post and I will see what I can do. On 1/30/08, Ange <[EMAIL PROTECTED]> wrote: > > > Thanks. Can any of these be customized to be a non-modal, no thumbs > gallery? I need the first image of the galleries to be visible on page > load, and prev/next buttons to load images as needed. > -Ange > > On Jan 30, 6:52 pm, "Benjamin Sterling" > <[EMAIL PROTECTED]> wrote: > > Ange, > > Have a look at one of these plugins: > http://benjaminsterling.com/category/jquery-plugin/ > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Loading GIF Slideshow w/o Modal
Ange, Have a look at one of these plugins: http://benjaminsterling.com/category/jquery-plugin/ On 1/30/08, Ange <[EMAIL PROTECTED]> wrote: > > > I'm looking for a jQuery slideshow plugin, and I can't seem to fond > one that does all I need. Cycle and jCarousel come close. But my > problem is I have multiple galleries on one page, and they all have > large images. So, since they load all the images in every gallery and > then hide them, the page totals over 4000KB. > > I need something like Litebox or Thickbox that calls the next/prev > image and loads it as needed, with a loading gif. But I don't want a > pop-up modal. It would be nice if I could just put one image from each > gallery in the HTML and have the prev/next buttons load and fade to > the prev/next image. > > Any suggestions? > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: [SITE SUBMISSION] Sapitot Creative
Looks really nice, but I would second Dan's comments and would probably suggest you implement the history plugin. Being in the DC area, 508 compliance is a big sell. On 1/30/08, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: > > > >Sapitot Creative is a Design firm that recently redesigned their > >website. jQuery is being used to enhance page transitions and to give > >a little flair to the print and web portfolio sections. What is real > >interesting is the unconventional use of jQuery-ui.tabs plugin for the > >main navigation. > > > >Check it out: www.sapitot.com > > Overall it looks good. A couple of comments: > > 1) I'd change the URL each time one of the tabs is clicked--that way users > can cut-n-paste the URLs and e-mail them. If possible, it'd also use > meaningful hashes (like #store, #web, #print, #about, etc.) > > 2) Occasionally I was able to get the "Loading..." message that appears > when > you've clicked on a category to never go away. It seems to happen if you > click on another menu option before the last animation has finished. (I > suspect you're using a global variable to reset the value and this is > getting overwritten.) > > -Dan > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: http://jquery.com/api/ page broken
I see, yeah that is something they have been discussing on the documentation mailing list. On 1/28/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > It's less an improvement on the content than it is the presentation. > > -- > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Benjamin Sterling > *Sent:* Monday, January 28, 2008 8:56 AM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Re: http://jquery.com/api/ page broken > > The http://jquery.com/api/ is outdated; the docs for the current jQuery > version is at http://docs.jquery.com/. > > Andy, feel free to volunteer your time to help improved the documentation. > > On 1/28/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > > > > Same for me. Tried it in IE6, and FF2 and neither worked. > > > > jQuery has REALLY got to get the documentation improved. > > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Yansky > > Sent: Saturday, January 26, 2008 5:50 PM > > To: jQuery (English) > > Subject: [jQuery] Re: http://jquery.com/api/ page broken > > > > > > Hmm weird. I tried it in Opera on my machine and Firefox and IE7 on > > another > > machine and it didn't work with any of them. > > > > On Jan 27, 8:58 am, "Charles K. Clarkson" <[EMAIL PROTECTED]> > > wrote: > > > Yansky wrote: > > > > > > : Thehttp://jquery.com/api/page doesn't seem to be working for me. > > > : When I click on a link, nothing happens. > > > : > > > : I'm using Firefox on Windows XP. > > > > > > Works for me on Firefox 2.0.0.11 and XP. It's a little slow > > > loading at first. Clicking on a link slides down the detail. > > > > > > HTH, > > > > > > Charles K. Clarkson > > > -- > > > Mobile Homes Specialist > > > Free Market Advocate > > > Web Programmer > > > > > > 254 968-8328 > > > > > > http://www.clarksonenergyhomes.com/wordpress/about/ > > > > > > > > > -- > Benjamin Sterling > http://www.KenzoMedia.com > http://www.KenzoHosting.com > http://www.benjaminsterling.com > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: binding click event to area (image map)
Alexandre, Thanks, the dimesions plugn was the issue. But sadly I need the dimensions plugin. Not sure why this is an issue. Thanks. On 1/28/08, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > > hi benjamin, > > should'nt it better to use: > > $('area.optSelectMe').bind("click",function(){ > > // do this and that > > }); > > > that error message you get comes from dimensions.js, which typically > return that message when the element sent to dimension cannot be found in > the DOM. > > > > > ------ Original Message -- > To: jquery-en (jquery-en@googlegroups.com) > From: Benjamin Sterling ([EMAIL PROTECTED]) > Subject: [jQuery] binding click event to area (image map) > Date: 28/1/2008 15:46:51 > > Hey Guys, > Not entirely sure what this is not working but have the following code: > > > js: > $('.optSelectMe').click(function(){ > > $('.noShowing').addClass('noNakedEye').removeClass('noShowing'); > > $('#'+$(this).attr('meta')).addClass('noShowing').removeClass('noNakedEye').highlightFade('yellow'); > return false; > }); > > html: > > > coords="19,56,59,15,111,3,111,109,19,56" href="#" alt="" /> > coords="111,109,111,3,160,15,203,55,111,109" href="#" alt="" /> > coords="111,109,203,55,219,109,203,162,111,109" href="#" alt="" /> > coords="111,109,203,162,160,204,111,216,111,109" href="#" alt="" /> > coords="111,109,111,216,59,204,18,162,111,109" href="#" alt="" /> > coords="111,109,18,162,3,109,19,56,111,109" href="#" alt="" /> > > > error: > [Exception... "'Dimensions: jQuery collection is empty' when calling > method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e > (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no] > > even if I do below, I still get the same error: > $('.optSelectMe').click(function(){ > $(this) > return false; > }); > > I am using v1.2.1, any ideas? > > -- > Benjamin Sterling > http://www.KenzoMedia.com > http://www.KenzoHosting.com > http://www.benjaminsterling.com > > > > Alexandre Plennevaux - LAb[au] asbl.vzw / MediaRuimte > Lakensestraat/Rue de Laeken 104 > B-1000 Brussel-Bruxelles-Brussels > Belgie-Belgique-Belgium > Tel:+32(0)2.219.65.55 > Fax:+32(0)2.426.69.86 > Mobile:+32(0)476.23.21.42 > http://www.lab-au.com > http://www.mediaruimte.be > __ > The information in this e-mail is intended only for the addressee named > above. > If you are not that addressee, please note that any disclosure, > distribution or copying of this e-mail is prohibited. > Because e-mail can be electronically altered, the integrity of this > communication cannot be guaranteed. > __ > > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: http://jquery.com/api/ page broken
The http://jquery.com/api/ is outdated; the docs for the current jQuery version is at http://docs.jquery.com/. Andy, feel free to volunteer your time to help improved the documentation. On 1/28/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > Same for me. Tried it in IE6, and FF2 and neither worked. > > jQuery has REALLY got to get the documentation improved. > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Yansky > Sent: Saturday, January 26, 2008 5:50 PM > To: jQuery (English) > Subject: [jQuery] Re: http://jquery.com/api/ page broken > > > Hmm weird. I tried it in Opera on my machine and Firefox and IE7 on > another > machine and it didn't work with any of them. > > On Jan 27, 8:58 am, "Charles K. Clarkson" <[EMAIL PROTECTED]> > wrote: > > Yansky wrote: > > > > : Thehttp://jquery.com/api/page doesn't seem to be working for me. > > : When I click on a link, nothing happens. > > : > > : I'm using Firefox on Windows XP. > > > > Works for me on Firefox 2.0.0.11 and XP. It's a little slow > > loading at first. Clicking on a link slides down the detail. > > > > HTH, > > > > Charles K. Clarkson > > -- > > Mobile Homes Specialist > > Free Market Advocate > > Web Programmer > > > > 254 968-8328 > > > > http://www.clarksonenergyhomes.com/wordpress/about/ > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] binding click event to area (image map)
Hey Guys, Not entirely sure what this is not working but have the following code: js: $('.optSelectMe').click(function(){ $('.noShowing').addClass('noNakedEye').removeClass('noShowing'); $('#'+$(this).attr('meta')).addClass('noShowing').removeClass('noNakedEye').highlightFade('yellow'); return false; }); html: error: [Exception... "'Dimensions: jQuery collection is empty' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no] even if I do below, I still get the same error: $('.optSelectMe').click(function(){ $(this) return false; }); I am using v1.2.1, any ideas? -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Using JSONP With the AIM Presence Service
Great info Chris, thanks for sharing. On 1/25/08, Chris Scott <[EMAIL PROTECTED]> wrote: > > > If anyone wants to use jQuery to get the presence information from AIM > for a user, I documented it here: > http://www.iamzed.com/2008/01/25/using-jquery-and-jsonp-to-get-aim-status/ > > Nothing revolutionary, but the JSONP callback stuff threw me for a > while. > > -- > Chris Scott > Adaptive Hosting Solutions > http://adaptivehostingsolutions.com/ > > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: jQuery, AJAH & IE 7
Also, check to see if you have an extra common in any of your params, ie css({left:0,top:0,}) <-- will throw object expected error in IE On 1/24/08, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > > Vlad, > Do you have a url we can look at? Run your site in Opera, it gives better > error messages so you know were to look for your code error. Tools -> > Advanced -> Error console. > > On 1/24/08, Vlad Mazek <[EMAIL PROTECTED]> wrote: > > > > > > Folks, > > > > I have a bit of a problem with Internet Explorer 6/7 specifically, the > > code works perfectly fine in Firefox. > > > > What I am essentially doing is creating a dynamic form. Based on the > > inputs, different forms are sent back into different containers > > as the user moves through the application. The first request receives > > the set of forms (really just prefilled html/form markup) just fine. > > > > Working with this second set of forms and jQuery in Internet Explorer > > 7 seems to be futile - no response at all to any jQuery functions. All > > my posts push the browser forward, calls to my javascript functions > > come back with "Error - Object Expected", none of my jQuery effects > > seem to work.. even though all the forms are on the same page. > > > > I'm afraid I'm missing something pretty grand in terms of concepts > > here and was hoping someone would be kind enough to explain just where > > I am going wrong about this. Thanks in advance! > > > > > > -- > Benjamin Sterling > http://www.KenzoMedia.com > http://www.KenzoHosting.com > http://www.benjaminsterling.com -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: jQuery, AJAH & IE 7
Vlad, Do you have a url we can look at? Run your site in Opera, it gives better error messages so you know were to look for your code error. Tools -> Advanced -> Error console. On 1/24/08, Vlad Mazek <[EMAIL PROTECTED]> wrote: > > > Folks, > > I have a bit of a problem with Internet Explorer 6/7 specifically, the > code works perfectly fine in Firefox. > > What I am essentially doing is creating a dynamic form. Based on the > inputs, different forms are sent back into different containers > as the user moves through the application. The first request receives > the set of forms (really just prefilled html/form markup) just fine. > > Working with this second set of forms and jQuery in Internet Explorer > 7 seems to be futile - no response at all to any jQuery functions. All > my posts push the browser forward, calls to my javascript functions > come back with "Error - Object Expected", none of my jQuery effects > seem to work.. even though all the forms are on the same page. > > I'm afraid I'm missing something pretty grand in terms of concepts > here and was hoping someone would be kind enough to explain just where > I am going wrong about this. Thanks in advance! > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Feb 12 IE6 Forced Update
> > We shall see. Hey...at least this will stop all of you crybabies from > whining about how crappy IE6 is. What's next on your complaints list? > My sentiments exactly! But people will always complain about every IE does; personally I think those that complain are just lazy and don't feel like reading the many, many sites out there the will show you have to work with the issue with out resorting to crazy hacks. Just my two cents. On 1/24/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > The article I read mentioned that MS is going to force IE7 on users, but > that there was a way that sysadmins could prevent this. Whether that means > that lots of people are going to try and prevent it is another story. The > problem is that as long as there is even a 5% or 10% level of use of IE6, > developers at least will need to keep it around. > > I personally have put off installing it IE7 at home so that I can still > test > with IE6. > > We shall see. Hey...at least this will stop all of you crybabies from > whining about how crappy IE6 is. What's next on your complaints list? > > ;) > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of cfdvlpr > Sent: Wednesday, January 23, 2008 6:10 PM > To: jQuery (English) > Subject: [jQuery] Feb 12 IE6 Forced Update > > > Does anyone know about how many IE6 users this will affect? After Feb 12, > 2008 is it likely that your IE 6 users will drop much? If you have an > ecommerce site that currently has about 40% IE6 users, is this percentage > likely to go much farther down? Or, is this update not forced on the > average IE 6 user? I'd just love to see IE6 go away, but I don't want to > get my hopes up if this so-called forced update is not really forced on > many > of our IE6 users. > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Using getJSON...not successful
The problem with using the shortcut methods for new people is that it does not give you any error feedback. I would suggest that you use the $.ajax method till you get used to the process, it will allow you to set for errors. But in the mean time, put the below before you getJSON method: $("#msg").ajaxError(function(event, request, settings){ $(this).append("Error requesting page " + settings.url + ""); }); just create a div with the id of msg. This "should" print out what the error is. If not, then go with the $.ajax method. $.ajax({ url: URL, dataType : 'json', data : {}, success : function(data, textStatus){ }, error : function(x, txt, e){ alert(txt); } }); On 1/18/08, J Moore <[EMAIL PROTECTED]> wrote: > > > > to isolate the problem, make your script dump out something like: > {"a": "hello"} > > are you sure it's not a 404? is jquery being found? It could be lots > of things... > > if you haven't already, install firebug (and use firefox). It will > save you a lot of frustration. > > On Jan 18, 6:13 pm, gms <[EMAIL PROTECTED]> wrote: > > Hello, > > I am new to JQuery. I'm trying to get a JSON response back from my > > django view. However, I guess my data never gets loaded > > successfully. Does anybody know what I'm doing wrong? > > > > > > $(document).ready(function(){ > > $("#first").click(function(){ > > $.getJSON("/mysite/myajax", function(data) { > > alert("Here"); > > }); > > });}); > > > > > > > > > > def myajax(request): > > a = Testimonial.objects.all()[:3] > > response_dict = {} > > response_dict.update({'a': a}) > > return HttpResponse(simplejson.dumps(response_dict), > > mimetype='application/javascript') > > > > /// > > > > Whenever I access this page and click on my div that contains the id > > 'first'...nothing happens. I should see an alert that says 'Here'. > > > > Any Suggestions on what I'm doing wrong? > > > > Thanks > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: OT: Networking Vista Home/Home Premium and Leopard
Andy, I connect to my wife's mac via 192.168.0.100/USERNAME and that gives me a login, not sure if this helps. You will need to figure out the ip address to the mini. On 1/17/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > Who would have thought that this would be such a difficult task. > > My wife's computer must be able to read and write files on my MacMini. She > can see the Mini in the network list. She can even browse as far as my user > directory. But she cannot access any of the directories inside (Music, > Pictures, Documents, etc.). Each time she tries to open one of those, she > gets an "access denied" error. The problem is that she's not even prompted > for a login. I can get to the Mac Mini from my XP box without issue. I get > the login box, enter the credentials, and I'm in. > > So I did some research last night and it appears that her version of Vista > does not even have the necessary application to allow her to login to a Mac > computer from Vista. There appear to be some workarounds, but I wanted to > first ask you guys if any of you have had luck getting this to work. > > One of the solutions I found requires a program called gpedit.msc, which > is the piece which is NOT on her computer. > > I need to get this going as soon as possible. Anyone have any > ideas/solutions? > > * *** > *** * > *Andy Matthews > *Senior ColdFusion Developer > > Office: 877.707.5467 x747 > Direct: 615.627.9747 > Fax: 615.467.6249 > [EMAIL PROTECTED] > www.dealerskins.com > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com <<2008 Email NADA.jpg>>
[jQuery] Re: how can a text field be hidden based on condition
Something like below should work: if($('select[name=myDropdown] :selected').val() == 'my value'){ $('input[name=inputToBeHidden]').hide(); } On 1/14/08, Bhaarat Sharma <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm a little new to jQuery. > > Is it possible to hide/disable a text field based on a certain value > in a drop down box on the same page?? > > I'd appreciate if someone could either show me a similar example or > guide a little. > > Thanks > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Apple Mac IE 5.23
Nathan, jQuery does not even support mac ie, so thickbox will not work. On 1/11/08, cfdvlpr <[EMAIL PROTECTED]> wrote: > > > What percentage of your visitors use this browser? It's next to > nothing, is it not? Thickbox doesn't seem to work in this browser, > but if there's hardly anyone using this browser anymore I don't want > to worry about it... > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Switching Divs
Glen, I would assume it has something to do with offset(), when I remove the margin and the border they work fine. On 1/9/08, Glen Lipka <[EMAIL PROTECTED]> wrote: > > I started work on a demo for this, but It's doing something wrong. > http://commadot.com/jquery/animateSwap.php > > Anyone know why the thing keeps going down the screen? > > James, this would be easier if the two elements were positioned absolute > to begin with. What is their original state? > > Glen > > > On Jan 9, 2008 6:32 AM, DXCJames < [EMAIL PROTECTED]> wrote: > > > > > I want to switch the place of 2 divs. One would be located on once > > side of the screen somewhere and the other far away from it.. I want > > to be able to click on one of them and have them "hover" or move to > > switch locations with eachother.. It would be cool to have them switch > > at the same time, but if thats not possible then I guess I am out of > > luck.. > > > > I am basically asking how todo it at the same time, I am pretty sure I > > can figure out how to make them just switch spots by moving one over > > and the other back.. (it would be nice to know if theres a plugin for > > this or an easy command though =D) hah.. Thanks everyone!! > > > > James > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: [ANNOUNCE] Space gallery
That is great and it sucks at the same time; It is great because I am/was working on some thing similar; sucks because I am/was working on some thing similar. :) Really nice work. On 1/9/08, Stefan Petre <[EMAIL PROTECTED]> wrote: > > > Image gallery with perspective > > http://eyecon.ro/spacegallery/ > > Regards, > Stefan > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Synchronous JSONP
Glen, I think I understand what you are saying, but not truly sure what full approach is. It sounds like you want to send some data to another site when the user clicks a link, like maybe the href of the link clicked. Not sure if the is considered JSONP, and bare with me on this one, but what I am doing with a app at work is something like below: $('a').click(function(){ var href = $(this).attr('href'); var c = document.createElement('link'); c.type = 'text/css'; c.media = 'screen'; c.rel = 'stylesheet'; c.href = 'http://www.thisurl.com/?click='+href; $('head')[0].appendChild(c); setTimeout(function(){ location.href = href; }, 1000); return false; }); This is a scaled down version of what I am doing, a caveat is that if the page takes too long to load, the params never get passed. This approach is only assuming that nothing is being echoed out on the "thisurl.com" end. On 1/8/08, Glen Lipka <[EMAIL PROTECTED]> wrote: > > I think my thought process on this was messed up anyway. > Here is the use situation. We are using JSONP to send activity on pages > to avoid cross-site scripting problems. One of those activities is clicking > on a link. > > The problem is that the JSONP is asynchronous so that when the link is > clicked, the page unloads before the JSONP has a chance to do it's thing. > > What is the best way of allowing the JSONP to do it's thing and pause the > unload of the page long enough for it to work? > > Glen > > > On Jan 8, 2008 1:37 PM, Benjamin Sterling < > [EMAIL PROTECTED]> wrote: > > > Glen, > > I have never done it, but I say a while back that you can use the > > jQuery.extend method to overwrite a default method. I will see if I can > > dig that up, but that may point you in the right direction in the mean time. > > > > > > > > On 1/8/08, Glen Lipka <[EMAIL PROTECTED]> wrote: > > > > > > Right now in 1.2.1 the JSONP method uses an asynchronous call to do > > > it's thing. > > > This sometimes causes a problem when we are sending a call about a > > > "click" event on a link. The page unloads before the JSONP is finished. > > > > > > Changing it to be optional (async or synchronous) helps fix that > > > problem. > > > > > > Code we used inside jQuery (with a param call to .ajax) > > > > > > /* If the request is not async, we need to wait for the script to l oad > > > before returning. */ > > > else if (!s.async) { > > > var done = false; > > > // Attach handlers for all browsers > > > script.onload = script.onreadystatechange = function(){ > > > if ( !done && (!this.readyState || > > > this.readyState == "loaded" || this.readyState == "complete") > > > ) { > > > } > > > }; > > > } > > > > > > QUESTION: Putting this directly into our copy of jQuery is probably a > > > bad idea. *How can this be turned into a plugin?* > > > > > > Thanks much, > > > > > > Glen > > > > > > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Progress image swap
Trans: async: false means that the browser will lock up each request will not do it asynchronously, which means the code we provide will not work. Is there a reason you are doing it with async: false? On 1/8/08, Trans <[EMAIL PROTECTED]> wrote: > > > > > On Jan 8, 5:23 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > > Any chance you can post a test page somewhere? It's a little hard to > > picture what's going on. > > Here's a strip down rendition of exactly what I'm doing: > > function Mica() { > this.tally = 18; > this.types = ['htm', 'txt', 'xml', 'gif', 'jpg', 'png']; > this.sizes = ['sm', 'md', 'lg']; > }; > > Mica.prototype.start = function() { > var mica = this; > $("#meter").attr("src","img/meter_on.gif").show("fast", function() > { > mica.load_files(); > }); > }; > > Mica.prototype.load_files = function() { > for(var i=0; i < this.types.length; i++) { > ftype = this.types[i]; > for(var j=0; j < this.sizes.length; j++) { > fsize = this.sizes[j] > fname = "data/" + ftype + "/" + fsize + "." + ftype; > this.load_up(fname, ftype, fsize); > }; > }; > }; > > Mica.prototype.load_up = function(fname, ftype, fsize) { > var mica = this; > $.ajax({ > url: fname, > cache: false, > async: false, > complete: function() { > mica.tally--; > if (mica.tally == 0) { > $("#meter").attr("src","img/meter_off.gif"); > } > } > }); > }; > > T. > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Progress image swap
This is untested but something like: var ajaxCalles = 16; $("#meter").attr("src","img/meter_on.gif") // change the src tag to the animate gif $.ajax({ url: 'myurl', success : function(){//do processing}, error: function(){/process error}, complete : function(){ ajaxCalles--; if(ajaxCalles == 0){ $("#meter").attr("src","img/meter_off.gif") } } // this gets called after success and error callbacks are executed }); Make your group of ajax call like above and that should get you going. On 1/8/08, Trans <[EMAIL PROTECTED]> wrote: > > > > > On Jan 8, 4:34 pm, "Benjamin Sterling" > <[EMAIL PROTECTED]> wrote: > > T, > > Keep you head up, we have all felt that way. > > Thanks Benjamin and Josh. I'm frustrated but I'm determined too! :-) > > What you both suggest makes sense enough, but I don't just have a > single file to pull down. I'm loading 16 files. It seems silly to turn > the image on and off for each one. And I tried ajaxStart and ajaxStop > and that didn't work either, it gives the same result. > > How would I aplly your suggestion to loading multiple files? > > Thanks, > T. > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Synchronous JSONP
Glen, I have never done it, but I say a while back that you can use the jQuery.extend method to overwrite a default method. I will see if I can dig that up, but that may point you in the right direction in the mean time. On 1/8/08, Glen Lipka <[EMAIL PROTECTED]> wrote: > > Right now in 1.2.1 the JSONP method uses an asynchronous call to do it's > thing. > This sometimes causes a problem when we are sending a call about a "click" > event on a link. The page unloads before the JSONP is finished. > > Changing it to be optional (async or synchronous) helps fix that problem. > > Code we used inside jQuery (with a param call to .ajax) > > /* If the request is not async, we need to wait for the script to l oad > before returning. */ > else if (!s.async) { > var done = false; > // Attach handlers for all browsers > script.onload = script.onreadystatechange = function(){ > if ( !done && (!this.readyState || > this.readyState == "loaded" || this.readyState == "complete") ) { > } > }; > } > > QUESTION: Putting this directly into our copy of jQuery is probably a bad > idea. *How can this be turned into a plugin?* > > Thanks much, > > Glen > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Progress image swap
T, Keep you head up, we have all felt that way. What I normally do is something like: $("#meter").attr("src","img/meter_on.gif") // change the src tag to the animate gif $.ajax({ url: 'myurl', success : function(){//do processing}, error: function(){/process error}, complete : function(){$("#meter").attr("src","img/meter_off.gif")} // this gets called after success and error callbacks are executed }); Let me know if that makes sense? On 1/8/08, Trans <[EMAIL PROTECTED]> wrote: > > > Hi-- > > I'm pulling my hair out trying to make this work. I want to change an > image to an animated gif to indicate progress while I pull down some > files via synchronous ajax, and then switch the image back to a static > one when finished. Everything I try fails, invariably the animated gif > doesn't become visible until all the ajax loads complete, and then of > course it gone. HEre the basic code I have at them moment: > > $("#meter").attr("src","img/meter_on.gif").show('fast', function() { > load_stuff_with_ajax(); > $("#meter").attr("src","img/meter_off.gif").show(); > }); > > Any help will is greatly appreciated. I can;t tell you how sick I am > of reading tutorials saying how easy AJAX is when the simple things > like seem impossible to figure out. > > Thanks, > T. > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Using jQuery in Wordpress
Sean O, I just include it in my theme: Not sure how to include what they have in the core, but I think it is out of date anyways. On 1/7/08, Sean O <[EMAIL PROTECTED]> wrote: > > > > So I'm trying to use jQuery in Wordpress (2.3.2)... Mostly for site > design/effects now, eventually for posts too, if possible. It looks like > jQuery is in the WP core now, but when I Firebug a few $() functions, I > get > errors. > > Any trick to getting this going? Googling provided sparse / old articles. > > > Thanks, > > SEAN O > ___ > www.sean-o.com > -- > View this message in context: > http://www.nabble.com/Using-jQuery-in-Wordpress-tp14672948s27240p14672948.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite
That is what I use, just be aware the the "filters" don't work. So if you are doing a png fix, it won't work in the standalones. On 1/4/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > You can give this a shot: > > http://tredosoft.com/Multiple_IE > > Allows you to install multiple versions of IE on your machine...all the > way > back to IE 4. > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of cfdvlpr > Sent: Thursday, January 03, 2008 5:08 PM > To: jQuery (English) > Subject: [jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite > > > How do you test in both IE 6 and IE 7? Are you able to install both these > on the same machine or do you have more than one machine? > > We do most of our testing for IE 6 and IE 7 using browsercam. > Unfortunately, there's no debugging tools on their machines. :( > > On Jan 3, 2:20 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > ... > > But for me, it's no problem to test new applications in IE6, IE7, FF2, > > Opera and (ever since I picked up a Mac) Safari. > > > ... > > JK > > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite
lmao... I did not catch that; too funny! On 1/3/08, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > > "Ream Men" just have to know... > > How does developing in FF increase you "reproductivity" ? > > :o) > > Rick > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Eridius > > Sent: Thursday, January 03, 2008 6:58 PM > > To: jquery-en@googlegroups.com > > Subject: [jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite > > > > > > > > I would never in a million years choose to develop in IE first and then > FF, > > there are just so many tools in FF that increases my reproductivity it > would > > be slower for me to try to debug first in IE for the issue that FF would > let > > me catch easier and faster. > > > > > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite
Not trying to flame bait here, but I really don't see what so hard about dealing with ALL browsers at once. I hear all the time how hard it is to code for IE and, although I dot come across issues that I need to adjust for, I never feel that I can't do something with IE. I guess if you know the limitations going into a development of a site it is easier to deal with. I just don't get the "Build for IE and every other browsers will just have to deal." I say grab a copy of each browser you want to support, open each up and test in each as you go. Stick to "basic" standards and everything should be fine. Just my two cents. On 1/3/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > Larry... > > I'm RIGHT there with you. Better to develop in IE, then move forward into > other browsers. Better than getting cool code working with a "fringe" > browser, then finding out it doesn't work correctly in the primary > browser. > > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of McLars > Sent: Thursday, January 03, 2008 1:59 PM > To: jQuery (English) > Subject: [jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite > > > IEDeveloperToolbar is somewhat helpful, but kinda flaky. Honestly, though, > 99% of the time I just use alert(). I have Firebug, but never use it since > I > develop on IE. As you said, that's what the vast majority of (and all of > our > intranet) users are on. > > I know that is contrary to how many develop, but I feel it's better to > develop on the weaker and more popular platform. If it works on IE, FF, > Opera, and Safari are usually pretty close. It's better to find the bugs > while you work, rather than build a lot of stuff only to find it fail in > IE--where the debugging is limited. > > That's just my personal choice, but I don't have very many bugs. ;) > > Larry > > Jeffrey Kretz wrote: > > There's a bit more overhead, but the free Visual Studio Web Express > > Edition has a very good debugger: > > > > > > > > http://www.microsoft.com/express/vwd/Default.aspx > > > > > > > > I use Firebug as well, but I feel that this is the best IE debugger > > available. > > > > > > > > JK > > > > > > > > _ > > > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] > > On Behalf Of Benjamin Sterling > > Sent: Thursday, January 03, 2008 10:19 AM > > To: jquery-en@googlegroups.com > > Subject: [jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite > > > > > > > > In IE I use a combination of DebugBar, IEDevelopemnt toolbar and Opera > > (IE and Opera use more or less that same javascript engine and Opera > > has a nice Error console). I also us the iLogger plugin[1] > > > > http://trac.asterisk2billing.org/cgi-bin/trac.cgi/browser/tags/1.3.1/A > > 2BCust > > omer_UI/javascript/jquery/ilogger.js?rev=462 > > > > On 1/3/08, Christof Donat < [EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > What debug tools do you all use? [...] How about tools for IE? > > > Is there anything you'd reccomend? > > > > alert() > > > > Christof > > > > > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite
In IE I use a combination of DebugBar, IEDevelopemnt toolbar and Opera (IE and Opera use more or less that same javascript engine and Opera has a nice Error console). I also us the iLogger plugin[1] http://trac.asterisk2billing.org/cgi-bin/trac.cgi/browser/tags/1.3.1/A2BCustomer_UI/javascript/jquery/ilogger.js?rev=462 On 1/3/08, Christof Donat <[EMAIL PROTECTED]> wrote: > > > Hi, > > > What debug tools do you all use? [...] How about tools for IE? > > Is there anything you'd reccomend? > > alert() > > Christof > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: jQuery Incorrectly Identified as a Virus
Thanks for the heads up Rey. On 1/1/08, Rey Bango <[EMAIL PROTECTED]> wrote: > > > Just as an FYI, some AV products are incorrectly identifying certain JS > libs, including jQuery as a virus. This is a false positive as reported > here: > > http://cybernetnews.com/2007/12/31/jssnza-virus-is-false-positive/ > > It seems to be associated to packing the libs. Please make a note in > case you get questions about that. > > Rey > jQuery Project > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
o is the Object/Array r is for random If the randomized option is set to true, line 224 will "shuffle" the Object/Array. On 12/30/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > ok i think i woudl like to do that - have him append a number to the > beginnign of each file. but i am not sure i follow your code on line 223. > > what are o and r in your function? > and what is goign on in this function? > > > > bmsterling wrote: > > > > Well, like I said, as of right now, can do sets, but if he/she is > willing > > to > > append a number infront of the file names you can probably do a sort and > > get > > it in order. > > > > The best place in the code to do that is at about line 223, just swap > out > > the if statement there with your sort code. > > > > On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> really? man that could really be a problem for me then. he needs > them > >> to > >> be in a specific order. wish i knew that before i started. > >> > >> > >> bmsterling wrote: > >> > > >> > At best, you can set it to randomize the returned json, but with the > >> > current > >> > set up, you can't order it or grab a certain set. > >> > > >> > On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > >> >> > >> >> ok so it is working well but the client is asking how he can change > >> the > >> >> order > >> >> of the pictures. it seems like with flickr you can add photos to > >> "sets" > >> >> and > >> >> set a specific order, but there doesnt seem to be an rss feed for > >> "sets", > >> >> only for tagged photos. but there seems to be no way to set the > order > >> of > >> >> tagged photos. > >> >> > >> >> how can i make this work fro my client? > >> >> > >> >> > >> >> bmsterling wrote: > >> >> > > >> >> > I looks fine to me, can you send me a screen shot of the issue? > >> >> > > >> >> > On 12/22/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> >> > >> >> >> > >> >> >> > >> >> >> ok so i just dropped the code into a site template and it seems > to > >> >> work > >> >> >> fine > >> >> >> in IE but in firefox, it displays the gallery over and over again > >> with > >> >> >> weird > >> >> >> layout. can youplease take a look? the url is > >> >> >> http://beta.asset-guardians.com/portfolio.html > >> >> >> http://beta.asset-guardians.com/portfolio.html > >> >> >> > >> >> >> you can see all the code by just doign a view source. > >> >> >> > >> >> >> any help would be greatly appreciated! > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14474371.html > >> >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> >> Nabble.com > >> >> >> . > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > -- > >> >> > Benjamin Sterling > >> >> > http://www.KenzoMedia.com > >> >> > http://www.KenzoHosting.com > >> >> > http://www.benjaminsterling.com > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14508959.html > >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> Nabble.com > >> >> . > >> >> > >> >> > >> > > >> > > >> > -- > >> > Benjamin Sterling > >> > http://www.KenzoMedia.com > >> > http://www.KenzoHosting.com > >> > http://www.benjaminsterling.com > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14509070.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com > >> . > >> > >> > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14549408.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Chaining methods and Debugging?
Mike, Is there a particular problem that you are trying to debug? In the beginning, I would put console.log in the callbacks (if the method had one) and that allowed me to see when one thing was be executed. Another tip that should probably help, instead of doing. $('p').css('color','red').slideDown().css('font-weight', 'bold'); do: $('p') .css('color','red') .slideDown() .css('font-weight', 'bold'); This, to me, makes it a little more human readable and easier to comment out a line. On 12/27/07, Mike Schinkel <[EMAIL PROTECTED]> wrote: > > > Hi all: > > I'm relatively new to jQuery and I see chaining methods touted as one of > it's best features. However, I fine it very hard to debug a chained > method > because of inability to see the intermedia states in Firebug. It > currently > seems to me to be one of those "sounded like a great idea at the time but > in > use not very practical." > > Does anyone else feel this way about chained methods and/or is there a way > to step through the chain and see the intermediate states and results on > the > page while debugging? > > Thanks in advance. > > -- > -Mike Schinkel > http://www.mikeschinkel.com/blogs/ > http://www.welldesignedurls.org > http://atlanta-web.org > > P.S. Don't take this as criticism of jQuery; and am quite enjoying using > it > and generally quite like its architecture. > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
Change line 193 to: var $a = $('').attr('href',photos[i]['full']['url']); On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > ok so the other thing the client was requesting was to be able to get > captions into the lightbox effect. i know that i just need to add the > caption to the title attribute of the a tags. and it looks like the > plugin > pulls the flickr caption as the alt tag for the image but how could i have > it set the title tag for each a tag to the same value as the alt tag for > each image? > > > bmsterling wrote: > > > > At best, you can set it to randomize the returned json, but with the > > current > > set up, you can't order it or grab a certain set. > > > > On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> ok so it is working well but the client is asking how he can change the > >> order > >> of the pictures. it seems like with flickr you can add photos to > "sets" > >> and > >> set a specific order, but there doesnt seem to be an rss feed for > "sets", > >> only for tagged photos. but there seems to be no way to set the order > of > >> tagged photos. > >> > >> how can i make this work fro my client? > >> > >> > >> bmsterling wrote: > >> > > >> > I looks fine to me, can you send me a screen shot of the issue? > >> > > >> > On 12/22/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > >> >> > >> >> ok so i just dropped the code into a site template and it seems to > >> work > >> >> fine > >> >> in IE but in firefox, it displays the gallery over and over again > with > >> >> weird > >> >> layout. can youplease take a look? the url is > >> >> http://beta.asset-guardians.com/portfolio.html > >> >> http://beta.asset-guardians.com/portfolio.html > >> >> > >> >> you can see all the code by just doign a view source. > >> >> > >> >> any help would be greatly appreciated! > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14474371.html > >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> Nabble.com > >> >> . > >> >> > >> >> > >> > > >> > > >> > -- > >> > Benjamin Sterling > >> > http://www.KenzoMedia.com > >> > http://www.KenzoHosting.com > >> > http://www.benjaminsterling.com > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14508959.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com > >> . > >> > >> > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14509107.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
Well, like I said, as of right now, can do sets, but if he/she is willing to append a number infront of the file names you can probably do a sort and get it in order. The best place in the code to do that is at about line 223, just swap out the if statement there with your sort code. On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > really? man that could really be a problem for me then. he needs them > to > be in a specific order. wish i knew that before i started. > > > bmsterling wrote: > > > > At best, you can set it to randomize the returned json, but with the > > current > > set up, you can't order it or grab a certain set. > > > > On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> ok so it is working well but the client is asking how he can change the > >> order > >> of the pictures. it seems like with flickr you can add photos to > "sets" > >> and > >> set a specific order, but there doesnt seem to be an rss feed for > "sets", > >> only for tagged photos. but there seems to be no way to set the order > of > >> tagged photos. > >> > >> how can i make this work fro my client? > >> > >> > >> bmsterling wrote: > >> > > >> > I looks fine to me, can you send me a screen shot of the issue? > >> > > >> > On 12/22/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > >> >> > >> >> ok so i just dropped the code into a site template and it seems to > >> work > >> >> fine > >> >> in IE but in firefox, it displays the gallery over and over again > with > >> >> weird > >> >> layout. can youplease take a look? the url is > >> >> http://beta.asset-guardians.com/portfolio.html > >> >> http://beta.asset-guardians.com/portfolio.html > >> >> > >> >> you can see all the code by just doign a view source. > >> >> > >> >> any help would be greatly appreciated! > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14474371.html > >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> Nabble.com > >> >> . > >> >> > >> >> > >> > > >> > > >> > -- > >> > Benjamin Sterling > >> > http://www.KenzoMedia.com > >> > http://www.KenzoHosting.com > >> > http://www.benjaminsterling.com > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14508959.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com > >> . > >> > >> > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14509070.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
At best, you can set it to randomize the returned json, but with the current set up, you can't order it or grab a certain set. On 12/26/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > ok so it is working well but the client is asking how he can change the > order > of the pictures. it seems like with flickr you can add photos to "sets" > and > set a specific order, but there doesnt seem to be an rss feed for "sets", > only for tagged photos. but there seems to be no way to set the order of > tagged photos. > > how can i make this work fro my client? > > > bmsterling wrote: > > > > I looks fine to me, can you send me a screen shot of the issue? > > > > On 12/22/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> ok so i just dropped the code into a site template and it seems to work > >> fine > >> in IE but in firefox, it displays the gallery over and over again with > >> weird > >> layout. can youplease take a look? the url is > >> http://beta.asset-guardians.com/portfolio.html > >> http://beta.asset-guardians.com/portfolio.html > >> > >> you can see all the code by just doign a view source. > >> > >> any help would be greatly appreciated! > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14474371.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com > >> . > >> > >> > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14508959.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Firefox uncaught exception - Please help
Bill, What is the url for the page with tooltip? On 12/26/07, Bill <[EMAIL PROTECTED]> wrote: > > > I have posted this message back in November and received no replies. > I am able to get JQuery Ajax ClueTips to work in Internet Explorer > fine however when I open the same page in firefox the cluetips do not > work and when I look at the error console I see the following > > Error: uncaught exception: [Exception... "Component returned failure > code: 0x805e000a [nsIXMLHttpRequest.open]" nsresult: "0x805e000a > ()" location: "JS frame :: > http://www.quidizzle.com/scripts/js/jquery.js > :: anonymous :: line 2293" data: no] > > this is an example of one of the divs I am trying to display a tooltip > from > > onMouseDown="change(event, 'down')" onMouseUp="change(event, 'up')" > onClick="window.location='layout.php?parent=83'" href="ADS/ > AlfaAD.html" rel="ADS/AlfaAD.html" > style="background-image: url('images/stories/navigation/istockimages/ > Vehicles.png')"> > > I really have no clue where to start to fix this error. > > I prefer to use Firefox, but for the time being I will have recommend > to users to use internet explorer. > > Bill > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: local ajax development?
When you say locally, are you referring to "localhost"? The error looks like you are trying to call to a different domain, can you post some code to what you got already? On 12/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I am trying to pull in some data, but I can't get it to work when I > develop locally. I keep getting the following error:[Exception... > "'Permission denied to call method XMLHttpRequest.open' when calling > method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e > (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no] > > Any ideas? > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
I looks fine to me, can you send me a screen shot of the issue? On 12/22/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > ok so i just dropped the code into a site template and it seems to work > fine > in IE but in firefox, it displays the gallery over and over again with > weird > layout. can youplease take a look? the url is > http://beta.asset-guardians.com/portfolio.html > http://beta.asset-guardians.com/portfolio.html > > you can see all the code by just doign a view source. > > any help would be greatly appreciated! > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14474371.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: using AJAX with jQuery
jjshell, The easiest way is to use the form plugin: http://www.malsup.com/jquery/form/ On 12/20/07, jjshell <[EMAIL PROTECTED]> wrote: > > > Hello, > I'm new to jQuery (and AJAX for that matter). Even if the library is > really easy to use, I'm still having problems "ajaxing". > > I'd like to understand how to post the following simple form to the > server, and send a message to the client depending on the submission > process output (telling him if what he submitted is ok or not). > > Would someone be kind enough to guide me through the steps? > > Here's the HTML bit. I am going to use jQuery with the Zend Framework > (PHP). > > > > > > > //? > > > > > > > > > > > > > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Stupid little game :)
lol That is a really nice piece of work, I see myself wasting at least the next hour on it. On 12/19/07, Stefan Petre <[EMAIL PROTECTED]> wrote: > > Benjamin Sterling wrote: > > I think that game is rigged, I lost all my money. :) > > On 12/19/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > > > > Fun, thanks for sharing :) > > > > --Erik > > > > > > On 12/19/07, Stefan Petre <[EMAIL PROTECTED] > wrote: > > > > > > > > > Hi, > > > > > > I did a small game (it was a test for a client), about 6kb of code. > > > http://www.eyecon.ro/slotmachine/ > > > > > > Stefan > > > > > > > > > > -- > Benjamin Sterling > http://www.KenzoMedia.com > http://www.KenzoHosting.com > http://www.benjaminsterling.com > > I can fix this. Give me your IP :) > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: trouble with jquery lightbox plugin
I looks like you just add a title to the A tag. On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > anybody know of a way to add captions with lightbox plugin? > > bdee1 wrote: > > > > i am trying to work with the > > http://leandrovieira.com/projects/jquery/lightbox/ jquery lightbox > plugin > > the overall effect is working well but for some reason is is not showing > > any of the images. > > > > at the top of jquery.lightbox.js file there are some lines that let you > > configure the path to the images. i don't know if this path is supposed > > to be relative to the html file or to the js file. i tried both and > still > > the images don't show. what am i missing here? > > > > -- > View this message in context: > http://www.nabble.com/trouble-with-jquery-lightbox-plugin-tp14421282s27240p14425364.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Stupid little game :)
I think that game is rigged, I lost all my money. :) On 12/19/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > > Fun, thanks for sharing :) > > --Erik > > > On 12/19/07, Stefan Petre <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > I did a small game (it was a test for a client), about 6kb of code. > > http://www.eyecon.ro/slotmachine/ > > > > Stefan > > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
>> >> > >> >> >> > >> >> > >> > http://benjaminsterling.com/articles/jqAlbumParser/common/js/jqAlbumParser.js > >> >> >> >> > > >> >> >> >> > Thanks for catching that. > >> >> >> >> > > >> >> >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> ok that should work - now one last question... i dont see > the > >> >> >> download > >> >> >> >> >> link > >> >> >> >> >> for the plugin anywhere. > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> bmsterling wrote: > >> >> >> >> >> > > >> >> >> >> >> > Check out my jqAlbumParser plugin, it will allow you to > >> parse > >> >> out > >> >> >> a > >> >> >> >> >> flickr > >> >> >> >> >> > album and then execute any additional plugin: > >> >> >> >> >> > > >> >> >> >> >> > >> >> >> >> > >> >> >> > >> >> > >> > http://benjaminsterling.com/jquery-jqalbumparser-plugin-parses-out-flickr-picasa-clientside/ > >> >> >> >> >> > > >> >> >> >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> i want to set up a photo gallery for a clients site and > >> would > >> >> >> like > >> >> >> >> to > >> >> >> >> >> use > >> >> >> >> >> >> the > >> >> >> >> >> >> http://leandrovieira.com/projects/jquery/lightbox/Jquery > >> >> >> LightBox > >> >> >> >> >> plugin > >> >> >> >> >> >> or somethign similar. that par is easy but i would like > >> to > >> >> be > >> >> >> able > >> >> >> >> to > >> >> >> >> >> >> use > >> >> >> >> >> >> images from flickr. that way the client would be able > to > >> >> update > >> >> >> >> the > >> >> >> >> >> >> images > >> >> >> >> >> >> in the gallery whenever he needs to. > >> >> >> >> >> >> > >> >> >> >> >> >> has anyone done something like this or can suggest how > to > >> go > >> >> >> about > >> >> >> >> it? > >> >> >> >> >> >> -- > >> >> >> >> >> >> View this message in context: > >> >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> > >> >> >> > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14418944.html > >> >> >> >> >> >> Sent from the jQuery General Discussion mailing list > >> archive > >> >> at > >> >> >> >> >> >> Nabble.com > >> >> >> >> >> >> . > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> > > >> >> >> >> >> > > >> >> >> >> >> > -- > >> >> >> >> >> > Benjamin Sterling > >> >> >> >> >> > http://www.KenzoMedia.com > >> >> >> >> >> > http://www.KenzoHosting.com > >> >> >> >> >> > http://www.benjaminsterling.com > >> >> >> >> >> > > >> >> >> >> >> > > >> >> >> >> >> > >> >> >> >> >> -- > >> >> >> >> >> View this message in context: > >> >> >> >> >> > >> >> >> >> > >> >> >> > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420329.html > >> >> >> >> >> Sent from the jQuery General Discussion mailing list > archive > >> at > >> >> >> >> >> Nabble.com > >> >> >> >> >> . > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > -- > >> >> >> >> > Benjamin Sterling > >> >> >> >> > http://www.KenzoMedia.com > >> >> >> >> > http://www.KenzoHosting.com > >> >> >> >> > http://www.benjaminsterling.com > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > >> >> >> >> -- > >> >> >> >> View this message in context: > >> >> >> >> > >> >> >> > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420823.html > >> >> >> >> Sent from the jQuery General Discussion mailing list archive > at > >> >> >> >> Nabble.com > >> >> >> >> . > >> >> >> >> > >> >> >> >> > >> >> >> > > >> >> >> > > >> >> >> > -- > >> >> >> > Benjamin Sterling > >> >> >> > http://www.KenzoMedia.com > >> >> >> > http://www.KenzoHosting.com > >> >> >> > http://www.benjaminsterling.com > >> >> >> > > >> >> >> > > >> >> >> > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14422621.html > >> >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> >> Nabble.com > >> >> >> . > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > -- > >> >> > Benjamin Sterling > >> >> > http://www.KenzoMedia.com > >> >> > http://www.KenzoHosting.com > >> >> > http://www.benjaminsterling.com > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14423425.html > >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> Nabble.com > >> >> . > >> >> > >> >> > >> > > >> > > >> > -- > >> > Benjamin Sterling > >> > http://www.KenzoMedia.com > >> > http://www.KenzoHosting.com > >> > http://www.benjaminsterling.com > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14423767.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com > >> . > >> > >> > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14424662.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
No I don't how to center the image in the LI without doing a bunch of math, but what I normally do in my css is set the width and height of the LI and set the overflow:hidden. I am sure there is some other css hackery that can be done, but I am not an expert. On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > oh ok i see what you mean now. seems to work. now of course if i use one > of > the other sizes, the pic are no longer uniform in width. so is there a > way > that i could style it so that the li's are always 200px in width with the > image centered inside it? > > i tried adding: > $('li', this).css("width","140px"); > > but it didn't seem to work. > > > bmsterling wrote: > > > > You would do something like: > > > > $('a.jqAlbumParser').jqAlbumParser({ > > tnSize:1 > > }); > > > > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> where do i find that? i don't see those lines in the js file. > >> > >> > >> bmsterling wrote: > >> > > >> > Set the tnSize param to 0, 1, 2 for a different size: > >> > > >> > * @param Integer tnSize > >> > * This param takes in 0, 1,or 2 and will reference one > of > >> the > >> > * thumbnail spots for picasa or flickr > >> > * picasa: 0 == 72x48, 1 == 144x66, 2 == 288x192 > >> > * flickr: 0 == 75x75 or 1 == 100 on long side or 2 > == > >> 240 > >> > on long side > >> > > >> > You will have to see which one works best for you. > >> > > >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > >> >> > >> >> any way i can make the thumbnails larger? or is that just the size > >> they > >> >> come > >> >> in from flickr? > >> >> > >> >> > >> >> > >> >> bmsterling wrote: > >> >> > > >> >> > Cool; I have not tested it using the lightbox plugin, can you let > me > >> >> know > >> >> > how it turns out? > >> >> > > >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> >> > >> >> >> > >> >> >> > >> >> >> nevermind my last post about not understanding yoru code - that > was > >> >> just > >> >> >> me > >> >> >> being stupid. i just looked at the lightbox plugin in more > detail > >> and > >> >> >> answered my own questions duh. > >> >> >> > >> >> >> > >> >> >> > >> >> >> bmsterling wrote: > >> >> >> > > >> >> >> > I guess a download link would have been useful: > >> >> >> > > >> >> >> > >> >> > >> > http://benjaminsterling.com/articles/jqAlbumParser/common/js/jqAlbumParser.js > >> >> >> > > >> >> >> > Thanks for catching that. > >> >> >> > > >> >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> ok that should work - now one last question... i dont see the > >> >> download > >> >> >> >> link > >> >> >> >> for the plugin anywhere. > >> >> >> >> > >> >> >> >> > >> >> >> >> bmsterling wrote: > >> >> >> >> > > >> >> >> >> > Check out my jqAlbumParser plugin, it will allow you to > parse > >> out > >> >> a > >> >> >> >> flickr > >> >> >> >> > album and then execute any additional plugin: > >> >> >> >> > > >> >> >> >> > >> >> >> > >> >> > >> > http://benjaminsterling.com/jquery-jqalbumparser-plugin-parses-out-flickr-picasa-clientside/ > >> >> >> >> > > >> >> >> >> > On
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
You would do something like: $('a.jqAlbumParser').jqAlbumParser({ tnSize:1 }); On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > where do i find that? i don't see those lines in the js file. > > > bmsterling wrote: > > > > Set the tnSize param to 0, 1, 2 for a different size: > > > > * @param Integer tnSize > > * This param takes in 0, 1,or 2 and will reference one of > the > > * thumbnail spots for picasa or flickr > > * picasa: 0 == 72x48, 1 == 144x66, 2 == 288x192 > > * flickr: 0 == 75x75 or 1 == 100 on long side or 2 == > 240 > > on long side > > > > You will have to see which one works best for you. > > > > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> any way i can make the thumbnails larger? or is that just the size > they > >> come > >> in from flickr? > >> > >> > >> > >> bmsterling wrote: > >> > > >> > Cool; I have not tested it using the lightbox plugin, can you let me > >> know > >> > how it turns out? > >> > > >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > >> >> > >> >> nevermind my last post about not understanding yoru code - that was > >> just > >> >> me > >> >> being stupid. i just looked at the lightbox plugin in more detail > and > >> >> answered my own questions duh. > >> >> > >> >> > >> >> > >> >> bmsterling wrote: > >> >> > > >> >> > I guess a download link would have been useful: > >> >> > > >> >> > >> > http://benjaminsterling.com/articles/jqAlbumParser/common/js/jqAlbumParser.js > >> >> > > >> >> > Thanks for catching that. > >> >> > > >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> >> > >> >> >> > >> >> >> > >> >> >> ok that should work - now one last question... i dont see the > >> download > >> >> >> link > >> >> >> for the plugin anywhere. > >> >> >> > >> >> >> > >> >> >> bmsterling wrote: > >> >> >> > > >> >> >> > Check out my jqAlbumParser plugin, it will allow you to parse > out > >> a > >> >> >> flickr > >> >> >> > album and then execute any additional plugin: > >> >> >> > > >> >> >> > >> >> > >> > http://benjaminsterling.com/jquery-jqalbumparser-plugin-parses-out-flickr-picasa-clientside/ > >> >> >> > > >> >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> i want to set up a photo gallery for a clients site and would > >> like > >> >> to > >> >> >> use > >> >> >> >> the > >> >> >> >> http://leandrovieira.com/projects/jquery/lightbox/ Jquery > >> LightBox > >> >> >> plugin > >> >> >> >> or somethign similar. that par is easy but i would like to be > >> able > >> >> to > >> >> >> >> use > >> >> >> >> images from flickr. that way the client would be able to > update > >> >> the > >> >> >> >> images > >> >> >> >> in the gallery whenever he needs to. > >> >> >> >> > >> >> >> >> has anyone done something like this or can suggest how to go > >> about > >> >> it? > >> >> >> >> -- > >> >> >> >> View this message in context: > >> >> >> >> > >> >> >> > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14418944.html > >> >> >> >> Sent from the jQuery General Discussion mailing list archive > at > >> >> >> >> Nabble.com > >> >> >&g
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
Set the tnSize param to 0, 1, 2 for a different size: * @param Integer tnSize * This param takes in 0, 1,or 2 and will reference one of the * thumbnail spots for picasa or flickr * picasa: 0 == 72x48, 1 == 144x66, 2 == 288x192 * flickr: 0 == 75x75 or 1 == 100 on long side or 2 == 240 on long side You will have to see which one works best for you. On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > any way i can make the thumbnails larger? or is that just the size they > come > in from flickr? > > > > bmsterling wrote: > > > > Cool; I have not tested it using the lightbox plugin, can you let me > know > > how it turns out? > > > > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> nevermind my last post about not understanding yoru code - that was > just > >> me > >> being stupid. i just looked at the lightbox plugin in more detail and > >> answered my own questions duh. > >> > >> > >> > >> bmsterling wrote: > >> > > >> > I guess a download link would have been useful: > >> > > >> > http://benjaminsterling.com/articles/jqAlbumParser/common/js/jqAlbumParser.js > >> > > >> > Thanks for catching that. > >> > > >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > >> >> > >> >> ok that should work - now one last question... i dont see the > download > >> >> link > >> >> for the plugin anywhere. > >> >> > >> >> > >> >> bmsterling wrote: > >> >> > > >> >> > Check out my jqAlbumParser plugin, it will allow you to parse out > a > >> >> flickr > >> >> > album and then execute any additional plugin: > >> >> > > >> >> > >> > http://benjaminsterling.com/jquery-jqalbumparser-plugin-parses-out-flickr-picasa-clientside/ > >> >> > > >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> >> > >> >> >> > >> >> >> > >> >> >> i want to set up a photo gallery for a clients site and would > like > >> to > >> >> use > >> >> >> the > >> >> >> http://leandrovieira.com/projects/jquery/lightbox/ Jquery > LightBox > >> >> plugin > >> >> >> or somethign similar. that par is easy but i would like to be > able > >> to > >> >> >> use > >> >> >> images from flickr. that way the client would be able to update > >> the > >> >> >> images > >> >> >> in the gallery whenever he needs to. > >> >> >> > >> >> >> has anyone done something like this or can suggest how to go > about > >> it? > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14418944.html > >> >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> >> Nabble.com > >> >> >> . > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > -- > >> >> > Benjamin Sterling > >> >> > http://www.KenzoMedia.com > >> >> > http://www.KenzoHosting.com > >> >> > http://www.benjaminsterling.com > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420329.html > >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> Nabble.com > >> >> . > >> >> > >> >> > >> > > >> > > >> > -- > >> > Benjamin Sterling > >> > http://www.KenzoMedia.com > >> > http://www.KenzoHosting.com > >> > http://www.benjaminsterling.com > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420823.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com > >> . > >> > >> > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14422621.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
Cool; I have not tested it using the lightbox plugin, can you let me know how it turns out? On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > nevermind my last post about not understanding yoru code - that was just > me > being stupid. i just looked at the lightbox plugin in more detail and > answered my own questions duh. > > > > bmsterling wrote: > > > > I guess a download link would have been useful: > > > http://benjaminsterling.com/articles/jqAlbumParser/common/js/jqAlbumParser.js > > > > Thanks for catching that. > > > > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> ok that should work - now one last question... i dont see the download > >> link > >> for the plugin anywhere. > >> > >> > >> bmsterling wrote: > >> > > >> > Check out my jqAlbumParser plugin, it will allow you to parse out a > >> flickr > >> > album and then execute any additional plugin: > >> > > >> > http://benjaminsterling.com/jquery-jqalbumparser-plugin-parses-out-flickr-picasa-clientside/ > >> > > >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > >> >> > >> >> i want to set up a photo gallery for a clients site and would like > to > >> use > >> >> the > >> >> http://leandrovieira.com/projects/jquery/lightbox/ Jquery LightBox > >> plugin > >> >> or somethign similar. that par is easy but i would like to be able > to > >> >> use > >> >> images from flickr. that way the client would be able to update the > >> >> images > >> >> in the gallery whenever he needs to. > >> >> > >> >> has anyone done something like this or can suggest how to go about > it? > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14418944.html > >> >> Sent from the jQuery General Discussion mailing list archive at > >> >> Nabble.com > >> >> . > >> >> > >> >> > >> > > >> > > >> > -- > >> > Benjamin Sterling > >> > http://www.KenzoMedia.com > >> > http://www.KenzoHosting.com > >> > http://www.benjaminsterling.com > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420329.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com > >> . > >> > >> > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420823.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
I guess a download link would have been useful: http://benjaminsterling.com/articles/jqAlbumParser/common/js/jqAlbumParser.js Thanks for catching that. On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > ok that should work - now one last question... i dont see the download > link > for the plugin anywhere. > > > bmsterling wrote: > > > > Check out my jqAlbumParser plugin, it will allow you to parse out a > flickr > > album and then execute any additional plugin: > > > http://benjaminsterling.com/jquery-jqalbumparser-plugin-parses-out-flickr-picasa-clientside/ > > > > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> i want to set up a photo gallery for a clients site and would like to > use > >> the > >> http://leandrovieira.com/projects/jquery/lightbox/ Jquery LightBox > plugin > >> or somethign similar. that par is easy but i would like to be able to > >> use > >> images from flickr. that way the client would be able to update the > >> images > >> in the gallery whenever he needs to. > >> > >> has anyone done something like this or can suggest how to go about it? > >> -- > >> View this message in context: > >> > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14418944.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com > >> . > >> > >> > > > > > > -- > > Benjamin Sterling > > http://www.KenzoMedia.com > > http://www.KenzoHosting.com > > http://www.benjaminsterling.com > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420329.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
By default, the output will look something like ... And you can style it how ever you want. If you want them to click to open to lightbox, you would do something like: $(".jqAlbumParser").jqAlbumParser({ pluginExec : function(){ $('a', this).lightBox();// this refers to the list just created } }); If you want to the plugin to execute on page load, do: $(".jqAlbumParser").jqAlbumParser({ pluginExec : function(){ $('a', this).lightBox();// this refers to the list just created } }).click(); Of course all that is wrapped in the .ready() method. On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > that looks promising but i don't think i need to hook the results into a > plugin - i just want to output the results as links for use with lightbox. > so if i don't hook into another plugin, how do i access the results? > > > bdee1 wrote: > > > > yea i came across that one too but i don't really care for the style of > > their lightbox effect. i greatly prefer the type of the one i posted > > above. > > > > really if i were to use the jquery lightbox effect then i guess all i > > would need is a jquery plugin or script that would allow me to pull a > set > > of image thumbnails and full size images from a flicker set and output > > those thumbnails and links with a class="lightbox" on them. > > > > i am looking at the flickr api to see if i can just build something but > it > > would be much easier if i could find a plugin to do this. > > > > > > Priest, James (NIH/NIEHS) [C] wrote: > >> > >> > >>> -Original Message- > >>> From: bdee1 [mailto:[EMAIL PROTECTED] ] > >> > >>> i want to set up a photo gallery for a clients site and would > >>> like to use the > >>> http://leandrovieira.com/projects/jquery/lightbox/ Jquery > >>> LightBox plugin > >>> or somethign similar. that par is easy but i would like to > >>> be able to use > >>> images from flickr. that way the client would be able to > >> > >> > >> I'm digging around looking for the same thing: > >> > >> http://www.projectatomic.com/en/flickr.htm > >> > >> Still in alpha though... > >> > >> Jim > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14419914.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?
Check out my jqAlbumParser plugin, it will allow you to parse out a flickr album and then execute any additional plugin: http://benjaminsterling.com/jquery-jqalbumparser-plugin-parses-out-flickr-picasa-clientside/ On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote: > > > > i want to set up a photo gallery for a clients site and would like to use > the > http://leandrovieira.com/projects/jquery/lightbox/ Jquery LightBox plugin > or somethign similar. that par is easy but i would like to be able to use > images from flickr. that way the client would be able to update the > images > in the gallery whenever he needs to. > > has anyone done something like this or can suggest how to go about it? > -- > View this message in context: > http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14418944.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: jquery json and zend_json
wrap it in [] like: [{"job_Description":"My Job","job_Notes":"My jobs notes are here."}] On 12/17/07, jforth <[EMAIL PROTECTED]> wrote: > > > I'm running php 5.2.5 > > in firebug I get : > > invalid label > > {"job_Description":"My Job","job_Notes":"My jobs notes are here."} > > On Dec 12, 1:38 pm, "Benjamin Sterling" > <[EMAIL PROTECTED]> wrote: > > Two quick questions: > > what version of php are you running? I believe that zend only supports > > php5, but I could be wrong on that. > > > > In firebug, what is being returned in the "response" tab? > > > > On 12/12/07, jforth <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > I'm trying to test something here and having issues getting it to > > > work. > > > > > here's my jquery script : // I should get an alert object if it works? > > > but in firebug all I get is invalid label. > > > > > var url = "http://127.0.0.1/projects/micro-printing.com/projects/ > > > micro-server/index.php/client_api/test?callback=?"; > > > $.getJSON(url, > > > function(data){ > > > alert(data); > > > }); > > > > > heres the json that I'm getting using zend_json: > > > > > {"job_Description":"My Job","job_Notes":"My jobs notes are here."} > > > > > and here's the php in case it helps > > > > > $json = new Zend_Json(); > > > $job_data = array( > > > 'job_Description' => 'My Job' , > > > 'job_Notes' => 'My jobs notes are here.'); > > > > > echo $json->encode($job_data); > > > > -- > > Benjamin > Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.comhttp://www.benjaminsterling.com > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] jQuery in the wild
Stumbled across this site today that is actually quite impressive: http://drawter.com/ -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: [ANNOUNCE] In need of jQuery UI testers
Very good call; I will be testing. On 12/14/07, Rey Bango <[EMAIL PROTECTED]> wrote: > > > jQuery UI is the project's initiative to bring a rich set of UI controls > to the jQuery community. jQuery UI v1.0 was released earlier this year > and didn't quite meet the quality standards we had hoped for. The UI > team is now on a mission to correct any of the issues from the previous > release and produce a new release (v1.1) which will address the prior > concerns and improve the overall library. > > We are asking the jQuery community to assist in this process by > downloading the current code in SVN and reporting any issues to the > jQuery UI mailing list. The list can be found here: > > http://groups.google.com/group/jquery-ui > > The most up-to-date source code for the library can be found here: > > http://jqueryjs.googlecode.com/svn/trunk/ui/current/ > > We would really appreciate as many people testing the code as possible > so any kinks can be worked out. We hope to make a release later this > month and based on the results of testing, we will determine if it will > be a beta or a full release. Please note that we are taking this testing > cycle extremely seriously and will only release a full v1.1 once we feel > it's production ready. > > As always, thanks so much for your support and we look forward to your > feedback. > > Rey > > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: loading xml in IE6/IE7 on a CD
Not yet, I think I am going to have to check to see if it is IE and use IE specific code. I'll let you know what I come up with. On 12/13/07, Bernd Matzner <[EMAIL PROTECTED]> wrote: > > > Hi Benjamin, > > any progress on your xml loading problem in IE locally? I'll be > fiddling with it some more tonight, so I'll let you know anything I > find out. > > Bernd > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: loading xml in IE6/IE7 on a CD
Sadly we can't convert to json because the site is already built out and all the code is using xpath. I am sure there is an easy way to convert the xml doc to json and then make the changes to the code, but I don't think I can get that cleared without putting on a song and dance. On 12/12/07, Bernd Matzner <[EMAIL PROTECTED]> wrote: > > > Hi Benjamin, > > I'm currently struggling with a similar error. Possibly the xml data > isn't transmitted as XML? > > $.ajax({ > type: 'GET', > url: xmlFile, > dataType: 'xml', > success: function(){}, > error: function(x, s, e){} > }); > > If I use JSON, things are working nicely. Any chance to change your > xmlfile to json format? > > This > > shouldn't have anything to do with the error. It's supposed to work > around the loading of scripts, but it doesn't seem to have any effect > when I use it with external scripts (such as jquery.js). So, to run it > gracefully from a CD in IE, I use http://www.phdcc.com/shellrun/ > > Bernd > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: [PLUGIN] JAddTo
Nice work Jason. On 12/12/07, Jason Levine <[EMAIL PROTECTED]> wrote: > > > > D'oh! Thanks for pointing that out. It should be fixed now. > > -- > View this message in context: > http://www.nabble.com/-PLUGIN--JAddTo-tp14302539s27240p14303233.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: jquery json and zend_json
Two quick questions: what version of php are you running? I believe that zend only supports php5, but I could be wrong on that. In firebug, what is being returned in the "response" tab? On 12/12/07, jforth <[EMAIL PROTECTED]> wrote: > > > I'm trying to test something here and having issues getting it to > work. > > here's my jquery script : // I should get an alert object if it works? > but in firebug all I get is invalid label. > > var url = "http://127.0.0.1/projects/micro-printing.com/projects/ > micro-server/index.php/client_api/test?callback=?"; > $.getJSON(url, > function(data){ > alert(data); > }); > > heres the json that I'm getting using zend_json: > > {"job_Description":"My Job","job_Notes":"My jobs notes are here."} > > and here's the php in case it helps > > $json = new Zend_Json(); > $job_data = array( > 'job_Description' => 'My Job' , > 'job_Notes' => 'My jobs notes are here.'); > > echo $json->encode($job_data); > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: loading xml in IE6/IE7 on a CD
Wondering if anyone has a solution for this? On Dec 11, 9:49 pm, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > Hey guys, > I know I did this before with jQuery v1.1 where I was able to load an xml > file in IE6/IE7 on a cd, but can't find the code I wrote. Currently I am > doing the code below and I can get it to work in FX, but not IE. > > IE7 is giving me an error of: Error: Permission denied > IE6 is giving me an error of: parsererror: undefined > > $.ajax({ > url: xmlFile, > dataType: 'xml', > async : false, > success: function(){}, > error: function(x, s, e){} > }); > > I put the below in the head of the htm file thinking that it would help, but > no luck. > > > > -- > Benjamin > Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.comhttp://www.benjaminsterling.com
[jQuery] loading xml in IE6/IE7 on a CD
Hey guys, I know I did this before with jQuery v1.1 where I was able to load an xml file in IE6/IE7 on a cd, but can't find the code I wrote. Currently I am doing the code below and I can get it to work in FX, but not IE. IE7 is giving me an error of: Error: Permission denied IE6 is giving me an error of: parsererror: undefined $.ajax({ url: xmlFile, dataType: 'xml', async : false, success: function(){}, error: function(x, s, e){} }); I put the below in the head of the htm file thinking that it would help, but no luck. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Performance of jquery
All these questions have been covered over and over again, please search the group if you REALLY need answers: http://groups.google.com/group/jquery-en/search?group=jquery-en&q=slickspeed&qt_g=Search+this+group As Rey said: I ask that nobody respond to this as this is obvious spam/link bait. On 12/11/07, Jesse Klaasse <[EMAIL PROTECTED]> wrote: > > > These are my (total) results: > > IE7 > Prototype: 2199 ms > Mootools: 1546 ms > jQuery: 1336 ms > > FF2 > Prototype: 326 ms > Mootools: 390 ms > jQuery: 1092 ms > > SAFARI3 > Prototype: 896 ms > Mootools: 279 ms > jQuery: 452 ms > > So, there seem to be big differences between IE, Safari and FF, both in > overall DOM/Javascript speed (FF seems to be a LOT faster) and in the > different libraries. In IE jQuery is the big winner, in FF the big > loser. > > Regards, > Jesse Klaasse. > > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, December 11, 2007 3:22 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Performance of jquery > Importance: Low > > > maybe it depends on your browser and/or pc, it seems fastest when I run > the test... > > -ark > - Original Message - > From: "Sharique" <[EMAIL PROTECTED]> > To: "jQuery (English)" > Sent: Tuesday, December 11, 2007 9:10 AM > Subject: [jQuery] Performance of jquery > > > | > | Pls have a look at this test. > | http://mootools.net/slickspeed/ > | Performance of JQuery of quite low as compare to other java script > | libraries. > | -- > | Sharique > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Dropdown box (select list) with images?
Peter, There was one a while back, but I think it was only compatible with v1.1. I just check the old plugin list and could not find it. I will look in my archives, I think I download it at one point. On 12/10/07, Peter Bremer <[EMAIL PROTECTED]> wrote: > > > Is there a jQuery tool that allows me to create a downdown list > ("SELECT" in HTML terms) where I can have images in the list? For > example a select language downdown, with a flag before every language. > > I guess this would technically be a DIV that is displayed when you > click a dropdown icon, but then with all kinds of added finesses for > positioning, sizing, scrolling, selecting, etc. > > Thanks, Peter > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Nice post about jQuery Selectors by Ben Sterling
Thanks Rey. On 12/7/07, Rey Bango <[EMAIL PROTECTED]> wrote: > > > http://benjaminsterling.com/jquery-what-are-the-fastest-selector/ > > Rey > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Data containing ? at the start getting converted to jsonp.... by ajax() call
I am doing something encodeURIComponent(url) in a wordpress plugin, would that help? On 12/6/07, Ben Bennett <[EMAIL PROTECTED]> wrote: > > > Sadly. That doesn't do it either. > > I am deliberately trying to send a ? (since the bug occurred when a > user typed it into an input box that I use as the basis of an AJAX > request). The bug occurs because jQuery is treating =? as a special > string, but it can happen for mundane reasons, and there is no way to > disable the behavior. > > -ben > > On Dec 6, 11:30 am, "Benjamin Sterling" > <[EMAIL PROTECTED]> wrote: > > Ben, (its like talking to myself) > > Put cache:true into your ajax call, the ? is to prevent caching. > > > > On 12/6/07, Ben Bennett <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > Is this the wrong forum for this question? Should I take it to the > > > dev list or put it in the bug tracker? > > > > > Thanks, > > > > > -ben > > > > > On Dec 4, 2:00 pm, Ben Bennett <[EMAIL PROTECTED]> wrote: > > > > This is my first post so I really should thank everyone for a > > > > fanatastic library. > > > > > > However, I think I have found a bug... > > > > > > Using jQuery 1.2.1, if I have: > > > > > > $.ajax({ > > > > type: "POST", > > > > url: "test.html", > > > > dataType: "json", > > > > data: {query: queryString}, > > > > > > }); > > > > > > When queryString starts with a ? it will get converted to > > > > jsonp1231234124... > > > > > > This is clearly happening because of the code at line 2226 of the > full > > > > release version: > > > > // Build temporary JSONP function > > > > if ( s.dataType == "json" && (s.data && > > > > s.data.match(jsre) || s.url.match(jsre)) ) { > > > > jsonp = "jsonp" + jsc++; > > > > > > // Replace the =? sequence both in the query > > > > string and the data > > > > if ( s.data ) > > > > s.data = s.data.replace(jsre, "=" + > > > > jsonp); > > > > s.url = s.url.replace(jsre, "=" + jsonp); > > > > > > ... > > > > > > But I see no way to prevent that from happening. > > > > > > Now... one might suggest that I should avoid a leading ? in my > option > > > > names. But I am taking them from input boxes and ? is a valid thing > > > > for a user to type. Unfortunately there seems to be no good way to > > > > escape the string to prevent this behavior (without teaching the > > > > called code how to unescape it). > > > > > > Also, the docs don't mention that the =? escaping happens to a json > > > > dataType... I see it for jsonp. > > > > > > Is this behavior intentional? If so, there should be a way to > > > > suppress it or at a way for the calling code to escape the values to > > > > cause a leading ? to be passed to the server. > > > > > > -ben > > > > -- > > Benjamin > Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.comhttp://www.benjaminsterling.com > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: xml parsing bug or feature?
Thanks for explaining that Dave. On 12/6/07, Equand <[EMAIL PROTECTED]> wrote: > > > yeah i'm using ajax ) thank you very much, now i see i was using > pretty unstable selector, thank you ;) > > On Dec 6, 7:17 pm, David Serduke <[EMAIL PROTECTED]> wrote: > > jQuery only takes two parameters on $(). (the second one is optional) > > > > $(expression, context) > > > > http://docs.jquery.com/Core/jQuery#expressioncontext > > > > so your first attempt had 3 parameters. The last one was ignored. > > The second one became the context so jQuery was looking for a tag > > in the string "Data" which of course it couldn't find. > > > > Maybe what you wanted was $("item,Data", xml) which will return a last > > of item and Data in one jQuery object. It's a matter of placing the > > quotes in the right place. > > > > One last comment, jQuery can look through XML but can't parse it so: > > > > $("text") won't work in IE and is buggy in > > FF. The xml created by an ajax request should work fine though. > > > > David > > > > On Dec 6, 8:37 am, Equand <[EMAIL PROTECTED]> wrote: > > > > > but what's the difference? > > > do i need to write separate parsing functions for one and several > > > items? > > > or i can use $("Data item", xml) selector for both cases? > > > > > On Dec 6, 5:31 pm, "Benjamin Sterling" > > > > > <[EMAIL PROTECTED]> wrote: > > > > Equand, > > > > I think you need to do: > > > > > > $("Data item", xml).size() > > > > > > On 12/6/07, Equand <[EMAIL PROTECTED]> wrote: > > > > > > > when in the root node of xml file i have only one node with text > in > > > > > it, when i parse this xml using jquery, i' am unable to get the > > > > > included node... > > > > > for example > > > > > > > > > > text > > > > > > > > > > > > when i try then $("item", "Data", xml).size() > > > > > i will receive 0. > > > > > why that happens? that's quite illogical... > > > > > > -- > > > > Benjamin > Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.comhttp://www.benjam...Hide > quoted text - > > > > > - Show quoted text - > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com
[jQuery] Re: Data containing ? at the start getting converted to jsonp.... by ajax() call
Ben, (its like talking to myself) Put cache:true into your ajax call, the ? is to prevent caching. On 12/6/07, Ben Bennett <[EMAIL PROTECTED]> wrote: > > > Is this the wrong forum for this question? Should I take it to the > dev list or put it in the bug tracker? > > Thanks, > > -ben > > On Dec 4, 2:00 pm, Ben Bennett <[EMAIL PROTECTED]> wrote: > > This is my first post so I really should thank everyone for a > > fanatastic library. > > > > However, I think I have found a bug... > > > > Using jQuery 1.2.1, if I have: > > > > $.ajax({ > > type: "POST", > > url: "test.html", > > dataType: "json", > > data: {query: queryString}, > > > > }); > > > > When queryString starts with a ? it will get converted to > > jsonp1231234124... > > > > This is clearly happening because of the code at line 2226 of the full > > release version: > > // Build temporary JSONP function > > if ( s.dataType == "json" && (s.data && > > s.data.match(jsre) || s.url.match(jsre)) ) { > > jsonp = "jsonp" + jsc++; > > > > // Replace the =? sequence both in the query > > string and the data > > if ( s.data ) > > s.data = s.data.replace(jsre, "=" + > > jsonp); > > s.url = s.url.replace(jsre, "=" + jsonp); > > > > ... > > > > But I see no way to prevent that from happening. > > > > Now... one might suggest that I should avoid a leading ? in my option > > names. But I am taking them from input boxes and ? is a valid thing > > for a user to type. Unfortunately there seems to be no good way to > > escape the string to prevent this behavior (without teaching the > > called code how to unescape it). > > > > Also, the docs don't mention that the =? escaping happens to a json > > dataType... I see it for jsonp. > > > > Is this behavior intentional? If so, there should be a way to > > suppress it or at a way for the calling code to escape the values to > > cause a leading ? to be passed to the server. > > > > -ben > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com