Re: [jQuery] Re: Having hard time with customizing scroll bars

2010-01-16 Thread Sam Sherlock
Yes you can - did you see the os examples? this plugin has an extensive set of demos and is extremely versatile http://www.kelvinluck.com/assets/jquery/jScrollPane/examples.html http://www.kelvinluck.com/assets/jquery/jScrollPane/examples.html - S 2010/1/16 swfobject_fan guru4v...@gmail.com

[jQuery] [Superfish] Left side dropdown menu

2009-12-05 Thread Sam
Hi, I have 3 level menu. I want the sub menus to be open in left direction instead of right. Because the menu is in top right corner of the website, and when submenu are displayed. They goes outside the website window and browser shows the scroll bar, which doesnt look nice. I hope, u guys

Re: [jQuery] .hide and .show div's

2009-11-11 Thread Sam Doyle
Look at jquerys find functions Sent from my iPhone On 11 Nov 2009, at 12:36, David pr davidpric...@gmail.com wrote: Hello, Could you help me please. I have a list of hotel which I .hide and .show div's to show more or less info. so i have div class=Hide-BAT1 ... to div class=Hide-Bat55

Re: [jQuery] Iterating over a list

2009-11-08 Thread Sam Doyle
$(this).fadeOu(duration, function() { Typo Sent from my iPhone On 8 Nov 2009, at 07:27, Michel Belleville michel.bellevi...@gmail.com wrote: $(this).fadeOu(duration, function() {

Re: [jQuery] Re: Why jQuery is not working on my page ?

2009-11-05 Thread Sam Doyle
li#Story would be more efficient Sent from my iPhone On 5 Nov 2009, at 22:24, vmrao maheshpav...@gmail.com wrote: I just got rid of unnecessary '(function($){ ' and it worked. On Nov 5, 5:17 pm, vmrao maheshpav...@gmail.com wrote: Here is my code. I have included jQuery library. script

[jQuery] Re: images show before jquery and cycle plugin work their magic

2009-10-22 Thread Sam
, say 10,000 px, and carousel wrapper set height, width and overflow : hidden this is done by the script also but until script fully fires your css should make up for it Sam wrote:I'm not entirely sure that some of these fixes apply to my situation as I'm not using cycle plugin. I am having

[jQuery] Re: Get file specific parts from input file type

2009-10-22 Thread Sam Doyle
jquery ajax and php On Thu, Oct 22, 2009 at 8:47 PM, Buntu J buntu.w...@gmail.com wrote: Hi, I need to get the filename, basename, dirname using jQuery. Can anyone please let me know if there is any utility that will take care of windows/mac/linux file paths. Thanks

[jQuery] Re: images show before jquery and cycle plugin work their magic

2009-10-21 Thread Sam
then have it build the carousel as it loads? Cheers, Sam On Oct 20, 6:35 pm, Karl Swedberg k...@englishrules.com wrote: If you have large images, they would take longer to load. No way   around that. One thing you can do to avoid having the images span   down the page is to add a style

[jQuery] Re: images show before jquery and cycle plugin work their magic

2009-10-21 Thread Sam
I'm not entirely sure that some of these fixes apply to my situation as I'm not using cycle plugin. I am having the same issue as the original poster however, please see for yourself. http://samgabellshoots.com/ Any pointers on how to fix or at least 'hide' the issue until after load would be

[jQuery] Facebox Youtube stopVideo

2009-10-19 Thread Sam Doyle
I've got a page that opens a youtube video with facebox. The facebox closes correctly but the video doesn't stop playing. So the sound carries on even if the video isn't visible: This is the code I've tryed: div id=ytVid style=display: none div id=ytapiplayer You need

[jQuery] Re: Replace image with SWF onClick

2009-10-17 Thread Sam Sherlock
you want to replace them when the user clicks the anchor tag? or replace the anchor tag onload? http://flowplayer.org/documentation/users-guide.html http://flowplayer.org/documentation/users-guide.html - S 2009/10/17 knal knalp...@gmail.com Hi group, I'm trying to achieve something

[jQuery] Why no color animation built in?

2009-10-16 Thread Sam
I was just wondering, why doesn't jQuery have color animations built- in to the library? JavaScript has hexadecimal number literals (0xaabbcc), so it could be the way to define colors in the params argument object. An array literal could also be used to set colors. Why is it that jQuery hasn't

[jQuery] Re: Why no color animation built in?

2009-10-16 Thread Sam
Well why don't they bundle this in with the jQuery standard library? On Oct 16, 11:21 am, Charlie charlie...@gmail.com wrote: jQueryUi has color animationshttp://jqueryui.com/demos/animate/ Sam wrote:I was just wondering, why doesn't jQuery have color animations built- in to the library

[jQuery] Validating Australian ABN numbers

2009-10-15 Thread Sam
ABN - Australian Business Numbers I knew they had to be numeric and 11 digits. Then i found this: http://www.ato.gov.au/businesses/content.asp?doc=/content/13187.htmpc=001/003/021/002/001mnu=610mfp=001/003st=cy=1 Which explains quite nicely how to validate a number. So I thought I would share

[jQuery] Re: append()

2009-10-13 Thread Sam Doyle
or $(#id_percent_complete).parent().parent() On Oct 13, 2:04 pm, Simon Morris moz...@gmail.com wrote: Hello, I'm having some problems understanding the append() function. What I'd like to do is select an element using it's ID and add a row to the table with a HTML form element. The table

[jQuery] Re: What is the more correct/efficient selector?

2009-10-13 Thread Sam Doyle
$(select).change(function() { alert($(this).attr(value)); }); On Tue, Oct 13, 2009 at 4:00 PM, Mike mgor...@gmail.com wrote: $(select).change(function() { alert($(select option:selected).val()); }); OR $(select).change(function() {

[jQuery] Re: Only one of two fields is required. How to implement this logic in Jquery form validation?

2009-10-13 Thread Sam
How to change the default position of an error message in Jquey form validation plugin? This is easy to do. Just create a label element where you want the error message to appear. If the field you are validating is called foo your label would look like: label for=foo class=errorThis field is

[jQuery] Re: Binding a unique single and double click command

2009-10-07 Thread Sam
Thanks for the help! I nailed it with the following: $('.todo_item h2').live('click', function() { clicks++; x = $(this); if (clicks == 1) singleClick = setTimeout(function() { clicks = 0; showExtra(x); }, 300); if (clicks == 2) { clearTimeout(singleClick);

[jQuery] jQuery slideup/slidedown iphone (3rd click bug)

2009-09-30 Thread Sam Doyle
I'm currently porting works website for iphone. I've wrote some jquery for sliding up/down divs: $(document).ready(function(){ //Corners $('#insideContainer').corner('20px'); $('p.link a').removeAttr('href'); $('p.link a').css('cursor','pointer');

[jQuery] Re: jQuery slideup/slidedown iphone (3rd click bug)

2009-09-30 Thread Sam Doyle
The site can be viewed at http://d2d.samstestdomain.com On Sep 30, 4:27 pm, Sam Doyle sammeh@gmail.com wrote: I'm currently porting works website for iphone. I've wrote some jquery for sliding up/down divs: $(document).ready(function(){         //Corners         $('#insideContainer

[jQuery] Binding a unique single and double click command

2009-09-29 Thread Sam
I'm trying to write some jQuery to do the following: If a user clicks once on an object, do X. If a user clicks twice on an object, do Y, but not X. I've been having some trouble with this as, obviously, a double-click will trigger the single-click twice. Here is a failed attempt:

[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread Sam Doyle
$(input[type=checkbox]:checked).each(function()...); On Thu, Sep 24, 2009 at 9:59 AM, Xi Shen davidshe...@googlemail.com wrote: hi, i have a group of check boxes, and i want to iterator over all the checked ones. i use the following code, but without luck.

[jQuery] jQuery crashing the page

2009-09-24 Thread Sam Doyle
is the query that selects the events ( versus ) The page loads immediately without: script type=text/javascript src=http://ajax.googleapis.com/ajax/ libs/jquery/1.3.2/jquery.min.js/script But when i put it back in the above happens. Any ideas welcome! PC I'm using jQuery.roundedcorners. Sam

[jQuery] Re: Recommend a JS enabled/browser growler script/plug-in?

2009-09-22 Thread Sam Doyle
$.browser On Sep 21, 5:38 pm, ldexterldesign m...@ldexterldesign.co.uk wrote: Cheers man. And the browser detection..? Thanks, On Sep 21, 5:14 pm, Liam Potter radioactiv...@gmail.com wrote: use noscript and conditional comments. ldexterldesign wrote: // This site works best with

[jQuery] Re: jQuery(window).width() not registering sizes lower than 497 in Firefox.

2009-09-22 Thread Sam Doyle
I just ran this: script type=text/javascript !-- $('body').css('width','100px'); $('body').append('br /'+$('body').width()); -- /script and it yielded the correct result in firefox 3.5.3 On Sep 21, 8:03 pm, indigo0086 indigo0...@gmail.com wrote: I'm working on implementing a

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Sam Doyle
$(document).ready(function(){ $(a rel='external').attr(target,_blank); });

[jQuery] Re: [Attrib external not working...]

2009-09-22 Thread Sam Doyle
$(document).ready(function(){ $(a [rel='external]').attr(target,_blank); }); Sorry

[jQuery] Re: Browser sniffing - the correct way?

2009-09-21 Thread Sam Sherlock
Often the best solution is to simply avoid troublesome features. I think this article explains the concept well http://www.alistapart.com/articles/testdriven as simple as possible but not simpler 30,000 registered at TNL.net that would be an awful lot to check; which is why checking is the

[jQuery] Re: jQuery PDF Viewer?

2009-09-16 Thread Sam Sherlock
I have'nt tried this but it does look goodhttp://pdfobject.com/ - S 2009/9/16 benji++ bheneg...@speakeasy.net I'm looking for something that can display a PDF in a way similar to a typical jQuery image gallery (or a desktop PDF viewer, e.g. Acrobat or Preview). I tried out Mike Alsup's

[jQuery] error in ie7 ie8 only

2009-09-15 Thread Sam Sherlock
js code: function jLinkCall(e, a, o) { var jUrl = null, jArgs = null, obTitle = ''; // console.info('jLinkCall'); // console.info(e); // console.info(a); // console.info($(o).attr('href')); jUrl = $(o).attr('href') + ''; jUrl = jUrl.replace(/.html/, ''); if($(o).attr('title')) obTitle =

[jQuery] Re: error in ie7 ie8 only

2009-09-15 Thread Sam Sherlock
following up on that when debugging I can continue through the error and it works as expected. but with debugging off the process is interrupted - S 2009/9/15 Sam Sherlock sam.sherl...@gmail.com js code: function jLinkCall(e, a, o) { var jUrl = null, jArgs = null, obTitle

[jQuery] Re: error in ie7 ie8 only

2009-09-15 Thread Sam Sherlock
a, a.groove').live('click', function(event, args) { jLinkCall(event, args, this); event.preventDefault(); event.stopPropagation(); return false; }); [1] http://stackoverflow.com/questions/933564/jquery-widthval-error-in-ie-invalid-argument - S 2009/9/15 Sam Sherlock sam.sherl...@gmail.com

[jQuery] Re: error in ie7 ie8 only

2009-09-15 Thread Sam Sherlock
investigation and I now understand it css: { border: '1px solid #FFF; background: #FFF;' } needed to be (no semi colons and make the css setting a JSON object - ff et al are more forgiving) css: { border: '1px solid #FFF', background: '#FFF' } - S 2009/9/15 Sam Sherlock sam.sherl...@gmail.com seems

[jQuery] Re: KFManager v1.0

2009-08-20 Thread Sam Sherlock
great work Ken on the mce page the normal mce manager opens for me - and as Cyril said the page is title FCK on the fck page you open KFManager by clicking in the text box above the editor whereas the mce example does not have a way of opening kfmanager it would be better to replace normal

[jQuery] Re: Check if movie (.mp4) is finished

2009-07-25 Thread Sam Sherlock
I think you'd have to load a swf and have that call back to the page (via ex interface) when its completed hth - S 2009/7/25 Eswip i...@fairmedia.nl Hi everyone, I'm using the jQuery Media Plugin to play a movie (.mp4) on a page when a button is clicked. But I want to remove the embed from

[jQuery] (validate) No-URL

2009-07-06 Thread Sam
I used the URL checker in the Plugins/Validation, to create a no-url checker. This can be useful to prevent some spam from coming through in a form. nourl: function(value, element) { return this.optional(element) || !(/^(https?|ftp):\/\/[a-z]|

[jQuery] Re: Flash movie not playing in IE6, but working fine in firefox google chrome

2009-06-23 Thread Sam Sherlock
Have you tried the google group for swfobject? - S 2009/6/23 krishna1...@gmail.com krishna1...@gmail.com Hi All, I have used the swfobject.js file its methods to play a flash movie in my webpage. It works fine when I open the page in firefox chrome but does not work in IE-6. Below is

[jQuery] Re: Using Zend IDE with jquery

2009-06-13 Thread Sam Sherlock
I gave up with eclipse in favour of netbeans. However this is for Eclipse PDT but uses 1.2.6 http://www.langtags.com/jquerywtp/ The netbeans jquery addon also uses 1.2.6 I wonder how much of a chore it would be updating them to 1.3.2? I have not looked into doing it - S 2009/6/13 Josh Powell

[jQuery] Re: image for public usage

2009-05-04 Thread Sam Sherlock
see these http://docs.jquery.com/Design_and_Identity http://blog.jquery.com/2006/11/07/jquery-button-contest-winners/ - S 2009/5/4 Tim Johnson t...@johnsons-web.com Since jQuery is one of my tools - I'd like an appropriately public image to use on my website. Are any available? thanks

[jQuery] Re: $().someFunction(); -- The First Pair of Parentheses?

2009-05-03 Thread Sam Sherlock
$ == jQuery to make jQuery work when other js frameworks are also in use you can make jQuery() work too - avoiding conflicts the first set of parenthis are for passing params to the jquery object AFAIK When setting defaults for jquery plugins the parenthis are not required. I don't know if

re[jQuery] moveAttr('href') on document load?

2009-05-03 Thread Sam Granger
are in a div with id add. Thanks for all the help! Sam -- View this message in context: http://www.nabble.com/removeAttr%28%27href%27%29-on-document-load--tp23355653s27240p23355653.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Re: re[jQuery] moveAttr('href') on document load?

2009-05-03 Thread Sam Granger
Awesome, thanks! That works exactly how I want it!:) -- View this message in context: http://www.nabble.com/removeAttr%28%27href%27%29-on-document-load--tp23355653s27240p23358695.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Re: re[jQuery] moveAttr('href') on document load?

2009-05-03 Thread Sam Granger
$('#add a').attr('href','#'); produces lt;a href=#gt; Testlt;/agt; Sam Granger wrote: $(function() { $('#add a').removeAttr('href'); }); What's wrong with this code? I want to remove all href's from a tags onload of a document. Still a bit new

[jQuery] Modifying element on drop into sortable list

2009-05-03 Thread Sam Hastings
in the draggable list. I've tried using ui.helper instead of ui.item but this has no effect whatsoever. Can anyone suggest a different way of going about this? Thanks in advance! Sam

[jQuery] Re: new version of loopedSlider is out! Looking for feed back

2009-04-30 Thread Sam Sherlock
- S 2009/4/30 Nathan nsear...@gmail.com Yes that is very possible and pretty easy. Just download and include the jQuery Easing Plugin into your page: http://gsgd.co.uk/sandbox/jquery/easing/ And lets say you want to add easeInOutExpo easing to the slide animation. Just find the two

[jQuery] Re: Getting started with jQuery

2009-04-19 Thread Sam Sherlock
try the following http://www.learningjquery.com/category/levels/beginner www.*slideshare*.net/simon/*jquery*-in-15-minutes http://www.slideshare.net/remy.sharp/prototype-jquery-going-from-one-to-the-other - S 2009/4/20 yrstruly anthony.apol...@gmail.com Hello Can somebody maybe please give

[jQuery] Re: script tag in HTML

2009-04-03 Thread Sam Sherlock
script src=IPMS%20Library_files/frameset.js type=text/javascript /script and script type=text/javascript changing type to text/javascript - this is why nothing occurs removing the language attribute. its not required if you testing locally on a windows machine then paths with \ can work

[jQuery] Closing Ajax Requests

2009-04-03 Thread Sam
I couldn't find anything on this in the jQuery documentation. Is there a way to close all jQuery ajax requests? I've built a bit of comet- like long polling ajax script, but it seems as though Internet Explorer is keeping these long polling requests open when I refresh or redirect to another

[jQuery] Re: Cool Flash-like Menu Effect

2009-03-31 Thread Sam Sherlock
*not exaclty that but this could be a lead for you **www.cssjuice.com/lavalamp-jquery-sliding-menu/ and Nathan Borror's playgroundblues.com has a menu vertical but simular to the Aex Buga site * look at the animate functions - S 2009/3/31 DesignerNotCoder thecoopersm...@gmail.com

[jQuery] Re: Keeping jquery codes up to date - best practise?

2009-03-23 Thread Sam
The risk with linking to a latest build is that something will break when the linked-to version of jquery changes. Imagine for instance that you made heavy use of @selectors, and were running live with these when the change was made from 1.2 to 1.3. Your site would break. Such eventualities as

[jQuery] Re: jquery website broken?

2009-03-18 Thread Sam Sherlock
I have checked in ie6 box model issue with naviagtion and some really small text, but nothing really that bad. Will try to check it ie7 later. I did notice that the following url has a 500 error http://plugins.jquery.com/project/Plugins/name the other two links with it are fine. - S

[jQuery] [validate] ASP.Net style validation group

2009-03-16 Thread Sam
Hi folks, I couldn't find any solutions to this. I needed the validate plugin to have validation group like functionality for use on asp.net webforms (because asp.net only allows one form). I'm not much a javascript programmer but I had a crack at it anyway. After stumbling in the dark for a

[jQuery] Re: Total Noob needs help please with emailing on clicking of links

2009-03-12 Thread Sam Sherlock
surely google analytics and jquery gatracker in addition to RobG suggestion to qualify what google reports Then you can have google analytics send dat in pdf every week - S 2009/3/13 RobG rg...@iinet.net.au On Mar 13, 7:52 am, KillerKellerjr killerkelle...@gmail.com wrote: [...] I

[jQuery] [autocomplete] hasFocus is bugged in certain cases in IE

2009-03-09 Thread Sam
Hello, I've observed this behaviour in IE7. Using Jörn Zaefferer autocomplete plugin. If you reload/refresh the page and the focus is automagically (a function of the browser) given to the autocomplete field the focus event doesn't fire. Hence hasFocus is zero and if you start typing the results

[jQuery] jQuery UI 1.6rc6 - how to sort tabular data?

2009-03-03 Thread Sam H
I know you can't actually sort tables, it's kinda broken. I can easily sort UL lists, but whenever I try to use float: left and width: XXXem to give set widths to each span, e.g.: lispan class=id32/span span class=nameBob Jenkins/span/ li #list li { clear: left; } #list li span {

[jQuery] Re: jQuery UI 1.6rc6 - how to sort tabular data?

2009-03-03 Thread Sam H
Sorry, just realized this may be misleading. jQuery UI Sortable allows you to REORDER items in a list. I am looking to have a user drag/reorder items in a table, basically. On Mar 3, 4:20 pm, Sam H samh1...@gmail.com wrote: I know you can't actually sort tables, it's kinda broken.  I can

[jQuery] Re: What can we use in place of $.browser?

2009-02-25 Thread Sam Sherlock
Its better to detect features not browsers; that said detecting a single browser such as ie6 I would use conditional comments feeling assured that the code is not interfering with other bits http://www.sitepoint.com/forums/showthread.php?t=455334 2009/2/25 Liam Potter radioactiv...@gmail.com

[jQuery] jquery.listnav

2009-02-18 Thread Sam
I have an index page with 1270 list items being processed by listnav, and loading the page takes about 15 seconds. Without listnav turned on, the page loads in less than a second. Is there a way to speed up the indexing through caching? Or a setting that would use pre-populated LI classes?

[jQuery] Re: jquery.listnav

2009-02-18 Thread Sam
on a letter. If I set the options to includeAll, but don't specify a letter, FF loads faster initially, but the first letter click shows the delay. - Sam

FW: [jQuery] Re: Returning Javascript

2009-02-17 Thread Sam Fleming
Basically, my ajax loads each page. If i want to put javascript in that page the javascript does not run. Can i eval the whole response? Html and everything? Or do i have to filter out the javascript? Maybe it would be easier to make the jquery load another script in a file? If this is possible?

[jQuery] Adding an LI element to an OL

2009-02-10 Thread Sam Hastings
Hi everyone, I've got an ordered list (OL) containing several LI items, currently arranged in alphabetical order. How hard would it be to create a new LI element, and put it in the right alphabetical position based on its value? Sam

[jQuery] Re: Adding an LI element to an OL

2009-02-10 Thread Sam Hastings
of group_array to allow me to add elements to it within my each() function? Or is there a better way of going about it? Sam On Feb 10, 8:51 pm, Michael Lawson mjlaw...@us.ibm.com wrote: How often are you going to be doing this sort? You could just say that when you add something to the list, pull

[jQuery] Re: Checkbox selection

2009-02-06 Thread Sam Hastings
Thanks! I'll give your suggestions a shot :-)

[jQuery] Checkbox selection

2009-02-05 Thread Sam Hastings
are clicked. I've tried this a thousand different ways and can't get it working and was wondering if someone here would be kind enough to help. Many thanks :-) Sam Hastings

[jQuery] jQuery UI Dialog - how to hide 'X' close box?

2009-02-04 Thread Sam H
Is there any way with jQuery UI Dialog to not show the X close box in the titlebar? (what if I want to show a message dialog that the user cannot close, such as a Loading... dialog)

[jQuery] Re: jQuery UI Dialog - how to hide 'X' close box?

2009-02-04 Thread Sam H
Sam H wrote: Is there any way with jQuery UI Dialog to not show the X close box in the titlebar? (what if I want to show a message dialog that the user cannot close, such as a Loading... dialog)

[jQuery] slideUp/Down jumpy in Firefox 3 but not in IE7?

2009-02-04 Thread Sam H
I don't remember if it was like this in jQuery 1.2, but I have 1.3.1 and I can clearly see that slideDown/Up is much smoother in IE7 than in Firefox 3. Is it just me?

[jQuery] Manipulating form field attributes

2009-02-03 Thread Sam Hastings
in IE. Can anyone help me please? Sam Hastings

[jQuery] Re: jquery and minify

2009-02-01 Thread Sam Sherlock
to the code. Something like this: /** * jQuery */ (function($){...}); /** * Plugin 1 */ (function($){...}); /** * Plugin 2 */ (function($){...}); -- Ariel Flesler http://flesler.blogspot.com On Jan 29, 10:53 pm, Sam Sherlock sam.sherl...@gmail.com

[jQuery] Re: High Point Village Website

2009-01-29 Thread Sam Sherlock
That is a great piece of work, a huge amount of http requests - but appeared pretty seamless 2009/1/29 ksun kavi.sunda...@gmail.com Could see only intro in IE On Jan 29, 12:58 pm, kim3er rich...@dogma.co.uk wrote: Hi, I've just finished working on a new web site using jQuery 1.3.1

[jQuery] jquery and minify

2009-01-29 Thread Sam Sherlock
Having just seen this site http://www.highpointvillage.co.uk running it through yslow (it got an f 50/100), one way to improve it would be reducing the http requests - but:- Would combining the scripts on a site like this with minify be contrary to the license of jQuery? could jquery be minifed

[jQuery] Re: jquery 1.2.6 focus problem?

2009-01-26 Thread Sam Sherlock
works fine for me with 1.2.6 and 1.3.1 also works here as expected http://www.whitehouse.gov/contact/ - using 1.2.6 works as expected Perhaps theres a gremlin in you code somewhere - do you have a link to see the issue? 2009/1/26 chris robinson stuff...@gmail.com Hey all, Our project is

[jQuery] New 1.3 feature, native event delegation??

2009-01-22 Thread Sam H
John Resig said of 1.3: I only posted last week about how event delegation can help you to optimize your code and it looks like jQuery will do it for you now, which means that any event handlers you add to a group of elements will automatically be added to matching elements when you create them.

[jQuery] Re: jQuery 1.3 Released

2009-01-14 Thread Sam Sherlock
Happy Birthday jQuery, and hats off to all involved those charts look real impressive - 30% faster; this sizzle must be hot :) Am looking forward to using it 2009/1/14 jQuery Lover ilovejqu...@gmail.com Super !!! Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On

[jQuery] Re: $(window).bind('resize', fn) not working in IE

2009-01-14 Thread sam
TI'm injecting jQuery into any webpage (via a bookmarklet). This works fine, but for some strange reason $(window).bind(resize) doesn't work with IE. No errors, just doesn't fire the event. To see this, execute this code while on any webpage (using Firebug Javascript Console): //load jQuery

[jQuery] Re: $(window).bind('resize', fn) not working in IE

2009-01-14 Thread sam
I believe I found the bug. Seems like that if you set window.onresize in IE before the document is completely loaded, it won't work. Whatever.

[jQuery] $(window).bind('resize', fn) not working in IE

2009-01-13 Thread sam
Can anyone verify that $(window).bind('resize', fn) doesn't work in IE? $(window).bind('scroll', fn) works fine for me, but not resize. I'm using 1.2.6. Thanks.

[jQuery] Re: Capture a click outside of a specific object?

2009-01-13 Thread sam
foo! } }); More info on event delegation: http://docs.jquery.com/Events/jQuery.Event -sam On Jan 13, 2:32 pm, riotbrrd k...@riotbrrd.com wrote: Hi all, Is there a simple way to capture a click event in a window/document and then determine whether the click was inside an element #foo

[jQuery] Re: createElement, get its value

2009-01-13 Thread sam
$('#grabMe') will search the document for an element with ID grabMe Have you added grabMe to the document? On Jan 13, 6:00 pm, CrustyDOD anze.stok...@gmail.com wrote: Hey! I've created one div with FlyDOM plugin which uses createElement function to add stuff to DOM. Now the problem is that

[jQuery] Re: Can't figure out how to traverse the DOM to these values...

2009-01-13 Thread sam
() should work just fine for form inputs. jQuery.next(selector) returns the next SIBLING elements to each jQuery. If you're looking for elements inside jQuery then use .find(). Hope this helps. -sam On Jan 13, 7:29 pm, Rick Faircloth r...@whitestonemedia.com wrote: Starting from the input

[jQuery] How do I make a partial textarea autocomplete?

2008-12-24 Thread Sam Unplugged
, and when a user is editing this part I want to show a list of options (usernames from a database). I can work out the backend, but I have no clue where to begin to make such a textarea. Please help. Thanks a ton. Sam

[jQuery] Re: How do I make a partial textarea autocomplete?

2008-12-24 Thread Sam Unplugged
/crossbrowser.html Any suggestion how I should do that? On Dec 24, 6:47 pm, Kean shenan...@gmail.com wrote: Interesting idea, but, owing to your idea, I am more interested in knowing if there's a way to determine current active keyboard cursor offset in document. On Dec 24, 1:26 am, Sam Unplugged

[jQuery] Re: How do I make a partial textarea autocomplete?

2008-12-24 Thread Sam Unplugged
tell me how this can this be done? Best Sam On Dec 24, 6:48 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: I don't know of any dropin solution for that. I can only recommend to rethink your approach, eg. make the Dear static in front of the textarea and a seperate input inbetween

[jQuery] Re: I wrote a YUI Multi FIle Compression Utility

2008-12-24 Thread Sam Unplugged
Thank you. On Dec 23, 9:27 pm, K-BL axel...@aim.com wrote: Hey Guys, I just finished writing a YUI Multi-File Compression Utility.  It's really simple, it just runs some CLI commands, but more importantly, it compiles entire directories and sub directories with a clean UI. For us IT guys,

[jQuery] Re: How do I make a partial textarea autocomplete?

2008-12-24 Thread Sam Unplugged
Thanks Stephen (MorningZ). I really appreciate it. Best Sam On Dec 24, 8:29 pm, MorningZ morni...@gmail.com wrote: Super quick proof of concept http://paste.pocoo.org/show/96632/ On Dec 24, 10:03 am, MorningZ morni...@gmail.com wrote: What you ask is not going to be possible  first

[jQuery] Re: How do I make a partial textarea autocomplete?

2008-12-24 Thread Sam Unplugged
selections do something like Jorn suggests, and with some well placed and well used CSS you can make it appear as one big textarea, even though it would be div, input and textarea On Dec 24, 9:54 am, Sam Unplugged guptasamee...@gmail.com wrote: Hi, This does make sense. However

[jQuery] Re: Merry Xmass

2008-12-24 Thread Sam Unplugged
Merry Christmas, all you smart people. On Dec 24, 6:20 pm, Lukas Polak polak.luka...@gmail.com wrote: Hi everybody, I don't want you interrupt, but I don't know if you already notice that today is 24th December so at least today you shoold stop working and relax :) Merry Christmas to

[jQuery] Re: How do I make a partial textarea autocomplete?

2008-12-24 Thread Sam Unplugged
Thanks Stephen. jQuery and all the smart people who use it simply don't stop to surprise me. Best Sam On Dec 24, 9:36 pm, MorningZ morni...@gmail.com wrote: It's pretty complicated CSS/JavaScript manipulation that textbox is all this HTML dd id=dd_to_field class=field     div id=ids

[jQuery] Re: Why won't this work?

2008-12-15 Thread Sam Sherlock
what does not work? 2008/12/16 Rick Faircloth r...@whitestonemedia.com Why won't this... script type=text/javascript $(document).ready(function(){ $('#emailError').hide(); }); /script hide this... p id=emailError style=color:red;Please enter your email

[jQuery] SuperFish - Load sub menu with Ajax

2008-12-08 Thread sam
Hello. I put the superfish menu on my page and using the OnBeforeShow method, I am fetching menu items via ajax and placing the LI's in the current UL. I also see if there are children for the newly refreshed sub items and I nest a new UL sort of like this: if(item.subPageCnt 0){

[jQuery] Re: Checking to see if a SWF is fully loaded

2008-12-05 Thread Sam Sherlock
I think its better for flash to call an external function when its fully loaded 2008/12/5 Mike Miller [EMAIL PROTECTED] Hi, Need to find a way to use jquery to check whether or not a swf has been fully loaded before executing a javaScript function. M

[jQuery] Re: Notification when content was updated via AJAX

2008-12-01 Thread Sam Collett
The Live Query plugin may help in this circumstance: http://plugins.jquery.com/project/livequery --Sam On Dec 1, 12:43 pm, Raphael [EMAIL PROTECTED] wrote: I'm having a little problem: There are two independent modules (I'm working in a drupal environment). Well, one module polls a table

[jQuery] How return value in jQuery ajax

2008-11-24 Thread sam
i have function jQuery.ajax({ type: GET, url: url, data: queryString + 'btnSubmit=1', success: function(msg) { if(msg=0){ if(msg) { $(#errorid).val(); }

[jQuery] Re: Traversal: Aggressive next to blast through all parents?

2008-11-11 Thread Sam H
Sorry - but your script causes an infinite loop for some reason. And jQuery's nextUntil doesn't work either, it doesn't survive past the end of the sibling tree. I need my function to go PAST the end of the list of siblings, up through parents, etc., all the way to the end of the document if

[jQuery] jQuery + jQuery.form ajaxForm file upload problems

2008-11-11 Thread Sam Coughlin
Hi, I have made a basic test case with a few text inputs and it works perfect with just them. However if I add a file input to them the json object is sent to the browser as a file download and the success method is never hit. Anyone figure this out? I know the code that returns the json

[jQuery] Re: jQuery + jQuery.form ajaxForm file upload problems

2008-11-11 Thread Sam Coughlin
Hi Mike, thanks for the reply. It's sending it as application/json at the moment. I will try sending it as text/plain and get back to you. On Nov 12, 3:57 pm, Mike Alsup [EMAIL PROTECTED] wrote: I have made a basic test case with a few text inputs and it works perfect with just them.

[jQuery] Re: jQuery + jQuery.form ajaxForm file upload problems

2008-11-11 Thread Sam Coughlin
Hi, Sam again here. Just thought I'd let everyone know I had to change the headers to be content type HTML and it worked fine. On Nov 12, 4:02 pm, Sam Coughlin [EMAIL PROTECTED] wrote: Hi Mike, thanks for the reply. It's sending it as application/json at the moment. I will try sending

[jQuery] Re: form submit without page refresh

2008-11-10 Thread Sam Sherlock
this should be your solution http://www.malsup.com/jquery/form/ 2008/11/10 [EMAIL PROTECTED] [EMAIL PROTECTED] Hi Friends I just want to submit the form without page refresh i want to do this using j query, Am actually working in DRUPAL ,Tell me how to implement this in drupal,

[jQuery] Re: form submit without page refresh

2008-11-10 Thread Sam Sherlock
'), '#required' = TRUE ); $form['submit'] = array( '#input' = TRUE, '#name' = 'op', '#type' = 'submit', '#submit' = TRUE, '#value' =t('submit') ); return $form; } On Mon, Nov 10, 2008 at 6:19 PM, Sam Sherlock [EMAIL PROTECTED]wrote

[jQuery] Re: form submit without page refresh

2008-11-10 Thread Sam Sherlock
the help in, i want to use the jquery in Drupal, On Mon, Nov 10, 2008 at 7:18 PM, Sam Sherlock [EMAIL PROTECTED]wrote: whats the html - I saw the link and that form did not appear to have the event applied to the form perhaps this could be solved by checking that the id of the form is myForm. I

  1   2   3   4   >