[jQuery] Re: [TUTORIAL] Create a professional interface for your web applications using jQuery

2008-10-21 Thread Shawn
Not a bad tutorial. ! But... :) In your code you are doing things like # var windowHeight = document.documentElement.clientHeight; # var menuHeight = document.getElementById("menu").clientHeight; You can use jQuery here too: var windowHeight = $(window).height(); var menuHeight = $("#men

[jQuery] Highlight text, then apply element around selection

2008-10-21 Thread Nic Hubbard
I would like to be able to select some text with my cursor, then click a button to execute code that will wrap that selection in a tag that I specify, such as a span. I know this is possible, but I am a little lost as to where I should start.

[jQuery] Re: Help with Superfish

2008-10-21 Thread Joel Birch
Given that you are using unique images for each menu item, can you not just round the corner of the image that appears last in the menu? I think I'm missing something. Maybe the answer could be to add a class of 'last' to that menu item's anchor and apply the corner image to the top right of that

[jQuery] Re: Close current after delay

2008-10-21 Thread Joel Birch
fadeOut() is a core jQuery method, not a Superfish option. Also, Superfish does not support animations for closing the submenus, as I've never been able to get that working in a completely non-buggy way - likely due to my own incompetence. Part of the reason I haven't persevered to get that optio

[jQuery] Re: Jquery load not getting updated pages.....

2008-10-21 Thread Stever
Bil, Thanks for the help. I think I can figure it out from here.I have several options The server is Apache and I am using perl cgi on the server. However the confusion I have is that on the Jquery load you aren't using the server get/post methods. You just give it a URL. And the page I a

[jQuery] Re: Close current after delay

2008-10-21 Thread [EMAIL PROTECTED]
Hi! I try from myself to add the fadeout effect also on the other menu on mouseout, but I cant worki it out. Is fadeOut not a superfish function? I try this: fadeOut: 'slow', Where I am wrong? Dom On Oct 21, 2:54 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thx a lot! > So simple and

[jQuery] Re: Fly out nav menu with a div instead of ul?

