[jQuery] Re: What causes a query stri ng when requesting jQuery? e.g. /jquery-1.3.2 .min.js?_=12553…

2009-10-14 Thread Bob Eastbrook
Thanks very much to all who've been thinking about this problem. @Michael, James: I've been working all morning to reproduce my problem in code I can post, but I'm coming up empty. In fact, when my app talks to a remote database I see no problems. I only see the glitch when my app talks to a

[jQuery] Re: What causes a query string when request ing jQuery? e.g. /jquery-1.3.2.min.js?_=12553…

2009-10-13 Thread Bob
On Oct 12, 11:56 pm, Michael Geary m...@mg.to wrote: This doesn't make any sense. I agree! You have a script tag that loads jQuery: script src=/Scripts/jquery-1.3.2.min.js type=text/javascript/script The GET that the browser issues for this script tag will not have a query string. The

[jQuery] Re: What causes a query stri ng when requesting jQuery? e.g. /jquery-1.3.2 .min.js?_=12553…

2009-10-13 Thread Bob Eastbrook
On Tue, Oct 13, 2009 at 11:14 AM, Bob baconeater...@gmail.com wrote: It's in the definition for the ajax function.  When I set { cache: false } in ajaxOptions, I get timestamps added to the end of my XHRs. That makes sense.  However, I still don't know why timestamps are added to jQuery

[jQuery] What causes a query string when requesting jQuery? e.g. /jquery-1.3.2.min.js?_=12553…

2009-10-12 Thread Bob
I'm troubleshooting a page display glitch involving jQuery AJAX. When the glitch happens, Fiddler shows the following as one of the requests: GET /Scripts/jquery-1.3.2.min.js?_=1255309685187 Normally, the request has no query string and the response status code is 304: GET

[jQuery] Re: What causes a query string when request ing jQuery? e.g. /jquery-1.3.2.min.js?_=12553…

2009-10-12 Thread Bob
@ace: I tried passing ajaxOptions: { cache: false} to jQuery-UI Tabs and I think that did the trick! Is that what you were talking about? I struggled with this for far longer than I care to admit. Muchas gracias. Fiddler now shows a similar timestamp query string appended to my XHR. I guess

[jQuery] Re: What causes a query string when request ing jQuery? e.g. /jquery-1.3.2.min.js?_=12553…

2009-10-12 Thread Bob
@Michael: I just pull the scripts in like this: script src=/Scripts/jquery-1.3.2.min.js type=text/javascript/ script script src=/Scripts/jquery-ui-1.7.2.custom.min.js type=text/ javascript/script @ace: Which cache option is that? Bob

[jQuery] Display fails when jQuery.js isn’t cached . When cached, page displayed OK.

2009-10-11 Thread Bob
I have jQuery UI Tabs which load their content via AJAX. About once every 15 times when the entire page is loaded (not just XHR), things fail and I don't see the proper content in the tab. The jQuery executes without error, but the page display is wrong. Fiddler showed me that when things fail

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread Bob
Interesting discovery. Going back to the code that works, if I alert is (':checked') in the working code, it also returns false ALWAYS, but it still works. Still looking for a solution.

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread Bob
Thanks for the link MorningZ I obviously have issues elsewhere in my code, but I can't paste my entire site here. I'm looking for suggestions on what MIGHT be causing this since there is no obvious error at the moment. On Oct 1, 11:39 am, Bob bob.nel...@gmail.com wrote: Interesting discovery

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread Bob
. On Oct 1, 8:53 am, Bob bob.nel...@gmail.com wrote: Thanks for the link MorningZ I obviously have issues elsewhere in my code, but I can't paste my entire site here. I'm looking for suggestions on what MIGHT be causing this since there is no obvious error at the moment. On Oct 1, 11

[jQuery] Re: Table sorter

