[jQuery] Re: OK newb question... what is jQuery

2009-11-18 Thread Phil
I don't believe anyone else has answered this so perhaps this will help you. BTW, it's a great site also! http://blog.themeforest.net/tutorials/7-things-i-wish-i-had-known-about-jquery/?utm_source=feedburnerutm_medium=feedutm_campaign=Feed%3A+themeforest+%28In+the+Woods+-+The+ThemeForest+Blog%29

[jQuery] Selectors, Escaping special Character in JQuery 1.3.2 not working as expected.

2009-11-17 Thread phil
I just recently attempted to upgrade from jQuery 1.2.6 to jQuery 1.3.2 and it broke several web pages where my selectors are escaping special characters - the period. Here is a quick example: input type=text name=first.name id=first.name/ The selector $(#first\\.name) works in jQuery 1.2.6, but

[jQuery] Re: Selectors, Escaping special Character in JQuery 1.3.2 not working as expected.

2009-11-17 Thread phil
copy of jQuery and see if that resolves this issue. thanks. On Nov 17, 4:53 am, Richard D. Worth rdwo...@gmail.com wrote: Works for me: http://jsbin.com/izoco source:http://jsbin.com/izoco/edit - Richard On Tue, Nov 17, 2009 at 4:01 AM, phil pkra...@gmail.com wrote: I just recently

[jQuery] Re: Selectors, Escaping special Character in JQuery 1.3.2 not working as expected.

2009-11-17 Thread phil
there isn't svn setup (that i know of) which tags all plugins with jQuery core so the versions could be resolved a bit easier. -phil On Nov 17, 9:17 am, phil pkra...@gmail.com wrote: Yes thats true. I just tested the exact code I have on jsbin and it worked fine.http://jsbin.com/uhane source:http

[jQuery] Re: Superfish CSS questio

2009-11-08 Thread Phil
example orange = 100 yellow = 1 red = 11 Hope that helps somewhat. And by the way if two have the same value the last one to appear in the stylesheet will be the rule that applies. Phil On Nov 8, 2:39 am, gfranklin gfrank...@gmail.com wrote: Luciano, http://apc.mcswebhost.com/about-us

[jQuery] .load() get by Index

2009-10-24 Thread Phil
Hi, I'm trying to load images off a html page through the load() method but i want to load them through there index eg. img[0] how would i achieve this..? Thanks in advance.

[jQuery] Re: Firefox only selecting first element with given class

2009-10-07 Thread Phil
Very odd. Cleared cache and such when testing. Doesn't work in 1.3.2 does work in 1.2.6 Good news is I don't need 1.3.2 so problem is solved more or less. If i run into it on any other site I may have to investigate further. Thanks for looking at it. On Oct 6, 2:51 pm, Giovanni Battista

[jQuery] IE issues

2009-09-08 Thread Phil
I'm having problems with my jquery slide show in IE. It works fine in other browsers such as firefox and safari. Basically when the page opens the other elements, background and title are there but the space for the slideshow is just empty, no errors or a blank boxes. I could include my js but

[jQuery] Dissect an ID

2009-08-30 Thread Phil
In jQuery how do I remove a certain part of an id... for example i have a div id='thisisadiv_1' I want to remove the 'thisisadiv_' part This is so I can add/subtract 1 to switch divs. Thanks in Advance. Phil.

[jQuery] Re: Dissect an ID

2009-08-30 Thread Phil
('_') which in your case would create an array with element 'thisisadiv' at position 0, and '1' at position 1. you could then reference it via myArray[1] On Sun, Aug 30, 2009 at 3:29 PM, Phil pjwhitehea...@googlemail.com wrote: In jQuery how do I remove a certain part of an id

[jQuery] Re: Dissect an ID

2009-08-30 Thread Phil
Hi, thanks for the reply. I love learning new things but this is kind of complicated... I wrote this from what i looked up: var theid=new RegExp('\d+$'); var isthere = theid.exec(ww_1); console.log(isthere); But all i get is null, any help? thanks again, Phil On Aug 31, 12:06 am, Jorge Godoy

[jQuery] IE issues

2009-08-28 Thread Phil
Im having trouble getting my jquery slideshow to work in IE, It works fine in FF and Safari. I tried using supersleight which seem to help my transparent pngs and text but the slideshow doesnt even seem to be being read. Any Ideas, much appreciated

[jQuery] Complex licensing questions

2009-08-06 Thread Phil
help us. Thanks for any help anyone can provide. Phil

[jQuery] Ajax + XML

2009-07-25 Thread Phil
() $('li/li') .html(name_text + ' (' + id_text + ')') .appendTo('#Details ol'); }); } }); }); Thanks, Phil.