2008-10-21 Thread Jeffrey Kretz
How about something like this? (Completely untested, sorry) Nav Data Lots of content here. More Nav Data Lots of content here. div.nav { float:left;position:relative; } div.navflyout { display:none;position:absolute;left:0px;top:25px; } $(document).ready(function(){

[jQuery] Fly out nav menu with a div instead of ul?

2008-10-21 Thread dsizemore
I'm looking for a solution that will allow me to display a fly out container once a navigation menu item is clicked. This is essentially the same idea as a normal fly out unordered list menu but I'd like to have a div fly out in which I can add text, links and possibly and image or two just like y

[jQuery] jQuery.getScript problems on IE 7

2008-10-21 Thread Alexsandro_xpt
My IE 7 and 6 get a error while load protoculous-effects-shrinkvars.js by jQuery.getScript method. IE popup this error message: Line: 310750026 Char: 72353 Error: 'null' is null or not an object Code: 0 How to fix it using jQuery.getScript? Prototype Framework doesn't like jQuery? PS.: In F

[jQuery] Re: BlockUI Plugin - FadeIn?

2008-10-21 Thread tallvanilla
The message layer (lyr3) display style is "none" when it's created, which is why the show() method has to be called on it. If changing show() to fadeIn() works there, you should be able to modify the overlay layer (lyr2) as well by setting it's initial display style to "none" (around line 146) and

[jQuery] BlockUI: oversized overlay bug in IE web browsers ( demo included )

2008-10-21 Thread tallvanilla
Thanks Mike! But again, the solutions being suggested are outside of the plugin itself. Changing a doc type is easy, but not always practical because of other effects it may have on the page/site. It's really up to BlockUI to address this. Ideally, a plugin should be designed to account for the

[jQuery] Re: My first plugin ... need some help.

2008-10-21 Thread shapper
Hi, I will try it. Sorry, but I am no expert with JQuery and I am just trying to pull this off. I understand that a plugin should have many more options but my intention is to have this plugin so I can use across my projects and with time improve it. It would be easier to make this without being

[jQuery] Re: what is difference between $(document).height() and $(window).height() ?

2008-10-21 Thread tallvanilla
You're right. I'm an idiot. I was thinking of the width/height methods from the Dimensions plugin. Isn't it part of the jQuery core now? I thought it would behave the same as it used to. Sorry for dragging this out. I should have known better, because I recently wrote a function using $ (window

[jQuery] slideToggle content disappears in IE

2008-10-21 Thread flycast
I have this page at: http://www.hopecc.net/ministries/adult I use slideToggles to show and hide somecontent. The problem is that in IE only any content that is inside tags display properly while the slide is happening but when the slide completes the content disappears. It works fine in FF and S

[jQuery] Re: My first plugin ... need some help.

2008-10-21 Thread ricardobeat
Install the Firebug extension for Firefox so you can debug your code easily: www.getfirebug.com I don't mean it's not good for a plug-in, I mean it's a very specific behaviour. To be useful to a large number of people it would need to be very flexible and customizable. On your test page, you for

[jQuery] Re: BlockUI Plugin - FadeIn?

2008-10-21 Thread Mike Alsup
The page will still be blocked because the "show" calls around line 200 are for the message layer. The overlay is a different layer and does not have any fadeIn facilities built into the plugin at this time. So if you change those two show calls to fadeIn, you should see a fade for your message,

[jQuery] Re: what is difference between $(document).height() and $(window).height() ?

2008-10-21 Thread ricardobeat
Definitely they are not the same. the window height is the viewport height, the document height is the body height, the contents. Any website with jQuery (try jquery.com) should show you the difference. They will only be the same if the page's content is smaller than the window size. - ricardo

[jQuery] Re: BUG: oversized overlay in IE web browsers ( demo included )

2008-10-21 Thread Mike Alsup
> Thanks for all the suggestions guys, but I've kind of narrowed my > preference down to blockUI for the job at hand. Believe me, I've tried > them all, and they all have their share of quirks. Does anyone have a > suggestion for fixing the blockUI bug? If not, do know how I can > contact it's aut

[jQuery] Re: Catching 401 errors to $.ajax calls

2008-10-21 Thread Mike Alsup
> I would like to use $.ajaxSetup to set up a global error handler that > knows how to deal with HTTP 401 codes ("Authentication required"). I > am enhancing a few tables with AJAX using jQuery but I made my backend > send back an HTTP error code 401 to force authentication if the user's > login s

[jQuery] Catching 401 errors to $.ajax calls

2008-10-21 Thread Christoph Haas
Fellow earthicans, I would like to use $.ajaxSetup to set up a global error handler that knows how to deal with HTTP 401 codes ("Authentication required"). I am enhancing a few tables with AJAX using jQuery but I made my backend send back an HTTP error code 401 to force authentication if the user

[jQuery] Re: Jquery load not getting updated pages.....

2008-10-21 Thread Bil Corry
Stever wrote on 10/21/2008 6:33 PM: > How do I update the headers. Apparently this is done from the server > side. It depends on your server-side language and web server. Apache can set headers using mod_headers: http://httpd.apache.org/docs/2.0/mod/mod_headers.html#header Depending

[jQuery] Re: mcDropDown: any click event fire the drop down animation

2008-10-21 Thread CED
Dan, The example page works as it should, I am using the the latest listed: * Rev: 1.2.07 I had the same behavior on 2 different pages. Unfortunately there is not live example. Everything else works fine with the widget. The root menu actually animates on the top left of the page at first wh

[jQuery] Re: Jquery load not getting updated pages.....

2008-10-21 Thread Stever
Thanks for the message. Now I'll show you how new I am at this stuff. :-) How do I update the headers. Apparently this is done from the server side. Do I need to do something with the load function, (I know you said I could add a random query statement to the URL in the load), but obviously t

[jQuery] Re: what is difference between $(document).height() and $(window).height() ?

2008-10-21 Thread Ryura
1.2.6 http://support.zetaboards.com/index/ On Oct 21, 7:06 pm, tallvanilla <[EMAIL PROTECTED]> wrote: > @ryura: > What version of jQuery are you using? Anything after 1.2 (possibly > earlier) should return identical results for $(window).height() and $ > (document).height(). If not, can I see you

[jQuery] Re: My first plugin ... need some help.

2008-10-21 Thread shapper
Hi, I tried to follow your tips but I might be doing something wrong: http://www.27lamps.com/Beta/List/List.html A few questions: 1. Why isn't this good for a plugin? I fell this is really useful in forms for selecting multiple items, add them to the a list and then read that list from serve

[jQuery] Re: [autocomplete]

2008-10-21 Thread itaymesh
Alex!! Thanks for the help. Works like a charm. Hag sameach. Itay. On Oct 20, 4:56 am, "alex bodnaru" <[EMAIL PROTECTED]> wrote: > hi itay, > > it works for me, and i made a few additions, partly hebrew related. > here is my copy, and a few more will come. > > alex > > > > On Mon, Oct 20, 2008 at

[jQuery] Re: what is difference between $(document).height() and $(window).height() ?

2008-10-21 Thread tallvanilla
@ryura: What version of jQuery are you using? Anything after 1.2 (possibly earlier) should return identical results for $(window).height() and $ (document).height(). If not, can I see your test page? JR On Oct 21, 3:55 pm, Ryura <[EMAIL PROTECTED]> wrote: > Well obviously I did try it and I di

[jQuery] BLOCKUI: oversized overlay bug in IE web browsers ( demo included )

2008-10-21 Thread tallvanilla
(fixed subject to specify blockUI) On Oct 21, 10:18 am, tallvanilla <[EMAIL PROTECTED]> wrote: > Thanks for all the suggestions guys, but I've kind of narrowed my > preference down to blockUI for the job at hand. Believe me, I've tried > them all, and they all have their share of quirks. Does a

[jQuery] Re: what is difference between $(document).height() and $(window).height() ?

2008-10-21 Thread Ryura
Well obviously I did try it and I did get different results which lead me to my conclusion. Using FF3, I got ~400 for $(window).height and ~3000 for $ (document).height on a test page where the document's height was ~3000 On Oct 21, 6:48 pm, tallvanilla <[EMAIL PROTECTED]> wrote: > No, they're

[jQuery] Re: BlockUI Plugin - FadeIn?

2008-10-21 Thread tallvanilla
Chris is right. Fade-in is a visual effect only, The UI should still be blocked immediately. JR On Oct 21, 9:47 am, "chris thatcher" <[EMAIL PROTECTED]> wrote: > Shouldn't the effect still block immediately though the opacity is being > modified as an animation? > > > > On Tue, Oct 21, 2008 at

[jQuery] Re: what is difference between $(document).height() and $(window).height() ?

2008-10-21 Thread tallvanilla
No, they're exactly the same. Try it and let me know if you get different results. JR On Oct 21, 11:25 am, Ryura <[EMAIL PROTECTED]> wrote: > Actually, it seems that the document's height is the entire page's > height, while the window height is only the viewing height(ie: what > you see at th

[jQuery] Re: Atribute selector with squared brackets

2008-10-21 Thread Ariel Flesler
PHP automatically generates arrays from these kind of POST/GET keys. That's probably the main reason. On Tue, Oct 21, 2008 at 7:58 PM, ricardobeat <[EMAIL PROTECTED]> wrote: > > That's kind of what I meant to say. > > From my understanding, the CDATA rules apply if you are serving XHTML > as app

[jQuery] Re: jQuery Cycle Pager links

2008-10-21 Thread Mike Alsup
> I'm using pagerAnchorBuilder to use existing markup that contains > thumbnails of the screenshots I'm cycling through. The images, before > Cycle attaches to them, are linked directly to pages with more detail > for that screenshot. I'd like to use the pager to only show what slide > is active,

[jQuery] Table grouping

2008-10-21 Thread Mike Miller
Hi am looking to see if there is an easy way to do the following with jquery. I have values in a table and I want to have the table group data depending on the value of one of my columns. For instance let's say my data looks like this: Type Name Fruit Apple Fruit Pear Veggie Car

[jQuery] Trying to create a user name constructor

2008-10-21 Thread AHT
I am trying to create a form that when a user enters a user name into a form field they are automatically shown what their email address would look like. For example, if I were to type x12345 into the filed I would be shown [EMAIL PROTECTED] If possible I would like to display several domain names

[jQuery] Excellent website for free certification

2008-10-21 Thread noddy
Dear All, I have just seen my first free certification website - www.BrainBeez.com It offers certification in various I.T. and Non I.T. subjects like accounts, English, Maths, Java, Oracle etc., 1. You get free certification directly to your email address. 2. You get a lot interview prep ma

[jQuery] jQuery Cycle Pager links

2008-10-21 Thread isaacn
Hey all - I'm using the jQuery Cycle plugin [1] and would like to use the pager function in a little bit different way than intended. I'm using pagerAnchorBuilder to use existing markup that contains thumbnails of the screenshots I'm cycling through. The images, before Cycle attaches to them, ar

[jQuery] Re: Simple AJAX call does not load

2008-10-21 Thread ricardobeat
do you really have and elements? Seems you're missing some '#'s there. Use Firebug on Firefox for debugging, you'd spot the problem in 10 seconds. - ricardo On Oct 21, 5:29 pm, scheda <[EMAIL PROTECTED]> wrote: > I'm trying to do what should be a fairly simple AJAX call. However > it's not pl

[jQuery] Re: Find index of div with class "selected"

2008-10-21 Thread jimster
Much appreciated! Works wonderfully. I guess I don't quite understand the use of variables and commas inside element declarations. So much to learn!

[jQuery] Re: Polygon

2008-10-21 Thread ricardobeat
Doh @ me, a rectangle *is* a polygon (and it would be stupid to crop an image with any other shape). Sorry about that! On Oct 21, 8:03 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > There is the jCrop plugin, though it's just a rectangle. For a polygon > you would need an image map or canvas elemen

[jQuery] Re: Polygon

2008-10-21 Thread ricardobeat
There is the jCrop plugin, though it's just a rectangle. For a polygon you would need an image map or canvas element, a bit more complicated and no ready-made solution. http://deepliquid.com/content/Jcrop.html - ricardo On Oct 21, 2:32 pm, Sébastien Lachance <[EMAIL PROTECTED]> wrote: > Maybe i

[jQuery] [TUTORIAL] Create a professional interface for your web applications using jQuery

2008-10-21 Thread AdrianMG
In this tut we will create a professional interface for your web applications using the killer javascript library jQuery :) I hope you can use it for your personal projects guys. Feedback is welcome! http://yensdesign.com/2008/10/create-a-professional-interface-for-your-web-applications-using-jq

[jQuery] Re: Atribute selector with squared brackets

2008-10-21 Thread ricardobeat
That's kind of what I meant to say. >From my understanding, the CDATA rules apply if you are serving XHTML as application/xhtml+xml. If you are serving as text/html it is implied you are being backwards compatible, so you should go by the HTML4 rules where only A-z,0-9,._- characters are allowed.

[jQuery] Re: can someone please help with dynamic links problem?

2008-10-21 Thread ricardobeat
You're attaching the click handler to the current element on page. When it gets overwritten (and thus deleted) with the Ajax loaded content, the new element won't have the event handler automatically. Check out the Livequery plugin: http://brandonaaron.net/docs/livequery/ - ricardo On Oct 21, 4

[jQuery] Re: Jquery load not getting updated pages.....

2008-10-21 Thread ricardobeat
That's not jQuery's fault, check the headers as Bil said or use the query string trick if you need to avoid cacheing. If you use jQuery.ajax() you can also set cache: false as an option. For testing purposes, if you access the loaded page directly the browser will update the cache. IE7 is specia

[jQuery] Re: Faceted navigation Solution Ideas

2008-10-21 Thread zartoop
Thanks for that - I had seen it but it is not immediately obvious how that will be the solution. It seems the menu elements are hardcoded whereas in the solution I need the menu elements will vary/be filtered continually depending on the initial search and then by subsequent selections. Can acco

[jQuery] Re: History Plugin

2008-10-21 Thread Klaus Hartl
I don't understand what the problem is. Could you put up a demo? --Klaus On 21 Okt., 22:35, Pedram <[EMAIL PROTECTED]> wrote: > Does any one has an Idea!!!? > > On Oct 21, 5:46 pm, Pedram <[EMAIL PROTECTED]> wrote: > > > I've Problem with it, when I do Ajax Call and and I filter the links > > i

[jQuery] Re: mcDropDown: any click event fire the drop down animation

2008-10-21 Thread Dan G. Switzer, II
>Like the topic says, any click, right or left, fires the animation for >the mcDropdown. It disappears right after. Has anyone encountered this >bug? Any fixes/workarounds? Are you seeing the problem on the example page? http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm What version are

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-10-21 Thread Alexandre Plennevaux
hi Gilles, i was about to take the same path: convert YUI uploader into jquery for the new version of jquploader, because it's simply the best implementation i've seen so far (kuddos to yahoo). i'll be very interested with what you come up with. There is one issue i still lack for a good answer, i

[jQuery] Simple AJAX call does not load

2008-10-21 Thread scheda
I'm trying to do what should be a fairly simple AJAX call. However it's not playing nicely. Here is the code I have so far. $(document).ready(function() { $('loading').ajaxStart(function() { $(this).show();

[jQuery] Re: accordion query

2008-10-21 Thread Paul Mills
Hi, Your HTML is not valid as you can't have a inside a tag. As you have a mix of element types in your accordian I suggest you use an extra as a wrapper and adjust the jQuery code to operate on the instead of the . Something like this: Latest news Lorem ipsum dolor s

[jQuery] Re: Trouble using rules( "add", rules ) as well as setting attribute for range validations

2008-10-21 Thread BobS
That's great Jörn. It will make things much cleaner for my generated validation JS. In case you're interested, I'm working on a framework that will generate both client-side and server-side validations from a simple xml file using ColdFusion. I've written about it at: http://www.silverwareconsu

[jQuery] Re: History Plugin

2008-10-21 Thread Pedram
Does any one has an Idea!!!? On Oct 21, 5:46 pm, Pedram <[EMAIL PROTECTED]> wrote: > I've Problem with it, when I do Ajax Call and and I filter the links > in the New Page the History will not Include the Previous  Links . > consider this is the Page : > > >   >   >   >   >   Ajax Contenc

[jQuery] Examples of JQuery & Ecommerce: Draggable Cart, Enhance Product Images...

2008-10-21 Thread Ed
Here's an article showing JQuery UI to make a draggable cart, an enhanced product image display and an animated menu. I hope to see JQuery become a staple of ecommerce websites (if it isn't already). http://www.searchfit.com/blog/ecommerce/ecommerce-user-interface-using-jquery-with-searchfit.htm

[jQuery] mcDropDown: any click event fire the drop down animation

2008-10-21 Thread CED
Like the topic says, any click, right or left, fires the animation for the mcDropdown. It disappears right after. Has anyone encountered this bug? Any fixes/workarounds?

[jQuery] Simple AJAX call is not loading?

2008-10-21 Thread scheda
I'm trying to do what should be a fairly simple AJAX call. However it's not playing nicely. Here is the code I have so far. $(document).ready(function() { $('loading').ajaxStart(function() { $(this).show();

[jQuery] Re: Help optimising jquery code - there must be a better way

2008-10-21 Thread Kent Humphrey
Great, thanks for that Erik. I'll try a few things and see how I go. I wasn't asking for a rewrite of the whole thing, just some pointers :> Erik Beeson wrote: > > I don't have time to rewrite your whole example, but I can offer a few > tips > that might help. Selecting by class alone can be

[jQuery] Re: $(document).ready() vs $(function () {});

2008-10-21 Thread Karl Swedberg
Hi Shawn, They're functionally equivalent. The only difference is that $ (function() {}); is shorter and $(document).ready(function() {}); is, at least to me, more intuitive. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 21, 2008, at 12:56 AM, Shaw

[jQuery] Re: scrollTo jScrollPane using each()

2008-10-21 Thread dcasey
No ideas on this? On Oct 16, 2:53 pm, dcasey <[EMAIL PROTECTED]> wrote: > I can't figure out how to scroll ALL my panes to the top. > Here is the pertinent code: > > // dynamically assign ids and jScrollPane, I would rather not assign > any IDs... > $('.scrollpane').each(function(n) { >      $(th

[jQuery] Re: How do i use JQuery ?

2008-10-21 Thread c.barr
Are you using Safari? That's just a temporary file extension it uses until it finishes downloading. Just wait for it to finish. On Oct 18, 4:27 pm, nadavten <[EMAIL PROTECTED]> wrote: > Im trying to download JQuery but its downloading a .download file ... > > what should i do ?

[jQuery] Re: Combining jQuery and jQuery UI

2008-10-21 Thread c.barr
Yes, it's being listed first. Can someone else please try and do this to verify it? I just want to make sure I'm not missing something simple. On Oct 21, 12:16 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Are you making sure that the jquery core file is at the top of that   > concatenated file

[jQuery] Re: help with rotating css file using a setinterval, problem with ie

2008-10-21 Thread isyjack
Okay, I managed to solve this with some help. Basically the problem was in the treatment of dimensions to the body and html by IE. Sticking the following in both fixed it: height: 100%; overflow: auto; margin: 0; Just passing it along in case anyone else ran into a similar problem. On Oct 21, 1

[jQuery] Re: Group validation - validate per page in one form.

2008-10-21 Thread ovalsquare
Anyone? On Oct 20, 12:32 pm, ovalsquare <[EMAIL PROTECTED]> wrote: > I am attempting to paginate a form, and validate for each page (page > navigation via accordion or simply .show()/.hide()). However, the only > sample I've seen of this appears to be the Help me Buy and Sell a > House demo athtt

[jQuery] Re: Check if an element DOESN'T have a class

2008-10-21 Thread MorningZ
Right from the docs http://docs.jquery.com/Attributes/hasClass#class --- Returns true if the specified class is present on at least one of the set of matched elements --- So s

[jQuery] Re: can someone please help with dynamic links problem?

2008-10-21 Thread Flavio333
I tried what you said but it does not work... now both links go to the same page when clicked... RotinPain wrote: > > > the problem is quite simple i think, all your links have the same id > (generate2) > And the jquery function is attached to a link with this id (generate2) > So only 1 l

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-10-21 Thread Gilles (Webunity)
Update: Most of the callbacks have been implemented; Actionscript (Flash) work seems to be done; yet i did all my work without debugging. Tomorrow i have to add maybe 3 or 4 events / log messages and then i can start building ;) -- Gilles On Oct 20, 7:52 pm, "Gilles (Webunity)" <[EMAIL PROTECTED

[jQuery] Polygon

2008-10-21 Thread Sébastien Lachance
Maybe it's a stupid question but I was wondering if there is a way to generate a polygon with 4 points, so that the user can himself drag each point to create it's own (mainly for selecting a portion of an image). Is it possible with a specific jQuery plugin. I can't seem to find anything after a

[jQuery] help with rotating css file using a setinterval, problem with ie

2008-10-21 Thread isyjack
I'm a complete javascript newbie and I know it's not exactly wise to jump into jquery as such, but I did so anyway because I needed something done fairly quickly and in a simple manner. So, forgive me if this is not the most efficient way to get this done. Anyway, the idea behind the script is to

[jQuery] Dragging Google Widget results in page refresh...

2008-10-21 Thread [EMAIL PROTECTED]
In the application I am writing, I have a div box that needs to be draggable. Inside the box is an iframe containing a google widget. For some reason, as soon as I try the drag, the entire page refreshes and only the google widget shows. Has anyone else experienced this and if so, were you able t

[jQuery] Re: Trouble using rules( "add", rules ) as well as setting attribute for range validations

2008-10-21 Thread Jörn Zaefferer
Further testing is welcome, I plan to release 1.5 on Friday. Jörn On Tue, Oct 21, 2008 at 8:16 PM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Done! > > You can find the latest revision here: > http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/ > > Jörn > > On Tue, Oct 21, 2008 at 7:08 PM

[jQuery] Check if an element DOESN'T have a class

2008-10-21 Thread kgosser
Hey all, I understand how hasClass() works, but I'm trying to figure out how to use it to see if an element DOESN'T have a class. I want to check if the class doesn't exist, and if not then I'll add it. Do I use the older is() method? Just looking for the best way. Thanks!

[jQuery] Re: Atribute selector with squared brackets

2008-10-21 Thread jasonkarns
In XHTML, the name attribute on input (and textarea and select) elements is defined as CDATA not NMTOKEN thus, brackets are legal in name attributes on input elements. It is NOT backwards compatible with HTML, where the character restriction is [a-z][A-Z]-_ and . Further note, the id attribute ha

[jQuery] Re: jQuery Documentation in PDF

2008-10-21 Thread Isaak Malik
Hey Jonatan, This is EXTREMELY useful and I'm sure more think the same way, this solves the problems most are having with the documentation page. Thanks a bunch :-)! On Tue, Oct 21, 2008 at 1:45 PM, Jonatan <[EMAIL PROTECTED]> wrote: > > Hi: > > I made a program for create a PDF of the jQuery a

[jQuery] Re: what is difference between $(document).height() and $(window).height() ?

2008-10-21 Thread Ryura
Actually, it seems that the document's height is the entire page's height, while the window height is only the viewing height(ie: what you see at that given time). On Oct 21, 1:00 pm, tallvanilla <[EMAIL PROTECTED]> wrote: > Good question. No difference. Both should give you the exact same > resu

[jQuery] Re: Trouble using rules( "add", rules ) as well as setting attribute for range validations

2008-10-21 Thread Jörn Zaefferer
Done! You can find the latest revision here: http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/ Jörn On Tue, Oct 21, 2008 at 7:08 PM, BobS <[EMAIL PROTECTED]> wrote: > > I would love to have this feature. It would save me a bunch of extra > lines of code. Any idea if and when this migh

[jQuery] Re: Jquery load not getting updated pages.....

2008-10-21 Thread Bil Corry
Stever wrote on 10/21/2008 11:34 AM: > Apparently this file is saved in the cache, how do I make sure > everytime I click on the tool button I get the latest page? Via the headers, have the page expire in the past and set the cache-control headers to no-cache: Expires: Thu, 11 Jun 1998

[jQuery] Re: Attribute selector with squared brackets

2008-10-21 Thread Ariel Flesler
Got a link to that part of the XHTML spec ? Ouch, Atribute --> Attribute. -- Ariel Flesler http://flesler.blogspot.com On Oct 21, 1:07 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Brackets are an invalid character in attributes, for XHTML served as > text/html, which I guess accounts for most o

[jQuery] Re: BUG: oversized overlay in IE web browsers ( demo included )

2008-10-21 Thread tallvanilla
Thanks for all the suggestions guys, but I've kind of narrowed my preference down to blockUI for the job at hand. Believe me, I've tried them all, and they all have their share of quirks. Does anyone have a suggestion for fixing the blockUI bug? If not, do know how I can contact it's author direct

[jQuery] Re: Combining jQuery and jQuery UI

2008-10-21 Thread Karl Swedberg
Are you making sure that the jquery core file is at the top of that concatenated file? that's the only other thing I can think of that would produce the error. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 20, 2008, at 4:26 PM, c.barr wrote: They

[jQuery] Re: BUG: oversized overlay in IE web browsers ( demo included )

2008-10-21 Thread Josh Nathanson
You might want to give jqModal a shot. BlockUI is better for blocking specific parts of a document, during an ajax call or the like. jqModal is more of a modal window solution that might be better suited to what you're trying to do. There's also SimpleModal which I personally haven't used.

[jQuery] Re: what is difference between $(document).height() and $(window).height() ?

2008-10-21 Thread tallvanilla
Good question. No difference. Both should give you the exact same result every time. JR On Oct 21, 1:38 am, jey jey <[EMAIL PROTECTED]> wrote: > what is difference between $(document).height() and $ > (window).height() ?

[jQuery] Re: BUG: oversized overlay in IE web browsers ( demo included )

2008-10-21 Thread Wayne
Is this why ThickBox sets all paddings and margins to 0? I agree, it's annoying. I switched to John's Greybox Redux (http://jquery.com/blog/2006/02/10/ greybox-redux/) for my modal, and I don't see problems on IE6. It also was more semantically correct than Thickbox's iFrame implementation of put

[jQuery] Re: Trouble using rules( "add", rules ) as well as setting attribute for range validations

2008-10-21 Thread BobS
I would love to have this feature. It would save me a bunch of extra lines of code. Any idea if and when this might be implemented into the plugin? On Oct 21, 5:55 am, lightglitch <[EMAIL PROTECTED]> wrote: > Done. > > http://dev.jquery.com/ticket/3503 > > On Oct 21, 9:53 am, "Jörn Zaefferer" <

[jQuery] Re: BUG: oversized overlay in IE web browsers ( demo included )

2008-10-21 Thread tallvanilla
(bump) Any takers? On Oct 20, 7:47 pm, tallvanilla <[EMAIL PROTECTED]> wrote: > Thanks for the reply, Josh... but that isn't the problem. To > demonstrate, I updated my demo according to your suggestion: > > http://74.205.76.81/blockuitest/ > > Even if that WAS the solution, it would force peop

[jQuery] Re: validate plugin and CodeIgniter

2008-10-21 Thread Jörn Zaefferer
Can you provide a simple testpage where I can see that code running? Jörn On Tue, Oct 21, 2008 at 6:13 PM, hcvitto <[EMAIL PROTECTED]> wrote: > > h Jorn > thank for the quick reply..it was my mistake :(.. > but, if i'm not annoying, i got another issue which i solved with a > twik but was wonder

[jQuery] Re: can someone please help with dynamic links problem?

2008-10-21 Thread RotinPain
the problem is quite simple i think, all your links have the same id (generate2) And the jquery function is attached to a link with this id (generate2) So only 1 link will be responding to the function. You need to use each() to attach an event to each links. Like $("#generate2").each ( functi

[jQuery] Re: jQuery efficiency with a large DOM.

2008-10-21 Thread Wayne
I obviously don't know your scale, specifically, but the site I've put together I don't consider to be all that deep, however, I see some apparent slowness with the AJAX actions having to wait for responses from my server scripts as well as short animations that seem to stack on each other waiting

[jQuery] Re: BlockUI Plugin - FadeIn?

2008-10-21 Thread chris thatcher
Shouldn't the effect still block immediately though the opacity is being modified as an animation? On Tue, Oct 21, 2008 at 12:22 PM, MorningZ <[EMAIL PROTECTED]> wrote: > > Around line 199 in the js file is where the block layers "show"... > play around with those options and you should be able t

[jQuery] Re: call a php function with onclick

2008-10-21 Thread RotinPain
Here's a something based on links class name, the php code is in your hand ;) [HTML PAGE] [JQUERY CODE] //add an action to each A with class="friends", //the action is based on the id of each A and passed as variable (see DATA: ) $("a.friends").each ( function () { $( this ).bind (

[jQuery] Jquery load not getting updated pages.....

2008-10-21 Thread Stever
Hello, I spent about an hour trying to figure out why a form I was loading to a web page was not updating. In my web page I have a navigation button tool, when I click I want to load a form into the #display div. $(document).ready(function(){ .. a bunch of code. $('#menu li.tool').

[jQuery] Re: validate plugin and CodeIgniter

2008-10-21 Thread hcvitto
h Jorn thank for the quick reply..it was my mistake :(.. but, if i'm not annoying, i got another issue which i solved with a twik but was wonder if there's a better solution.. i got 5 couples of radio button: The validation rule against them must be: - at least one radiobutton with valu

[jQuery] Re: BlockUI Plugin - FadeIn?

2008-10-21 Thread MorningZ
Around line 199 in the js file is where the block layers "show"... play around with those options and you should be able to get the effect you are after although i will note that your idea doesn't make much sense, as you'll be giving your end user that much time to be able to click something else

[jQuery] Re: Way to use a Multi-Line Example Prompt in a Single-line Text Input Field

2008-10-21 Thread Wayne
Yeah, that might work. I'm experimenting with making it suitable for my use, where I would need 2 labels, I guess. But, that would let me wrap text and do whatever I want without putting any text in the actual field. Thanks for the find. -Wayne On Oct 20, 10:55 am, "Dan Switzer" <[EMAIL PROTECTE

[jQuery] Re: load dynamic content into myobj

2008-10-21 Thread ricardobeat
http://docs.jquery.com/Ajax/load Just use the file name as an argument. You can pass data either as a string ("name=Jeca&sur=Tatu") or as an object, and a callback function to be executed when it's done: $("#myobj").load("Page2.php",{id:1325,name:'something'}, function(data) { alert('I've just l

[jQuery] Re: call a php function with onclick

2008-10-21 Thread RotinPain
What I did for having php executed at onClick event is using Ajax. You must store your functions into an external php file. Then use the jquery ajax methods to load, execute and receive back the result of your php code without leaving the caller page. Process will be invisible to users (the page

[jQuery] Re: Atribute selector with squared brackets

2008-10-21 Thread ricardobeat
Brackets are an invalid character in attributes, for XHTML served as text/html, which I guess accounts for most of jQuery usage anyway. Looks like someone already updated the docs. - ricardo On Oct 20, 11:36 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > We got a ticket about how to select eleme

[jQuery] Re: Linkselect Plug-in Released...

2008-10-21 Thread Roberto Rivera
Thanks for sharing. Really useful stuff.

[jQuery] Re: jQuery efficiency with a large DOM.

2008-10-21 Thread ricardobeat
How many event handlers do you have registered? IE starts to slow down at some point. It seems that the obvious performance improvements have been taken care of (id selectors, tag names for class selectors), anything else would be implementation specific. Are you using livequery? On Oct 21, 7:48

[jQuery] Re: Find index of div with class "selected"

2008-10-21 Thread ricardobeat
index() returns -1 when the element is not found. It fails because the object array passed contains elements that are not children of your first object. In your case you need to store a reference to the parent element and pass only it's children to the index() function: var kid = $('#container >

[jQuery] drag & drop not working under IE and Safari

2008-10-21 Thread ^AndreA^
Hi, I'm working on this drag & drop script: http://www.lesperimento.netsons.org/various/jquery-mousemove/ It works on Firefox and Opera but not at all on IE and Safari. The events seemed not to start at all... Any idea how to solve it? I tried to put some alert as well but they don't start,

  1   2   >