2009-08-12 Thread Bob Woodard
On Aug 6, 8:56 am, mila mshneyder...@gmail.com wrote:         $(#myTable).tablesorter();         $(#myTable).tablesorter();  // had to do that twice for column sorting to work in both directions Thanks for mentioning this! I was going crazy seeing this behavior and couldn't figure it out.

[jQuery] International numeric formatting on the fly with multiple rounding options

2009-07-27 Thread Bob
To all: I have created a plugin that handles International numeric formatting on the fly by using a Reg Expression. Before I release this I would appreciate comments and suggestions for improvements. Demo can be viewed here http://decorplanit.com/plugin/index.htm Thanks in advance. Bob

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-04 Thread Bob Schellink
) { // If form validation failed we return false to stop Form submit if (!valid) { return false; } } // Define jQuery(#form).validate(validationOptions); jQuery('#form').ajaxForm(formOptions); Hope this is helpful. kind regards bob

[jQuery] .length value different in IE vs FF

2009-05-30 Thread Bob O
I have a pretty simple character counter to count the number of character typed by a user.. broadcastSubmit = $('#broadcastSubmitButton'); broadCastMessageDiv = $('#broadcastMessage'); availableChars = 140; charCount = $('.char_count'); boilerPlateKeyword =

[jQuery] IE only browsers that break - need help

2009-05-27 Thread Bob O
My code runs great in every browser but IE6 IE7 and IE8. it breaks and causes all scripts to fail. i setup Visual Web Developer in my VM like a blog post told me, and when i load the page i get Microsoft JScript runtime error: Object doesn't support this property or method that seem to break

[jQuery] Re: IE only browsers that break - need help

2009-05-27 Thread Bob O
to the front e.g. var login_box = ... or you can change the name of the variable itself. my_login_box etc... from the man himself. hopefully this helps anyone who comes across the same problem.. On May 27, 7:44 pm, Bob O sngndn...@gmail.com wrote: My code runs great in every browser but IE6 IE7

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Bob O
Jörn On Fri, May 22, 2009 at 10:15 PM, Bob O bhan...@hcinsight.com wrote: so as not to confuse.. the name attribute looks like this name=name['name'] for the input field and the js is rules: {  name['name']: 'required' } i noticed typos in the above question. On May 22, 12

[jQuery] Re: Jquery Email validation

2009-05-22 Thread Bob O
look at the jQuery validation plugin.. its pretty slick. On May 22, 4:06 am, gladrinkz gladri...@gmail.com wrote: is ant one know how can i set email validation in jquery i am using .net

[jQuery] Re: jQuery Validation Plugin

2009-05-22 Thread Bob O
so as not to confuse.. the name attribute looks like this name=name['name'] for the input field and the js is rules: { name['name']: 'required' } i noticed typos in the above question. On May 22, 12:36 pm, bhan...@hcinsight.com bhan...@hcinsight.com wrote: Can anyone tell me how i can

[jQuery] alert wont fire from page to page

2009-04-15 Thread Bob O
I have a very simple piece of code. $(document).ready(function() { // var url = location.pathname; alert(url); }); When im on my home page it alerts the pathname like it should. but when i navigate to the next page the alert does not fire the firebug dom shows the new pathname..but the

[jQuery] Re: alert wont fire from page to page

2009-04-15 Thread Bob O
also in my code the line is not commented out... I accidentally pasted that in there.. On Apr 15, 10:45 am, Bob O sngndn...@gmail.com wrote: I have a very simple piece of code. $(document).ready(function() {   // var url = location.pathname;   alert(url); }); When im on my home page

[jQuery] Re: alert wont fire from page to page

2009-04-15 Thread Bob O
nevermind...i found the problem. On Apr 15, 10:46 am, Bob O sngndn...@gmail.com wrote: also in my code the line is not commented out... I accidentally pasted that in there.. On Apr 15, 10:45 am, Bob O sngndn...@gmail.com wrote: I have a very simple piece of code. $(document).ready

[jQuery] Re: How to tell apart focus event

2009-04-07 Thread bob
Nobody knows?

[jQuery] ajax - no callback on timeout

2009-04-06 Thread bob
Hi, Does anybody know how to trigger timeout function. If database does not respond in 5 seconds I need to display some notification to user. The following example did not trigger any callback after 5 seconds. jQuery.ajax({ type: POST, url: 'proccess.php',

[jQuery] How to tell apart focus event

2009-04-05 Thread bob
Hi, form Name: input type=text id=my_name name=my_name /form Is it possible to tell apart focus event? jQuery(#my_name).focus(function (evt) { if( ??? ){ //execute this if focus was triggered by user clicking on the text field } else {

[jQuery] table filtering

2009-03-31 Thread Bob O
I have a YUI datatable that im live filtering from a text field. The problem im having is when i get a lot of records, its really slow..Ive only been using jQuery for a few months now, so im a bit of a noob. Any help refactoring this to make it run smoother would be great. **HTML** **search

[jQuery] height of hidden element

2009-03-21 Thread bob
content for hidden_el is loaded by Ajax from random source so the height of that element is not known up front. I would like to use animation function to show element(expand) on mouseover. How do I find out the height of that element(final height for animation purposes) when content is already

[jQuery] compare jQuery objects

2009-03-19 Thread bob
How is it that I get false for the following? Shouldn't I get true as a result? if not, why? div id=home/div $(document).ready(function(){ var one = $('#home'); console.log('compararison: ' + (one == $('#home')) ); // false !!! }); How do I compare jQuery objects?

[jQuery] Re: compare jQuery objects

2009-03-19 Thread bob
Well, that did not help much So what is the problem then? Why do I get false? How do I get true value?

[jQuery] show hide random rows

2009-03-17 Thread Bob O
I was wondering if anyone could point me to a tutorial or blog where i can accomplish this task. Basically i have a YUI datatable and i want to use jQuery to hide all but a user generated number of rows that are random selected so if i had 50 records in the table and the user input 10 in a text

[jQuery] li width bug in jCarousel

2009-03-10 Thread Bob
In jcarousel 0.2.3, in the reload() funtion, on line 269, there is this code to compute the dimensions of the li's: $('li', this.list).each(function(i) { ... but won't that compute the dimensions of all li's in the document? It should only be recomputing the dimensions of the child li's and

[jQuery] Re: li width bug in jCarousel

2009-03-10 Thread Bob
Oops - I wasn't aware that the second parameter was the context - I was reading this as if both parameters were inside the quotes. Please ignore this note.

[jQuery] Cannot create jCarousels when not visible

2009-03-10 Thread Bob
I just lost a lot of time on this, so I'm posting it here to hopefully save others from the same fate. You cannot create jCarousels when they are not visible. The code that computes the dimensions uses offsetWidth and offsetHeight, which only work for visible elements. I had several tabs that

[jQuery] $(document).ready and window.onload

2009-03-07 Thread Bob
of $(document).ready for this portion of the code and I suspect tying into the existing structure might be a challenge. Would appreciate some guidance here on working with both from anyone with experience in this area or a reference to a resource or tutorial. bob

[jQuery] Re: validation rules(remove) doesn't seem to work

2009-02-24 Thread Bob O
Im a little new to the plugin myself, but do you have a form id=myFormwrapping your inputs? On Feb 24, 10:34 am, kathb4 kat...@googlemail.com wrote: I am trying to use the validation plugin to validate a set of checkboxes which are created by my CMS (drupal) so are not changeable - and

[jQuery] Validation and Facebox

2009-02-24 Thread Bob O
Hello, Ive been using the Validation plugin on my site and it works fantastic. i have run into an issue with trying to get it to perform validation on a form that resides in a facebox. I setup the validation the same as any other form in the site. what could i be missing?

[jQuery] jQuery and IE

2009-02-24 Thread Bob O
So im stumped..I have my jquery file in the headers, and it works in Opera, Safari, FF on mac, and FF on Windows, but i get nothing in IE..its there, its just broken. i recently added the validation plugin? could there be something im missing?

[jQuery] Re: jQuery and IE

2009-02-24 Thread Bob O
that could be faulting.. On Feb 24, 12:35 pm, Bob O sngndn...@gmail.com wrote: So im stumped..I have my jquery file in the headers, and it works in Opera, Safari, FF on mac, and FF on Windows, but i get nothing in IE..its there, its just broken. i recently added the validation plugin? could

[jQuery] Re: jQuery and IE

2009-02-24 Thread Bob O
must provide a start date.            }            endDate: {               required: You must provide an end date.            } } On Feb 24, 10:59 am, Bob O sngndn...@gmail.com wrote: sorry..new to the group thing here as well... i have narrowed it down to this piece of code

[jQuery] Re: [ListNav] Solution to a severe performance problems with jQuery/ListNav and the Blueprint CSS framework

2009-02-23 Thread Bob Hutchison
Hi Jack, Yes, I'll try to give it a try ASAP (I have a release of my own due on Wednesday, so I'll do my best). Cheers, Bob On 23-Feb-09, at 1:19 PM, Jack Killpatrick wrote: Bob, I have a new rev of listnav (hoping to release this week). Do you want to try this rev and see what happens

[jQuery] How to close dropdown

2009-02-20 Thread bob
Hi, I am trying to create a simple dropdown. The problem I have is that I do not know how to close the dropdown. It is supposed to close when user clicks on id=btn or anywhere outside of dropdown. That's what I tried but close does not work. html body div id=wrapper div

[jQuery] optimizing

2009-02-14 Thread Bob O
hello, Im trying to figure out a better way to do this. it works but its very sluggish, so i think theyre might be a better way to iterate? i have an input field = .searchbox and then i have a YUI datatable that contains about 65 rows. when i start to type in the search field, it iterates over

[jQuery] How to access a field in a form

2009-02-05 Thread bob
Hi, What is the best way to access a field in a form when I already have an jQuery object referencing form. function myFunction(formName, fieldName){ var formjQueryObject = jQuery('#'+formName); var formField = jQuery(#+formName+ [name=' + fieldName + ']); or can I somehow

[jQuery] Re: Dealing with Date Comparison

2009-02-05 Thread Bob O
() (now.getTime() - (14*24*60*60*1000))) {       $(this).addClass('highlight');     }   }); }); Bob O-2 wrote: Can any one point me in the right direction for my issue. I have a div with a text value pulled in from a database 01/01/2009 Im trying to write a javascript that can take

[jQuery] Dealing with Date Comparison

2009-02-04 Thread Bob O
Can any one point me in the right direction for my issue. I have a div with a text value pulled in from a database 01/01/2009 Im trying to write a javascript that can take that value and compare it against new Date(); $(document).ready(function() { now = new Date(); lastActivityDivs =

[jQuery] how to get action attribute from form

2009-02-03 Thread bob
Hi, How do I get action attribute from the following form if I know id and name values. form name=myForm id=myForm method=post action=register.php onsubmit=return false; I tried those and it did not work: $(form[name=myForm]).attr('action'); $(#myForm).attr('action');

[jQuery] Re: how to get action attribute from form

2009-02-03 Thread bob
Sorry. Works now. I have mistyped action=register.php.

[jQuery] .text()

2009-01-31 Thread Bob O
So below i have my code example. Basically when a user loads this page depending on the type of campaign this is, I want jQuery to show the proper Sub Form Piece. I can get the alert() outside the if else to fire, but nothing inside the if else fires, which leads me to believe that I might have

[jQuery] Re: closure inside ajax method

2009-01-28 Thread bob
Thanks everybody, to Eric Garside : I have tried jQuery Automatic Script Includer and it does not download scripts for me. Are there any known issues that I should be aware of? I placed this code inside of jquery.js right at the end. (function($){ var scripts = /\?(.*)/, files = [],

[jQuery] Re: closure inside ajax method

2009-01-28 Thread bob
I think the following line is the problem files = files.concat($.map(src.match(scripts).pop().split(','), function(e,i){ count = files.length; // gives me 0 or undefined

[jQuery] Re: closure inside ajax method

2009-01-27 Thread bob
Thanks, Can't closure be achieved with for loop? for(var i=0; iscripts.length; i++){ My concern is: Does $.each process the scripts array items in the exact order they are in the array?

[jQuery] onblur Firing Ahead Of onclick

2009-01-27 Thread bob
jQuery('form[name=myForm]').bind('submit', validateForm); jQuery('#login').bind('focus', validateForm); jQuery('#blur').bind('blur', validateForm); Problem: when I click login text field and then Submit button what happens is that instead of alert('submit'); I get alert('blur'); What can I do

[jQuery] closure inside ajax method

2009-01-26 Thread bob
Hi, How can access index i inside of complete method? The following gives me just the last value of i. var scripts = ['script1.js', 'script2.js']; for(var i=0; iscripts.length; i++){ jQuery.ajax({ dataType: 'script', url: scripts[i],

[jQuery] Re: Superfish Navbar question

2009-01-25 Thread Bob
Yes, it does. Many thanks! On Jan 25, 4:55 am, Joel Birch joeldbi...@gmail.com wrote: Hi Bob, To add two multiple classes to one element, you put them both within the one class attribute and separate them with a space, like so: ul class=sf-menu sf-navbar ... /ul Hope this clears it up

[jQuery] Superfish Navbar question

2009-01-24 Thread Bob
someone please help me with this? I can't even get a basic navbar to run. Many thanks, Bob

[jQuery] How to hide all select form elements

2009-01-16 Thread bob
Hi, Is it possible to hide all select form elements without using id or class atributes? select option value=''/option option value='AL'Alabama/option option value='AK'Alaska/option select ... jq(:select).hide(); // DOES NOT HIDE ANY SELECT ELEMENTS

[jQuery] nod names in from fields id

2009-01-14 Thread bob
Hi, How do i get nod names in for loop based on fields id? var serverVals = { 'firstName':'John', // 'city':'NY', 'state':6, 'gender':1, }; input type=text name=firstName id=firstName select id=state name=state option value='AL'Alabama/option

[jQuery] submit form

2009-01-13 Thread bob
Hi, form name=myForm id=myForm method=post onsubmit=return false; input type=submit id=myFormSubmit value=Submit/ $('#myFormSubmit').bind('click', validateForm); validateForm = function(event){ if(???=='form'){ alert('form validation processing');

[jQuery] this inside of click event

2009-01-11 Thread bob
Hi, What does this inside of $('.test').click(function() { refer to? script type=text/javascript $(document).ready(function() { $('.test').click(function() { alert('this = ' + this); }); }); /script a href=# class=testClick Me/a

[jQuery] event name

2009-01-07 Thread bob
var handler = function(e){ //How do I know what event triggered this function? //this does not work: alert('e = ' + e); if(e==focus) alert(focus); else if(e==blur) alert(blur); }

[jQuery] get tag name

2009-01-07 Thread bob
select name=month id=month option value= SELECTED/option option value=1 January/option option value=2 February/option function do_something_based_on_tag_name(selector) { if(???=='select') {} } var selector = jq('#month'); do_something_based_on_tag_name(selector); How do I get tag

[jQuery] Re: iterate over json

2009-01-06 Thread bob
Thanks a lot.

[jQuery] how to get form data

2009-01-05 Thread bob
Hi, I would like to keep jQuery('fo...@name=myform1]') in variable so that I can utilize it later on. var myForm = jQuery('fo...@name=myform1]'); Is there a way I can access checkbox state and check the size? The following does not work. It gives me 0 even when I some checkboxes are selected.

[jQuery] iterate over json

2009-01-05 Thread bob
How do I dynamically access json values? var myJSONObject = {formValues: [ {'name': 'Frank'}, {'city': 'London'}, {'age': 25} ] }; The following gives me undefined. $.each(myJSONObject.formVals, function(i,item){ alert('i = ' + i + '

[jQuery] hidden form field

2009-01-03 Thread bob
How do I insert a value to hidden form field user_name? form name=myForm id=myForm method=post input type=hidden name=foo value=bar/ input type=hidden name=user_name value=/ /form jQuery('form#myForm input:hidden ???').val('fast_fish'); Thats what I need: input type=hidden

[jQuery] change()

2009-01-02 Thread Bob O
Hello all, a little new the js and jquery any help would be fantastic... I have this in my linked myFx.js file: $(document).ready(function() { var selected_type = $('select#campaign_type_select'); var coupon_div = $('#campaign_create_coupon'); var broadcast_div =

[jQuery] Re: change()

2009-01-02 Thread Bob O
) {                 value = newvalue;                 alert( value );             }         });     }); -Mike From: Bob O Hello all, a little new the js and jquery any help would be fantastic... I have this in my linked myFx.js file: $(document).ready(function() {   var selected_type = $('select

[jQuery] Re: change()

2009-01-02 Thread Bob O
if' and it should be fine, and start using Firebug for Firefox so you can debug your scripts, or Visual Web Developer for IE. On Jan 2, 2:04 pm, Bob O sngndn...@gmail.com wrote: I must not be getting it, this is whati have now, and it is still not working as needed. $(document).ready

[jQuery] Re: [ListNav] Solution to a severe performance problems with jQuery/ListNav and the Blueprint CSS framework

2008-12-31 Thread Bob Hutchison
Hi Jack, On 31-Dec-08, at 3:27 AM, Jack Killpatrick wrote: Hi Bob, I created the listnav plugin. Thanks for the nice comments about it in your post, glad you like it. I certainly do. Nice work! I'm curious about the issue you're seeing when using Blueprint CSS. In your post you said

[jQuery] [ListNav] Solution to a severe performance problems with jQuery/ListNav and the Blueprint CSS framework

2008-12-30 Thread Bob Hutchison
ListNav has finished doing it's thing on the page. I've written in more detail about this on my weblog: http://recursive.ca/hutch/2008/12/30/how-to-destroy-page-rendering-performance-using-just-javascript-and-css/ Cheers, Bob

[jQuery] [ListNav] Solution to a severe performance problems with jQuery/ListNav and the Blueprint CSS framework

2008-12-30 Thread Bob Hutchison
in more detail about this on my weblog: http://recursive.ca/hutch/2008/12/30/how-to-destroy-page-rendering-performance-using-just-javascript-and-css/ Cheers, Bob Bob Hutchison -- tumblelog at http://www.recursive.ca/so/ Recursive Design Inc. -- weblog at http

[jQuery] define and invoke class inside $(document).ready

2008-12-29 Thread bob
Is that a correct way to create class utilizing jQuery? var myClass = null; $(document).ready(function(){ function MyClass(){ this.imagesHolder = null; } MyClass.prototype.init = function (){ this.imagesHolder = jQuery(#imgs); }

[jQuery] Re: define and invoke class inside $(document).ready

2008-12-29 Thread bob
Yep, I intend to use myClass outside of document ready. I thought that in order to use jQuery as follows this.imagesHolder = jQuery(#imgs); inside of MyClass I would have to enclose it inside $(document).ready(function(){... so that DOM is ready before invoking MyClass. Is my assumption wrong?

[jQuery] Re: How do I cache

2008-12-28 Thread bob
Temporary Internet Files and Proxies(Public caching)

[jQuery] How do I cache

2008-12-27 Thread bob
I would like to have a registration form cached for 1 year public and private. How do i go about it. Thats what I tried and register.html was not cached. jq.ajax({ type: POST, url: http://www.example.com/register.html;, dataType: html, cache: true,

[jQuery] using jquery to implement google maps on phpbb3

2008-12-04 Thread Bob
instance. But the next time someone posts a map, the first one doesn't display. Does anyone know how to use jquery to write the div id so that this actually works? I will be forever in your debt for any help with this. -bob script src=http://www.google.com/jsapi? key

[jQuery] using jquery to implement google maps on phpbb3

2008-12-04 Thread Bob
instance. But the next time someone posts a map, the first one doesn't display. Does anyone know how to use jquery to write the div id so that this actually works? I will be forever in your debt for any help with this. -bob script src=http://www.google.com/jsapi? key

[jQuery] Re: Has jQuery development halted?

2008-12-01 Thread Bob den Otter
Hi Rey, Thanks for the reply.. I eagerly await any and all new releases. ;-) Cheers, Bob. I think one of the things that we've done is spoiled jQuery developers by releasing often. Obviously, we try hard to do that (spoil jQuery developers) because we want you guys to have the very best

[jQuery] Has jQuery development halted?

2008-11-26 Thread Bob den Otter
for other js frameworks. I sincerely hope not, but i _am_ worried about it. Best, Bob.

[jQuery] Re: Has jQuery development halted?

2008-11-26 Thread Bob den Otter
Hi Andy, I found that 1.3 roadmap earlier today, when i was googling for news on jQuery 1.3.. Those pages list no dates, so I have no idea if they're current or not. Best, Bob. Have you reviewed the roadmaps for 1.2 and 1.3? http://docs.jquery.com/JQuery_1.2_Roadmap http

[jQuery] Re: exclude children from selected elements

2008-11-21 Thread Bob O
Why dont you fire an event after the children have been loaded that removes them? On Nov 21, 3:07 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My mistake, it is working. The problem was my lack of understanding about how Dialog works.  main is the div from which I create a Dialog and I

[jQuery] Re: image toggle

2008-11-18 Thread bob
Nobody knows? Is it not possible? Thanks ricardo, It's easier to just add a class to all the headers, then use $ Thats how I do it now I was just wandering if the solution using each would be possible.

[jQuery] iterate array and create callback

2008-11-16 Thread bob
Is it possible to iterate over the array and create functions as follows? It did not seem to work for me. var menu = ['home','news','sport','music']; for(var i=0; imenu.length;i++) { $('#'+menu[i]+'_header').click(function(){ alert(i); alert(menu[i]+'_header clicked');

[jQuery] Re: image toggle

2008-11-16 Thread bob
Cannot be done something with each? Again, it does not work for me. var menu = ['home','news','sport','music']; $.each(menu, function(index) { $('#'+this+'_header').click(function(){ alert(this+'_header clicked'); }); });

[jQuery] image toggle

2008-11-15 Thread bob
Hi, I am trying to create a toggler that I would like to work as follows: User clicks on #my_header and source of the image gets replaced. I tried the following but it did not work. div title=show/hide id=my_header img src=images/arrow_down.gif/ spanSome title here/span /div

[jQuery] Re: image toggle

2008-11-15 Thread bob
Thanks ricardo, Is it possible to do something like this? It did not seem to work for me. var menu = ['home','news','sport','music']; for(var i=0; imenu.length;i++) { $('#'+menu[i]+'_header').click(function(){ alert(menu[i]+'_header clicked'); var $img

[jQuery] Re: Taconite - remove surrogate div

2008-11-12 Thread Bob Schellink
In case someone runs into the same issue, I've attached a patch to remove the temporary div. In short this snippet moves the content after the div and then removes the div. Not sure if this will have nasty side effects though. regards bob Index: jquery.taconite.js --- jquery.taconite.js

[jQuery] Taconite - remove surrogate div

2008-11-10 Thread Bob Schellink
the command is executed? Or any other suggestion on how to remove the div? kind regards bob

[jQuery] Re: Taconite - remove surrogate div

2008-11-10 Thread Bob Schellink
integrating taconite into a component framework and do not have much control over the commands and their content. Hmm would it work to unwrap (does that even make sense) the div contents? kind regards bob Mike Alsup wrote: In order to do this taconite places the CDATA content inside a div

[jQuery] Callback after ALL elements in set animated?

2008-11-03 Thread Bob
... or whatever effect is passing back EACH item into the chain, the queue is applied to each individually with the same effect. Best, Bob

[jQuery] Re: Using taconite to append javascript and stylesheets

2008-10-31 Thread Bob Schellink
('script with src: ' + src + ' already exists'); return false; } } return true; } kind regards bob On Oct 29, 9:11 pm, Bob Schellink [EMAIL PROTECTED] wrote: Hi Ricardo, ricardobeat wrote: You don't need a plug-in to do that: $('head') .append('link href=css/geral.css rel

[jQuery] Re: Using taconite to append javascript and stylesheets

2008-10-29 Thread Bob Schellink
add the same script again. Should I bypass JQuery and manually add the script tags to head? kind regards bob

[jQuery] [Taconite] Using taconite to append javascript and stylesheets

2008-10-28 Thread Bob Schellink
/javascript href=calendar.css/ /append /taconite Is this scenario supported by Taconite or should I rather the eval tag for appending stylesheets? kind regards bob

[jQuery] Re: superfish + bgiframe problem on IE6

2008-10-22 Thread Bob Sawyer
-index: 120;} #menu ul li a:hover { color: #000; background: #dfdfdf; } #menu ul li.current a { color: #333; } Any ideas? Thanks, Bob

[jQuery] Re: jcarousel reset

2008-10-15 Thread Bob
myCarousel.reset(); } Hope this helps, Bob On Oct 1, 4:20 am, Anatalsceo [EMAIL PROTECTED] wrote: Thejcarouselplug works really great. I only have a  problem with theresetfunction. I try on a page to change the content of the carousel without reloading the page. I'm using for this the $(document).ready

[jQuery] Re: jQuery and Rails Block

2008-09-24 Thread Bob O
here. Cheers, -Eric On Sep 20, 10:40 am, Bob O [EMAIL PROTECTED] wrote: Hello, Im am a CSS guy moving into the world of js and RoR, so its nice to find things like jQuery and supporting groups. I am a n00b, so the more english the response the better Question: I have a rails

[jQuery] jQuery and Rails Block

2008-09-20 Thread Bob O
Hello, Im am a CSS guy moving into the world of js and RoR, so its nice to find things like jQuery and supporting groups. I am a n00b, so the more english the response the better Question: I have a rails partial that cycles a :collection. So every record in the db table receives the same

[jQuery] Re: Accessing JQuery from frames

2008-08-27 Thread Bob Gregg
Wow... nothing... Is anyone using JQuery with a regular old-fashioned frameset and frames? On Aug 25, 2:56 pm, Bob Gregg [EMAIL PROTECTED] wrote: My apologies if this has been asked before; but in searching I can't see that anyone asked quite the same thing in the past.  I have a frame-based

[jQuery] Re: slide()/show()/hide() does not expand across columns

2008-08-26 Thread Bob Gregg
specifically on table rows? I noticed that it actually seems to move the DOM elements into a single table cell width prior to the initial fade out; no idea why, though. Bob On Aug 26, 1:04 pm, J Junos [EMAIL PROTECTED] wrote: My issue is that I want to allow users to hide and show expanded data

[jQuery] Re: slide()/show()/hide() does not expand across columns

2008-08-26 Thread Bob Gregg
I've previously implemented table row show/hide in a production app, so I went back to check - the main difference between your code and mine was that you're using 'slow' in your toggle() statement. When I eliminated that and just used toggle() (or show() / hide() ), your jQuery code seems to

  1   2   >