[jQuery] Re: How to print tag name

2009-09-30 Thread Richard D. Worth
console.log($('table:first tr').find(':first-child')[0].tagName); - Richard On Wed, Sep 30, 2009 at 1:55 AM, David .Wu chan1...@gmail.com wrote: The code below show [ td ], can I got the tagName like td? table trtd1/td/tr /table console.log($('table:first tr').find(':first-child'));

[jQuery] Re: reservation booking system

2009-09-30 Thread Jon Banner
have you checked out the UI? http://jqueryui.com/ rgds. Jon 2009/9/30 Eesti Mate e...@t35t.in-berlin.de Hello List, I'm looking for some modules to realize a reservation and booking system (jQueryDjango), preferably with a nice calendar interface. I did some research today, but didn't

[jQuery] Re: Refresh only a section of the page

2009-09-30 Thread Macovei Catalin
I'll try it now... with AJAX or IFRAMES and wrote back... thanks for answering On Sep 25, 4:03 am, James james.gp@gmail.com wrote: Have the radio on your top page, and your content pages loaded into a DIV via AJAX, or use IFRAMES to display your content. Is that what you're looking for?

[jQuery] Re: jCarouselLite - set to scroll if...

2009-09-30 Thread john.mbiddu...@googlemail.com
can anyone help here? On 29 Sep, 16:59, john.mbiddu...@googlemail.com john.mbiddu...@googlemail.com wrote: hi, I am using the jCarouselLite which I got from here in my webpage and would like to be able to start the scroll if the text that is inside the div falls outside the height of it?!

[jQuery] Re: Simple Jquery AJAX post

2009-09-30 Thread mattastic
Thanks very much for your reply, however, could you please tell me how I can populate the loading div with the response text, rather than an alert? Many thanks On Sep 29, 1:56 pm, Mark Gorman dayg...@gmail.com wrote: yay for it not showing what you said before i posted, try on your start and

[jQuery] Re: Modal Dialog with a datepicker inside, works one time, then never...

2009-09-30 Thread Nalum
Hello Alex, The only reason it would be a problem is if you don't apply the jQuery to the input every time it is loaded or if it is loaded a second time and old input is still on the page then you have two elements with the same id. If you have two elements with the same id jQuery wont do

[jQuery] Re: jCarouselLite - set to scroll if...

2009-09-30 Thread Jon Banner
No idea if this will work for you. get the height of the content you wish to scroll. http://docs.jquery.com/CSS/height if its greater than the height of your carousel item, add the auto call to the plugin... presume that you have seen all this http://www.gmarwaha.com/jquery/jcarousellite/

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

2009-09-30 Thread readysalted
I'd use this approach - var clicks = 0; $('.todo_item h2').live('click', function() { // count the click click++; // only set the timeout if the first click to prevent multiple firing if( click == 1) setTimeout( doTheAction(), 300); }); function doTheAction()

[jQuery] array object

2009-09-30 Thread Poloman
Can I get value and text of an option and put them into an array object? select option value=c1britney/option option value=c2jackson/option /select I'd like to have something like this arrayob = {c1:britner, c2:jackson};

[jQuery] CSS not loading and cannot access newly loaded content

2009-09-30 Thread IsenGrim
Hi I want to load new content into a container using .load ('content.html') after the user clicks on a menu item. and in the new content is a form and i encountered 2 problems. first is that the new content don't comply to my loaded css? the fonts sizes are off and the content seem unformated.

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