[jQuery] AJAX load()

2009-07-17 Thread Phil
will load diffrent content. I plan to have upwards of 50 links and was wondering if there was a way i could have one function to load the diffrent content. i have tried various methods non of which have worked so i will leave this open. thanks in advance Phil.

[jQuery] Re: AJAX load()

2009-07-17 Thread Phil
value=load one / input type=button class=load id=two value=load two / input type=button class=load id=three value=load three / div id=Details /div /body On Jul 17, 8:51 am, Phil pjwhitehea...@googlemail.com wrote: Here i have a problem: I am uing the AJAX load() and use it like this head

[jQuery] Help for a noob: AJAX, Autocompletes and JSON

2009-07-16 Thread Phil
searches [ autocompletes pulls values from a json database ] -- User clicks on a value -- Information is pulled from the JSON database and populates a container div. I hope that makes sense :S. Thanks alot in advance... Phil

[jQuery] jQuery, JSON and AJAX (help please)

2009-07-16 Thread Phil
is the process i was thinking of User searches [ autocompletes pulls values from a json database ] -- User clicks on a value -- Information is pulled from the JSON database and populates a container div. I hope that makes sense :S. Thanks alot in advance... Phil

[jQuery] Re: Menu slideUp is very erratic

2009-05-27 Thread Phil Sherry
I've had to revisit this code, as the following error is generated in IE when hovering over the menus that have dropdowns: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; InfoPath.2; .NET CLR

[jQuery] Re: Menu slideUp is very erratic

2009-05-12 Thread Phil Sherry
', display: 'block', overflow: 'hidden' }) change height:0px to height:auto or a desired height check out the firebug add on for mozilla firefox it has helped me minimize a lot of my work regarding CSS and JS Waseem. On Mon, May 11, 2009 at 6:08 PM, Phil Sherry philshe...@gmail.com wrote: Hi all

[jQuery] Menu slideUp is very erratic

2009-05-11 Thread Phil Sherry
Hi all, I've inherited some unfinished code for a menu system (previous developer left the company before he could finish it). The menu worked fine until the client wanted some nested lists, which is when the height was being set incorrectly. I had a fiddle and I can get the height to report

[jQuery] Re: Is any one else experiencing serious slowdowns on their site due to 'waiting for jqueryui.com' ?

2009-05-04 Thread Phil
By using a common source - preferably the Google AJAX API, it actually should decrease the load issues. If a visitor has been to ANY site that loaded jQuery from Google, then it should be cached locally in their browser. When the visitor goes to the next 999 sites that *also use the Google AJAX

[jQuery] Re: JQuery Validation - call validate(options) multiple times to append options to current validator [validate]

2009-01-12 Thread phil
Just Pinging this thread to see if anyone has a solution or workaround... On Jan 11, 8:06 pm, phil pkra...@gmail.com wrote: I'm wondering if it's possible to call the validate method multiple times toappendmoreoptionsto thevalidator. I haven't tried it, but it seems like it will overwrite

[jQuery] JQuery Validation - call validate(options) multiple times to append options to current validator [validate]

2009-01-11 Thread phil
I'm wondering if it's possible to call the validate method multiple times to append more options to the validator. I haven't tried it, but it seems like it will overwrite previous options. Example psuedo code: var formValidator = $(#myForm).validate(options1); formValidator +=

[jQuery] Re: jQuery date picker - how to disable all Sunday

2008-12-18 Thread Phil Lee
help. Best regards, Phil On Sun, Nov 23, 2008 at 12:28 PM, Daniel dqmin...@gmail.com wrote: Hi plee, to disable all Sunday: javascript: $('#noSunday').datepicker({ beforeShowDay: noSunday, showOn: both, buttonImage: templates/images/calendar.gif

[jQuery] Re: Submitting the submit input value

2008-11-22 Thread Phil Haack
a hidden input with the same name as the form, but that feels haackish to me. Maybe there's some way I can tunnel the button click from validate to ajaxSubmit. Thanks for any advice. :) Phil From: jquery-en@googlegroups.com [EMAIL PROTECTED] On Behalf Of Mike

[jQuery] Submitting the submit input value

2008-11-21 Thread Phil Haack
I noticed that when I use the .ajaxSubmit button to post a form, it doesn't send the value of the submit button in the form data. For example: form name=form1 input type=text name=foo value=bar / input type=submit name=button value=click / /form If I call jQuery('form1').ajaxSubmit(); The

[jQuery] Re: element.attr() bug in jquery 1.2.6?

2008-05-30 Thread Phil Christensen
to do it. -phil

[jQuery] element.attr() bug in jquery 1.2.6?

2008-05-29 Thread Phil Christensen
. Any help in resolving this, or providing a workaround would be greatly appreciated. Thanks in advance, -phil

[jQuery] Superfish skins...

2008-04-24 Thread Phil Butler
is controlled only by the css file. Is there a source for obtaining different looks - it would make sense for everyone to take advantage of the more creative ones out there. Thanks, Phil

[jQuery] Form Ripping

2008-02-17 Thread Phil S
Anybody know why this jQuery code only shows the fieldsets I wrap round it for a fraction of a second before vanishing? Click the Go button several times quickly to see the fieldsets appear. http://styledna.net/jform/ Basically im trying to grab in all form elements then wrap them in a fieldset

[jQuery] Form Ripping

2008-02-17 Thread Phil S
Im looking to create a plugin that will rip all form content from any given URL. Obviously AJAX cant handle remote sites so thats done via some server-side proxy, but here is what I have so far: http://styledna.net/jform/ Its working fine, except for when I try processing the content thats

[jQuery] Form Ripping

2008-02-17 Thread Phil S
Anybody know why this jQuery code only shows the fieldsets I wrap round it for a fraction of a second before vanishing? Click the Go button several times quickly to see the fieldsets appear. http://styledna.net/jform/ Basically im trying to grab in all form elements then wrap them in a fieldset

[jQuery] Re: Debug Tools - Charles, DebugBar, Firebug Lite

2008-01-05 Thread Phil Glatz
cfdvlpr wrote: 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? I use the Microsoft Virtual PC: http://pingv.com/blog/glhines/200712/browser-testing-ie6 It works very well, and since it has its own registry

[jQuery] passing cookies in drupal modules

2007-12-18 Thread Phil Glatz
I'm using jquery.cookie.js with Drupal 5.5, and am trying to pass a value between some jquery code etween a module I wrote and the rest of the site. I found I could set the cookie in my module, and it would be set correctly the next time I entered the module. But from rest of the site, I don't

[jQuery] getting height of frameset window

2007-11-26 Thread Phil Glatz
I'm trying to get the height of the enclosing frameset window in a page that is using traditional framesets. I am in a function called by the lower frame. I've tried the dimension plugin, and $ (window).outerHeight() is reporting the height of the window the current frame is in. I'm in a frame

[jQuery] Job Opening: Frontend Developer for Yahoo! Groups

2007-09-28 Thread phil
Position: Frontend Developer, Yahoo! Groups Location: Sunnyvale, CA How Big Can You Think? The Internet is a big, busy place, and we at Yahoo! are proud to stand out in the crowd. As the world's number one Internet brand, servicing over a half billion people, we're determined to maintain our

[jQuery] $ is not defined error

2007-09-18 Thread Phil Glatz
I'm modifying the Drupal img_assist module, and trying to add a little jquery to the popup it creates. When I do, I get this error: $ is not defined When I view source, I see the jquery init code at the bottom of the html for both the page frameset, and for both of the framed pages (the popup

[jQuery] using tabIndex

2007-07-18 Thread Phil Glatz
I have some fields that may be generated on the fly via DOM, and want to set the tab index. This isn't working for me: $(#elem2).attr(tabindex, $(#elem1).attr(tabindex) + 1); What would the correct syntax be to make the tabindex of elem2 to be that of elem1 + 1?

[jQuery] tableSorter - problems with changing the number of rows

2007-07-05 Thread Phil Glatz
I'm using the tableSorter plugin and am having a problem with the number of rows displayed; I hope I can describe the situation clearly. I'm building my table dynamically from a local javascript array, initially populated with a database query. Next, I call the tableSorter function. So far so

[jQuery] Re: tableSorter - problems with changing the number of rows

2007-07-05 Thread Phil Glatz
on a particular column, the new column contents don't always come out in sorted order. Is there another trigger to force a sort update? Thanks again, Phil

[jQuery] Re: tableSorter - sorting

2007-07-05 Thread Phil Glatz
Christian Bach wrote: And to leak a new feature: it will contain multiple column sorting. One more suggestion, if it isn't in there already: the ability to exclude some columns as sortable. The column wouldn't display the sorting class in the header, and clicking on it would have no effect.

[jQuery] inner loop values

2007-07-02 Thread Phil Glatz
I'm building a dynamic table, assigning each row a unique ID based on the value of the counter, and trying to display the row id in an alert box when a row is clicked: $(function() { for (i=0; i5; i++) { var row_id = 'row' + i; var rw = 'tr id=' + row_id + 'tdrow ' + i +

[jQuery] Re: inner loop values

2007-07-02 Thread Phil Glatz
Thanks for the suggestions, but I haven't found the answer yet. Try: alert( $(this).attr('id') ); This displays undefined in the alert box. var rw = $('tr id=' + row_id + 'tdrow ' + i + '/td/tr').click( function() { alert(row_id); } ); This displays row4 for all rows in the alert box.

[jQuery] Re: inner loop values

2007-07-02 Thread Phil Glatz
Thanks Ben, works perfectly! On Jul 2, 6:12 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: Phil, This is what I have and get the appropriate rowid in the alert: script $(function() { for (i=0; i5; i++) { var row_id = 'row' + i; var rw = 'tr id=' + row_id + 'tdrow

[jQuery] Building a table from an array

2007-06-30 Thread Phil Glatz
Newbie question - can somebody please provide an example or reference to some existing code on how to create a table from an array of javascript data, please? I have an array of data to populate the table tbody; each element in the array represents a row, and contains an array of the contents of

[jQuery] displaying an offscreen row

2007-06-23 Thread Phil Glatz
I have a table inside a div; the div has a fixed height and overflow set to scroll. When the page is opened, the row containing the last selected data is highlighted, via jquery/DOM. the problem I have is that if the list (number of rows in the table) is bigger than can fit in the div, and the

[jQuery] waiting for a request to complete

2007-06-11 Thread Phil Glatz
I'm calling $.post to send some text back to a web server, where it gets logged. The function is something like this: function send_message(msg) { var params = {}; params['my_message'] = msg; $.post(/myhandler.php, params); } It calls a php page that appends it to a log. If I view the log

[jQuery] waiting for a request to complete

2007-06-11 Thread Phil Glatz
Rob suggested: Alternatively you could use a globally accessibly variable which states whether there is a pending request or not. When a request is sent, set it true, when the response is received set it false. Something like this? var pending = false; function send_message(msg) {

[jQuery] waiting for a request to complete

2007-06-11 Thread Phil Glatz
Rob wrote: Where you're checking the request status you're creating a new request each time. You need to store the XHR object from the request and use that (untested): var xhr = $.post(/myhandler.php, params); while (xhr.status != 200); With Firefox 2, I'm getting this error:

[jQuery] Dragging from a Drupal block to tinyMCE

2007-05-29 Thread Phil Glatz
I'm using Drupal 5.1 and jquery to build a site where members can create content. I wrote a module to display a list of available images and videos in a list in a block. I'd like to be able to select an item from the list and drag it into the article body textarea, and wondering if this can be