2009-09-30 Thread Liam Potter
in the double click function you'd have to clearTimeout on the first function otherwise it will run anyways. readysalted wrote: I'd use this approach - var clicks = 0; $('.todo_item h2').live('click', function() { // count the click click++; // only set the timeout

[jQuery] Re: Simple Jquery AJAX post

2009-09-30 Thread Mark Gorman
in my example i would isted of alert($(data).find('result').text()); use $('.loading').text($(data).find('result').text()); if you had html then $('.loading').html($(data).html()) would work i think so long as you returned html you might have to tell it what the return type is just it normaly

[jQuery] Re: clone() + Sortable and Draggable

2009-09-30 Thread Jérôme GRAS
Hello again ! I'm back on this project, and I tried the trick you gave me. Unfortunately, that doesn't seem to work. The newly created sortable doesn't accept elements... :-( The only 'solution' I have for now is to create a bunch of hidden sortables at the bottom of my source code, and move

[jQuery] Getting Last ID

2009-09-30 Thread lionel28
Hi, I am dynamically creating/removing entire rows in a form. function addNewRow(newId) { var tbody = document.getElementById('list').tBodies[0]; var lastRow = tbody.rows.length - 1; var newId = lastRow; var row = document.createElement('tr');

[jQuery] jQuery plugin that can do the image effects here?

2009-09-30 Thread Michael Price
'lo all, Boss has been asking me if we can replicate the image fader here: http://www.gleneagles.com/home.aspx Note how it pans and slides as well as fading between images - this one is done in Flash. We often use the Cycle plugin for a fade-between set of images but is there a plugin to do

[jQuery] Re: array object

2009-09-30 Thread Karl Swedberg
On Sep 30, 2009, at 1:00 AM, Poloman wrote: Can I get value and text of an option and put them into an array object? select option value=c1britney/option option value=c2jackson/option /select I'd like to have something like this arrayob = {c1:britner, c2:jackson};

[jQuery] Re: Getting Last ID

2009-09-30 Thread Dave Methvin
What is the best method to get the last ID so I have 1 3 4 Here's my untested solution: function addNewRow() { var $tbody = $(#list tbody:first); var newId = +($tbody.find(tr:last).attr(id) || 0) + 1; var $row = $(tr /).attr(id, newId).appendTo($tbody); ... } If there are no rows

[jQuery] Help using cylce(plugin)

2009-09-30 Thread Ricardo
Hello! I have this html markup: div class=dinamica style=position: relative; padding-bottom: 5px; height=124 width=200 --some images here /div div style=padding-bottom: 5px; height=124 width=200 a href=javascript:void(0); img height=124 border=0 width=200 src=images/anuncio.png/ /a

[jQuery] Superfish navbar alignment question

2009-09-30 Thread Vali
Hello, Actually I will repeat a message sent by some other user, message which seems to have been completely ignored. I believe this is a good question, I am also very interested in its answer (otherwise unfortunately I will have to look to some other navbar system). So, is it possible to align

[jQuery] parentNode is null or not an object

2009-09-30 Thread Hugo Estrada
I am getting this error on IE8; it is working nice on firefox, and I have to support IE. I found this page: http://www.nabble.com/Error-with-BlockUI:-%27parentNode%27-is-null-or-not-an-object-td22990094s27240.html And they identify as the problem occurring here: The error occurs in the

[jQuery] Re: Getting Last ID

2009-09-30 Thread lionel28
Thanks. The first row is always there. It cannot be removed if it's only one row. However, I just realized that the code that I am using is not jQuery function addNewRow(newId) { var tbody = document.getElementById('list').tBodies[0]; var lastRow = tbody.rows.length - 1; var newId

[jQuery] Re: array object

2009-09-30 Thread runrunforest
I try your code, the result is: [object Object] On Sep 30, 8:05 pm, Karl Swedberg k...@englishrules.com wrote: On Sep 30, 2009, at 1:00 AM, Poloman wrote: Can I get value and text of an option and put them into an array object?    select        option value=c1britney/option        

[jQuery] Re: array object

2009-09-30 Thread Mike McNally
well first of all you use the word array but then you describe something that's not actually an array. The code looks fine to me, and will in fact produce an object. On Wed, Sep 30, 2009 at 8:35 AM, runrunforest craigco...@gmail.com wrote: I try your code, the result is: [object Object] On

[jQuery] Re: (jQuery validate) Remote Custom Message Problem on version 1.5.5

2009-09-30 Thread Thiago Miranda de Oliveira
I really don´t know where to submit it. And as I recall, I should test it with a test tool ( like qUnit) before, shouldn´t I? If I don´t, I´d be pleased to submit it. On Sep 29, 7:08 pm, James james.gp@gmail.com wrote: You wanna go ahead and submit something in the Validation plug-in bug

[jQuery] Re: array object

2009-09-30 Thread Karl Swedberg
Sure. it's an object. add this after that code and check out the result in Firebug or Safari's console: console.log(arrayob); What exactly do you want to do with the object after you've created and populated it? --Karl On Sep 30, 2009, at 9:35 AM, runrunforest wrote: I try your code,

[jQuery] How to create Function libraries in jQuery?

2009-09-30 Thread FruitBatInShades
I have a load of utility functions that I use across many of my plugins. I'm including the ones each one needs in the plugins own code atm. I've spent a few days trying to figuire out how to create a single plugin/class that I can use as follows: myUtils.doThis($('selector')); and

[jQuery] Re: array object

2009-09-30 Thread Poloman
owesome just what i need to learn. Thank you very much On Sep 30, 8:05 pm, Karl Swedberg k...@englishrules.com wrote: On Sep 30, 2009, at 1:00 AM, Poloman wrote: Can I get value and text of an option and put them into an array object?    select        option value=c1britney/option

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
the cycle plugin cycles the direct children of the div it's initialized on. If your goal is to cycle the 2nd div as well, you will need to use some wrapping divs. http://malsup.com/jquery/cycle/int2.html The examples at the bottom of that page show how you can cycle through divs. On Sep 30,

[jQuery] superfish

2009-09-30 Thread sanni46
Hallo, I would like to have two vertical superfish-menu-modules in one template on the left hand side.. I tried it, the first menu with superfish-menu works. But when I prepare the second menu, deactivate, and go to Extensions - modules - new - superfish, choose the parameter of the menu and

[jQuery] Using a selector with .load() doesn't execute script?

2009-09-30 Thread Alex Washtell
I'm trying to load one page into another using the .load() method. This loaded page contains a script that I want to execute when it has finished loading. I've put together a simple example to demonstrate: Index.html: html head titleJquery Test/title script

[jQuery] compare variables

2009-09-30 Thread Poloman
I have varA = com and varB=com55 or ton2 or son1.9 or whatever values... I want to do a comparison if the prefix of varB = com, which is varA, then do something. How can i write the code for this ?

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Hello amuhlou! I don't want to cylce the second div. I want this div to appear bellow the fist div. Now, the first div hides the second. When the images in the first div fade I can see the image of the second div. On 30 set, 11:12, amuhlou amysch...@gmail.com wrote: the cycle plugin cycles the

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
Im not sure I understand what you mean when you say the first div hides the second. Could you post an example page? On Sep 30, 2:31 pm, Ricardo ricardo.soaresdel...@gmail.com wrote: Hello amuhlou! I don't want to cylce the second div. I want this div to appear bellow the fist div. Now, the

[jQuery] Re: Using a selector with .load() doesn't execute script?

2009-09-30 Thread Carlos Becar
hi, maybe de problem is the script inside the page you call with ajax. try this : script type=text/javascript $(document).ready(function() { $('#nav a').click(function() { $('#contentHolder').load('content.html #toLoad',{},function(data){

[jQuery] JQuery sliding div issue

2009-09-30 Thread jpearson311
Hi all. JQuery noob here. I'm building a site right now that has a left column navigation and the navigation is nested inside a div, which is nested inside a table cell (i.e., td). I'm using JQuery to make it so when the user scrolls down the page, the div slides down smoothly and always stays

[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        

[jQuery] Re: Checking/unchecking parent checkbox

2009-09-30 Thread evanbu...@gmail.com
Still didn't work for me. I think I'll take another approach to this. Thanks anyway. On Sep 29, 12:24 pm, Charlie Griefer charlie.grie...@gmail.com wrote: try: $(this).siblings('input[type=checkbox]').attr('checked',''); $(this).siblings('input[type=checkbox]').attr('checked','checked');

[jQuery] (jquery autocomplete) Result event isn´t tr iggering if no data has returned

2009-09-30 Thread Thiago Miranda de Oliveira
Hi.. I´m using something like that: var defaults = { minChars: 2, cacheLength: 1, delay: 300, max: 10, id: null, city: null, jsonaddress: 'teste.php', matchSubset:

[jQuery] Re: Prevent jagged text in IE

2009-09-30 Thread Kevin Dalman
@Dave with the fix, fades out but then pops to 50% opacity I'm not sure why this 'fix' should be added to fadeOut? It seems most applicable to fadeIn and fadeTo. But whatever the case, a little extra code could handle edge-cases -- something like... if (jQuery.browser.msie

[jQuery] Re: Ajax results?

2009-09-30 Thread Toaster
Thank you for your reply James In regards to the JSON vs HTML, would the browser have any problems creating 25 results items each with 12 pieces of information from JSON? (it'd be more of less 120 elements being appended)

[jQuery] remove accordion item

2009-09-30 Thread Hundredth Monkey
hi, i want to realize a delete button or link within an accordion item. is it possible to remove a special item or make the header disabled after a link click within the accordion item content? so far i' ve tried $(this).parent().fadeOut('slow'); but this kills all item contents :O( best regards.

[jQuery] Re: remove accordion item

2009-09-30 Thread Liam Potter
$(this).parents(div.accordion).fadeOut('slow').remove(); where div.accordion is what you're trying to remove. Hundredth Monkey wrote: hi, i want to realize a delete button or link within an accordion item. is it possible to remove a special item or make the header disabled after a link click

[jQuery] Re: jQuery plugin that can do the image effects here?

2009-09-30 Thread Charlie Griefer
Hi Michael: Would this do? http://www.gruppo4.com/~tobia/cross-slide.shtml On Wed, Sep 30, 2009 at 5:48 AM, Michael Price m...@edwardrobertson.co.ukwrote: ‘lo all, Boss has been asking me if we can replicate the image fader here: http://www.gleneagles.com/home.aspx Note how it pans

[jQuery] Re: jQuery plugin that can do the image effects here?

2009-09-30 Thread Liam Potter
Good old Ken Burns effect, always looks good. I've used the cross-slide plugin before, and will definitely do what you want. Charlie Griefer wrote: Hi Michael: Would this do? http://www.gruppo4.com/~tobia/cross-slide.shtml http://www.gruppo4.com/%7Etobia/cross-slide.shtml On Wed, Sep

[jQuery] Re: jQuery plugin that can do the image effects here?

2009-09-30 Thread Michael Price
That would be absolutely perfect :D Thanks! Regards, Michael Price From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie Griefer Sent: 30 September 2009 17:19 To: jquery-en@googlegroups.com Subject: [jQuery] Re: jQuery plugin that can do the image

[jQuery] Re: remove accordion item

2009-09-30 Thread Hundredth Monkey
thanx for your response . but this doesnt work. there simply happens nothing . this is my HTML markup. div id=accordion h3a href=#header/a/h3 divcontent a href=javascript:void(0); onclick=$(this).parents ('div.accordion').fadeOut('slow').remove();Delete/a

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Here is a link: http://www.softcore.com.br/loxxi/servicos.php?idCategoria=11 You'll see the images on the right side of the page. On 30 set, 11:36, amuhlou amysch...@gmail.com wrote: Im not sure I understand what you mean when you say the first div hides the second.  Could you post an example

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
what should the images below the cycle div be doing? On Sep 30, 4:52 pm, Ricardo ricardo.soaresdel...@gmail.com wrote: Here is a link:http://www.softcore.com.br/loxxi/servicos.php?idCategoria=11 You'll see the images on the right side of the page. On 30 set, 11:36, amuhlou

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I see now that it's only happening in IE6. Have you tried assigning a width to the td that encloses the whole right column? On Sep 30, 5:11 pm, amuhlou amysch...@gmail.com wrote: what should the images below the cycle div be doing? On Sep 30, 4:52 pm, Ricardo ricardo.soaresdel...@gmail.com

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Nothing! :) Just stay there, they are just replacement images. On 30 set, 14:11, amuhlou amysch...@gmail.com wrote: what should the images below the cycle div be doing? On Sep 30, 4:52 pm, Ricardo ricardo.soaresdel...@gmail.com wrote: Here is a

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I'm inspecting the div with the IE developer toolbar and it looks like the dinamica div's height isn't being recognized. When the plugin initializes, it puts in a bunch of inline styles, so I'm thinking the height and width you have set may be getting overwritten.Add the dinamica div's height and

[jQuery] Behavior of document.write call in a .loaded external file

2009-09-30 Thread The alMIGHTY N
I need to be able to use jQuery's load function to grab the contents of an external file and append them to a particular DOM element. The problem is that when that external file includes scripts that contain calls to document.write, I get weird behavior that changes depending on which browser I'm

[jQuery] jQuery .post function failing in Safari 4.03

2009-09-30 Thread jefrobaby
I need some cross browser support here before I leap off my balcony this morning. I am working on a simple store which has links for the shopper to enter a coupon code. These open a coupon code entry window. When the user enter the code and clicks submit the following actions fire off; check

[jQuery] Superfish Z-Index flash issue SAFARI Only

2009-09-30 Thread stellar
Using superfish on a site and getting drop down menus behind flash object (SWFObject dynamic embed) in Safari only. Works in all versions of IE 6-8, Firefox 3, Opera, Chrome. Only issue is Safari 4. Anybody ever run into this issue with Safari? Had the issue initially with multiple browsers

[jQuery] Tablesorter problems

2009-09-30 Thread Mike
Hi I have recently come across the tablesorter 2.0 for jquery and have decided to use it on my website. I have the examples to work etc. however I would like to exclude the first column of my table from being sorted and just to remain static irrespect of the other columns being sortable. I have

[jQuery] Re: Ajax results?

2009-09-30 Thread James
I can't really say. It varies depending on what you're trying to put in and how you're doing it. For example, inserting 120 large tables versus 120 lines of text will probably have a noticeable difference. And how you're doing it. For example, inserting everything at once, or set a timeout to

[jQuery] Re: Behavior of document.write call in a .loaded external file

2009-09-30 Thread Michael Geary
document.write() requires the document to be open in order to write to it. The three related functions here are: document.open() document.write() document.close() When a page starts loading, the browser implicitly calls document.open() to open the document. So document.write() works as you

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Thanks you very much amuhlou! I've changed the width and height and put them in the css poperty. On 30 set, 14:33, amuhlou amysch...@gmail.com wrote: I'm inspecting the div with the IE developer toolbar and it looks like the dinamica div's height isn't being recognized. When the plugin

[jQuery] Re: array object

2009-09-30 Thread Michael Geary
Cool. But change the variable name! It's not an array, it's an object. Two very different things in JavaScript. Calling it an array will just lead to confusion. :-) -Mike On Wed, Sep 30, 2009 at 7:02 AM, Poloman bigtrouble1...@gmail.com wrote: owesome just what i need to learn. Thank you

[jQuery] Help using

2009-09-30 Thread Jsudesign
Hello I'm in need of some help in getting my custom ad set up working. Any help would be greatly appreciated. Here's what I'm trying to do: I have content set up and after 10 minutes I want to display an advertisement over the content that last for 5 minutes. So it would look like this: Regular

[jQuery] Re: Behavior of document.write call in a .loaded external file

2009-09-30 Thread The alMIGHTY N
Thanks for the response, Mike. I can't believe I didn't put those two things together! I'm creating a page that will display a Flash Video Player (the one that comes with Dreamweaver by default) to load progressive video content. My intention is to include links on that page representing

[jQuery] I think I'm using the wrong syntax for radio button name

2009-09-30 Thread ripcurlksm
I have three radio buttons, and when a certain radio is selected I want to show a series of checkboxes. If the other two radio buttons are selected, I want to hide the checkboxes. I *think* the problem is that I am using the wrong syntax to call the click() function on the radio name attribute.

[jQuery] (autocomplete) not selecting value unless user explicitly selects it

2009-09-30 Thread mikewertheim
I'm using the jquery autocomplete plugin. Suppose the user starts typing, and the autocomplete presents a drop- down of possible values. If the user presses return, the first value in the drop-down is selected. What I want instead is the user experience that Firefox's search box provides: As

[jQuery] Re: keeping table header fix

2009-09-30 Thread Matt
On Sep 16, 7:55 pm, Macsig sigbac...@gmail.com wrote: Yes, I do but I don't see how that can help me out. Thanks On Sep 16, 4:01 am, Liam Byrne l...@onsight.ie wrote: do you actually have the headers in a thead, with the content in tbody ? Most people forget about those. L macsig

[jQuery] Re: Ajax results?

2009-09-30 Thread Michael Geary
25 x 12 sounds closer to 300 elements? Either way, it's easy to generate that much stuff in JavaScript and get good performance, if you're careful about how you write the code. Here's a post with some tips and optimized code for a similar task:

[jQuery] Re: Problem with fade-effects and IE8

2009-09-30 Thread dirknibleck
I am experiencing the same issue with slideToggle and toggle in Internet Explorer 8. Were you able to find a resolution? On Sep 8, 2:08 am, Boolace bool...@googlemail.com wrote: Hi, I've a problem with the fadeIn() and fadeOut()-commands of jQuery usingInternetExplorer8. Firefox, Opera,

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread roberto
I guess you are assigning the .checked class doing something else, right? Did u try this?: if ($(#multimarket).is(':checked')) { Into this: if ($(#multimarket).hasClass(':checked')) { Also, why you are using this: $(product_id).click(function () { Spite this: $(#checkbox).click(function

[jQuery] Re: Help using

2009-09-30 Thread roberto
Why not to use setTimeout? This way you call once each function, and forget about clear the interval and waste memory. function1(){ // do something... // 30 miliseconds = 5 min - then i call function2 window.setTimeout(function2, 30); } function2(){ // do something // 60

[jQuery] Re: jQuery .post function failing in Safari 4.03

2009-09-30 Thread Matt Critchlow
I would first try putting your function call to reloadWindow() in the complete callback for the $.post function. So your post code would look like: $.post( includes/update.php, { action: y }, reloadWindow); and take out the call to reloadWindow() after updateSession() You may have other

[jQuery] Re: Behavior of document.write call in a .loaded external file

2009-09-30 Thread Michael Geary
When you load these dynamic players, have you already verified that your visitor has a compatible Flash player installed? That's really all that the fancy Adobe code (or alternatives like SWFObject) buys you. If you use the Adobe code to load some Flash movie on the main page, than it's already

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread James
With your HTML, you can do it two simple ways: By classname (don't forget the .): $(.checkbox).click(); Or name of the fields: $(input[name=product_id]).click(); If you use: $(product_id) It's looking for an HTML element product_id, which, you don't have such on your page. On Sep 30, 9:21 

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread kevin.mccormick
Thanks for the reply Robert. :) Because the product_id represents grouping of radio boxes, I wanted a single click event on the product_id, then handle the display of the hidden checkboxes accordingly. As I thought, I had the name selector wrong. Instead of using this: $(product_id).click() I

[jQuery] Re: (autocomplete) not selecting value unless user explicitly selects it

2009-09-30 Thread Mike Wertheim
I'm realizing that I didn't describe this completely enough. I'm putting together a search engine. So I need text field (with autocomplete) and a Search button. When the user presses return, it should submit the form (i.e. the equivalent of clicking the Search button). When the user explicitly

[jQuery] Re: Help using

2009-09-30 Thread James
Does this have to take into account of people navigating through different pages on the website? Or just on a single page? On Sep 30, 8:49 am, Jsudesign jsudes...@gmail.com wrote: Hello I'm in need of some help in getting my custom ad set up working. Any help would be greatly appreciated.

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread kevin.mccormick
Exactly, thanks James. For some reason I found tutorial code that had $ (inp...@name=product_id]).click(); instead of $(input [name=product_id]).click(); and so this broke it... I was close. THANK YOU On Sep 30, 1:28 pm, James james.gp@gmail.com wrote: With your HTML, you can do it two

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread James
No problem. Yeah, the @ attribute character was deprecated and not used anymore since jQuery 1.3, so it must have been a (old) tutorial using previous version. On Sep 30, 10:38 am, kevin.mccormick kevin.mccorm...@cox.net wrote: Exactly, thanks James. For some reason I found tutorial code that

[jQuery] Re: jQuery .post function failing in Safari 4.03

2009-09-30 Thread James
Sorry, cannot help. Please leap on your balcony (and video tape it). Just joking. ;) Do you have anymore information on what the .post fails mean? The sentence is too vague. Does it make the request and it errors? Or does it not make the request at all? You can use Firebug for Firefox to help

[jQuery] fadeTo() possible speeds

2009-09-30 Thread kali
here, http://docs.jquery.com/Effects/fadeTo why are all possible params not listed?? (for example for fadeIn(), fadeOut(), fadeTo() it just says speed, but why doesn't it list all possible speeds (slow.. is there a fast???) this site is a bit weird, if I go to

[jQuery] Re: fadeTo() possible speeds

2009-09-30 Thread Matt Critchlow
From the documentation: http://docs.jquery.com/Effects/fadeTo speed String, Number A string representing one of the three predefined speeds (slow, normal, or fast) or the number of milliseconds to run the animation (e.g. 1000). What else are you looking for? You use one of the three String

[jQuery] Re: Behavior of document.write call in a .loaded external file

2009-09-30 Thread The alMIGHTY N
I actually should look into the availability of Flash plug-ins for jQuery. Those could prove useful to some of the projects I've got in the pipeline. I ended up finding the one document.write statement in Adobe's code and changing it to a DOM innerHTML call that worked perfectly. This was

[jQuery] Re: CSS not loading and cannot access newly loaded content

2009-09-30 Thread James
I really do not understand what you are trying to do. Could you set up a simplified test page and point to what you expect to happen and what is happening? On Sep 29, 11:12 pm, IsenGrim isengrim...@gmail.com wrote: Hi I want to load new content into a container using .load ('content.html')

[jQuery] Re: ajaxQueue not aborting ajax calls with Autocomplete

2009-09-30 Thread jmunning
I figured this out. The problem was not with AjaxQueue it was that the abort method was not firing ajaxStop which is what I was using to hide the loading indicator. Upgrading my jquery.js file from 1.2.6 to 1.3.2 fixed this. Thanks. On Sep 28, 11:08 am, Jörn Zaefferer

[jQuery] Re: Prevent jagged text in IE

2009-09-30 Thread Dave Methvin
I'm not sure why this 'fix' should be added to fadeOut? It seems most applicable to fadeIn and fadeTo. Whoops, right. So the problem would be that in IE only, .fadeTo (slow, 1) makes the element completely visible and then pops to 50% opacity based on the stylesheet when the element's filter

[jQuery] Re: keeping table header fix

2009-09-30 Thread Jack Killpatrick
That's a neat trick I haven't tried before. Is there an easy way to deal with (as in hide/remove) the horizontal scrollbar that also appears? Does that work across browser? I've just tried FF so far. Thx, Jack Matt wrote: On Sep 16, 7:55 pm, Macsig sigbac...@gmail.com wrote: Yes, I do

[jQuery] Re: Help using

2009-09-30 Thread Jsudesign
Just a single page, It's for a display. On Sep 30, 1:37 pm, James james.gp@gmail.com wrote: Does this have to take into account of people navigating through different pages on the website? Or just on a single page? On Sep 30, 8:49 am, Jsudesign jsudes...@gmail.com wrote: Hello I'm in

[jQuery] Form Validation

2009-09-30 Thread Samuurai
Hi, I have got some very rudimentary validation working with JQuery validation, however, by default, it creates some label tags with the error messages in them, right next to the input tags which have errors. How can I control where these error messages are displayed, as they're inside the same

[jQuery] Really struggling pls help

2009-09-30 Thread jessie
Hi All Please be gentle with me! Ok, its been 5 days that i'm trying to understand jQuery. I cannot get my head around it for the life of me! i'm no programmer and have had no experience with JS. I've started developing websites only 1 yr ago and i came across jQuery when i wanted to do an

[jQuery] Re: Really struggling pls help

2009-09-30 Thread James
I'm still unsure what you want to achieve. To select the a tag, in place of: $('input[type=image]') you can use: $(.LPButton) assuming that all relevant tags to want to work on will have the class=LPButton. That's as far as I know. I'm not clear on what you want to do with it. (There's no

[jQuery] How to link the JQuery

2009-09-30 Thread Glen_H
I am confused as to how to link an external JQuery file to my web page. I understand using script src=/. My question is regarding the file I downloaded from Jquery.com. Do I add code to that file and link it, or do I link that file and then create a new file with javascript in it and link that as

[jQuery] Re: remove accordion item

2009-09-30 Thread plian
hi, hope the following code could help div id=accordion div id=content1h3a href=#header/a/h3 divcontent a href=javascript:void(0); onclick=$(this).parents ('#content1').fadeOut('slow').remove();Delete/a /div /div

[jQuery] Re: Really struggling pls help

2009-09-30 Thread jessie
Hi James Thanks so much for replying to my desperate request for help! LOL Well somehow i managed to work This is what i've done. jQuery(function($) { function getLeaf(url) { var splited=url.split('?');// remove all the parameter from url url=splited[0]; return

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
in your main page... you link to jquery.js: script type=text/javascript src=/my/path/to/jquery.js/script Then you can either write inline javascript under that... script type=text/javascript $(document).ready(function() { alert(I am ready); }); /script ... or you simply

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Glen_H
Charlie, thanks for the feedback. A million times thank you! that is exactly what I was looking for. One other question I have is altering CSS using .css in Jquery, will that auto select any linked css files or will I have to further develop the jquery code to further direct it? I ask becuse

[jQuery] Re: Modal Dialog with a datepicker inside, works one time, then never...

2009-09-30 Thread Alex Barrios
2009/9/30 Nalum mallon.l...@gmail.com: Hello Alex, The only reason it would be a problem is if you don't apply the jQuery to the input every time it is loaded or if it is loaded a second time and old input is still on the page then you have two elements with the same id. If you have two

[jQuery] Re: Superfish navbar alignment question

2009-09-30 Thread Charlie
you could do that with out using navbar option, set sub li's inline and remove sub ul width, not tested but should be fairly straightforward Vali wrote: Hello, Actually I will repeat a message sent by some other user, message which seems to have been completely ignored. I believe this is

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
As with including an external .js file, including an external .css file is not functionally different than including it on the page. The included css will affect any applicable element(s) on the page. When you manipulate an element's CSS with jQuery, you're just manipulating the CSS of that

[jQuery] Re: [superfish] How to focus on clicked menu item after menu item is clicked with jQuery ?

2009-09-30 Thread Charlie
not sure exactly what you are trying to do but using jQuery addClass() you can create a different css class for anything you click on Tharindu Madushanka wrote: Hi, I am new to jQuery and using superfish popup menu widget to create a menubar. I have only four menus and 3 of them are not

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Glen_H
Thanks again! Thanks from Central jersey too! I saw on your site your home grown Jersey, Good stuff. Take it easy man. Glen On Sep 30, 11:05 pm, Charlie Griefer charlie.grie...@gmail.com wrote: As with including an external .js file, including an external .css file is not functionally

[jQuery] Re: Trying to match just the first descendent in each tree of descendents

2009-09-30 Thread Charlie
$(".widget .widget") // stops at first desendant $(".widget .widget : first") //might work too, haven't tried it Andrew Ingram wrote: Apologies for the subject line, I'm struggling to explain the problem in a concise manner. I have the following document: body h1

  1   2   >