Re: [jQuery] Re: simple jquery question

2010-01-05 Thread John Arrowwood
But if this code will get executed more than once (e.g. in response to user actions), make sure you prefix it with code to remove all of the existing options in the dropdown, otherwise it will be additive. On Mon, Jan 4, 2010 at 5:23 AM, Karl Swedberg k...@englishrules.com wrote: this solution

Re: [jQuery] Re: simple jquery question

2010-01-04 Thread Karl Swedberg
this solution could be simplified a bit: $('h3.example').each(function() { $('#deptFilter').append( 'option' + $(this).html() + '/option' ); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 3, 2010, at 6:53 AM, Paul Hutson wrote: This will do

[jQuery] Re: simple jquery question

2010-01-03 Thread Paul Hutson
This will do what you want, first I assigned the elements via a filter : elements = $('h3').filter('.example'); Then I scrolled around the items found and output them to a span for debugging. elements.each(function() { $('#Output').html($('#Output').html() + br + $(this).html()); });

[jQuery] simple jquery question

2010-01-02 Thread jason
Hey, was wondering if anyone could help me with a basic JQ question. Ok so I am trying to select each element that has a certain class on my page, and then use what is inside of the h3 class=example I am selecting to populate a drop down select box with the id of deptFilter. (with each result

[jQuery] question about width from li in

2009-12-21 Thread Lijn
I use this jquery-plugin: http://jquery.malsup.com/cycle/ Each li-tag gets a calculated width allowing the contents to 2 lines, but line 1 is sufficient. 2 lines breaks the design. The added width is not necessary. Is it possible NOT to add to this? Can anyone help me? It would be a great relief!

Re: [jQuery] question about width from li in

2009-12-21 Thread brian
Check the options page. Does the 'nowrap' option help? http://jquery.malsup.com/cycle/options.html On Mon, Dec 21, 2009 at 6:50 AM, Lijn lijn.onl...@gmail.com wrote: I use this jquery-plugin: http://jquery.malsup.com/cycle/ Each li-tag gets a calculated width allowing the contents to 2 lines,

[jQuery] super easy jquery question

2009-12-01 Thread mike
After I have processed a user request from a form submittal, I want to remove the text from a text input field. With JQuery, how do I do that? The input field has the id of #subject. I've tried the following, but to no avail. (I clearly don't understand jquery). Please help.

Re: [jQuery] super easy jquery question

2009-12-01 Thread Dhruva Sagar
$('#subject').val(); Thanks Regards, Dhruva Sagar. On Tue, Dec 1, 2009 at 1:41 PM, mike msher...@gmail.com wrote: After I have processed a user request from a form submittal, I want to remove the text from a text input field. With JQuery, how do I do that? The input field has the id

Re: [jQuery] super easy jquery question

2009-12-01 Thread HS8KIC
you can do this. ??? ??? ??? ??? ??? // reset input type text ??? ??? ??? ??? ??? $('#form_id input[type=text]').each(function(){ this.value = ''; }); ??? ??? ??? ??? ??? // reset textarea ??? ??? ??? ??? ??? $(''#form_id textarea').each(function(){ this.value = ''; }); ??? ??? ??? ??? ??? //

[jQuery] Re: super easy jquery question

2009-12-01 Thread mike
Thanks to both! Mike On Dec 1, 12:22 am, HS8KIC hs8...@gmail.com wrote: you can do this. // reset input type text $('#form_id input[type=text]').each(function(){ this.value = ''; }); // reset textarea $(''#form_id textarea').each(function(){ this.value = ''; }); // reset select

[jQuery] Re: super easy jquery question

2009-12-01 Thread MorningZ
// reset select $('#form_id select').each(function(){ $(this).find('option:first').attr('selected', 'selected').parent('select'); }); Yuck, what a waste of energy document.getElementById(form_id).selectedIndex = 0; would do the same exact thing

[jQuery] Simple jQuery question

2009-11-23 Thread Julesfrog
Hi! I'm new here and also pretty bad at writing javascript. I'm using a snippet of code by Lloyd Irvin (http://agyuku.net/2009/05/back-to-top- link-using-jquery/) that allows the user to scroll back to the top of the page by clicking on a fixed button that fades in only when you begin scrolling

Re: [jQuery] Simple jQuery question

2009-11-22 Thread Olaf Bosch
Julesfrog schrieb: Now my question. At this point, the button disappears only when the user hit the 500 mark. I would like it to disappear and stay invisible when the user reaches the 500 mark and anything below. I think it's got to do with this line: if(jQuery(this).scrollTop() != 500) but I

Re: [jQuery] Simple jQuery question

2009-11-22 Thread Julesfrog
://www.akitafreund.de/ --- -- View this message in context: http://old.nabble.com/Simple-jQuery-question-tp26443552s27240p26464167.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Simple jQuery question

2009-11-20 Thread Julesfrog
your input and advice. Thanks! -- View this message in context: http://old.nabble.com/Simple-jQuery-question-tp26443552s27240p26443552.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Question about load

2009-10-28 Thread jhanssen
Hi Guys, I would like to know 3 things. First is: Why the load function doesn't work so well on Internet Explorer ? Sample is: Login using user/pass - tested/tested. Then Mainpage (see question 2 if Load is not working) - Administration - Ok URL:

[jQuery] Question about $load()

2009-10-28 Thread jhanssen
Hi Guys, I would like to know 3 things. First is: Why the load function doesn't work so well on Internet Explorer ? Sample is: Login using user/pass - tested/tested. Then Mainpage (see question 2 if Load is not working) - Administration - Ok URL:

[jQuery] Question Urgent

2009-10-27 Thread paparazzy
hi, I´m building a jCarousel following the tuturials and the example that you´ve post in http://sorgalla.com. I want to build a Vertical carousel but with to columms (one side by side the other). I know that it can be made using css, but i´m new to css and i can´t do it without our help. Can you

[jQuery] Question regarding image grid

2009-10-26 Thread Arunkumar Puppala
Hi all, I am trying to build an application that displays the images in the form of a grid. We get the total number of images and number of images displayed on a page through a cgi parameter. Can someone suggest me how to build such an image grid with pagination controls? Thanks, Arun

[jQuery] jquery question on slideUp fadeIn and show

2009-09-14 Thread kev.
Hi All, jquery noob question here. I've got a php script that runs a few price checker kiosks out on the sales floor at work and I've got a p element that I can get to slide up when a product is scanned and slide back down after a 5 second pause with: $(function() {

[jQuery] Re: jquery question on slideUp fadeIn and show

2009-09-14 Thread ryan.j
have you tried to use a callback instead of the setTimeout? On Sep 14, 11:37 am, kev. yu210...@gmail.com wrote: Hi All, jquery noob question here.  I've got a php script that runs a few price checker kiosks out on the sales floor at work and I've got a p element that I can get to slide up

[jQuery] Re: jquery question on slideUp fadeIn and show

2009-09-14 Thread kev.
It's a moot point anyway. Got into work this morning to find that the embedded browser in the price checkers doesn't play nice with even the slideIn/slideOuts. :\ kev. On Sep 14, 7:29 am, ryan.j ryan.joyce...@googlemail.com wrote: have you tried to use a callback instead of the setTimeout?

[jQuery] Question regarding jQuery.ready method

2009-08-10 Thread ujamu
I have developed a FF extension that loads a few JavaScript files (one of which is jQuery) and attaches them to any given page being viewed by the user. The loading of the js files can ether happen during or after the web page had been loaded into the browser. Obviously, once the js files get

[jQuery] Question regarding jQuery.ready method

2009-08-09 Thread ujamu
I have developed an FF extension that loads a few JavaScript files (one of which is jQuery) and attaches them to any given page being viewed by the user. The loading of the js files can ether happen during or after the web page had been loaded into the browser. Obviously, once the js files get

[jQuery] Question regarding jQuery.ready method

2009-08-09 Thread ujamu
I have developed an FF extension that loads a few JavaScript files (one of which is jQuery) and attaches them to any given page being viewed by the user. The loading of the js files can ether happen during or after the web page had been loaded into the browser. Obviously, once the js files get

[jQuery] question about identifying what should be updated in an an ajax post

2009-07-11 Thread jt
I have only used jQuery for fairly simple things and am a little stumped on how best to achieve the following. I have a list of items (similar to the three items at the bottom) and I want a user to be able to assign it as a favorite. I just copied the .post part from the docs with the id in html

[jQuery] Question: Form focus to prevent fadeOut?

2009-07-10 Thread Brendan
Apologies if this is read by a common moderator between here and jQuery-UI, I was in the wrong tab, haha. Anyway, I'm having a little trouble coming up with a concise way to do this. I've created a div containing a registration form that fades in when the user hovers over a triggering link, and

[jQuery] Question on : syntax

2009-07-02 Thread expresso
I have yet another syntax question. I know that : can be used for specifying things like filters, but what does it do in this case: $jc.fn.extend({ setup: function() { this.first = null; this.last = null; this.prevFirst = null;

[jQuery] Question on writing a jQuery plugin

2009-06-21 Thread bobspryn
So I'm trying to create a real simple jquery plugin for sliding screens around in a wizard like format. All this is really doing is changing the CSS left property. What I want to be able to do is this $(#bigmasterframe).screenWizard(optionsObject); The options object contains things like the

[jQuery] Question about the groups

2009-06-18 Thread GTGeek88
Can I assume the plugins group is dead? If so, why does the JQuery site still point people to it? Tried to post there even though the last post was from February, but it never appeared (going on 48 hours now). My plugin question follows in another thread.

[jQuery] Question about 'ready' event

2009-06-12 Thread Bernad
Hello everybody. I have one problem but I can't solve it. I have one page with 3 iframes. The first iframe has a 'ready' event. Inside this event I am calling a function which is in the parent page. This function needs that the page was loaded, I mean, when the page is loaded this function can

[jQuery] Question on filter()

2009-06-11 Thread TimW66
Hi all, I have the following JS code: $('table.tableView :inp...@readonly]').parent().filter(function() { return !$('label', this).length; }).addClass('readonly'); -- And the following HTML code: table class=tableView thead

[jQuery] question on jQuery.get(url)

2009-06-06 Thread JRough
I have a question about .get(url) jQuery.get() calls a page on a server somewhere but what I want to do is get the data pairs from a local page url and parse it and post it to google maps . I have a desktop application that posts a user choice from a form to this html page on my desktop and I

[jQuery] Question Animating and Removing Elements

2009-06-01 Thread spryor
Hi, I have a scenario where the user can click a delete button to remove a dynamic element from the page. Whent he button is clicked I want the element to slide up and then be removed from the DOM. I can't make this work however. I can either slide it up or remove it. Can anyone tell me how to

[jQuery] question re: .live() and .empty()

2009-05-29 Thread Jack Killpatrick
Hi All, Wondering if someone knows the answer to this: Using jQuery 1.3.2, if some items inside a div have events bound to them via .live() and then .empty() is called on the div will the events that were bound via .live() get removed? The .empty() doc says:

[jQuery] Question on encode/decode of JSON - server-side and client-side

2009-05-26 Thread SamCKayak
I am building a client-side and server-side solution and want to use JSON through Ajax in both directions. I have ASP or JavaScript server-side, though Microsoft's support of server-side JavaScript seems nil, so I am reluctantly conceeding to use ASP. I'd appreciate suggestions on available

[jQuery] Question about strange Superfish behaviour

2009-05-26 Thread Koobi Fora
Hello, Thanks for making such a great extension as Superfish available to Joomla users. I am having a strange problem with the menu when I try to use it on my site with vertical configuration. When the page loads it appears fine. However, after hovering over each menu item, the color of the

[jQuery] Question: XPath User's New

2009-05-25 Thread Dustin Wilson
I recently just picked up jQuery and am really astonished with it, but I've found the selectors api a bit lacking because you cannot select text nodes; that's not the end of the world as there are ways around that in some situations. I've run into another road block, and if you knowledgeable guys

[jQuery] Question: Wait for function 1 to finish, then start function 2....

2009-05-24 Thread macphreak
Hello, I have done some searching on the discussions here and have found info on waiting for fadeins, etc. to finish and then calling another function. However, I am needing something a little different. I am needing for function 1 to process and then call over to function 2 once it's finished.

[jQuery] Question about Tutorial: Find me: Using selectors and events

2009-05-23 Thread Mattsson
Hello, I'm very new to jQuery and trying out some of the tutorials. In this tutorial, http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery there is an exercise: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery and I have a question about this snipped of code:

[jQuery] Question about jQuery's filter ability

2009-05-21 Thread brady
I developed a fairly straightforward product filtering tool using Spry and was curious if jQuery could do something similar and if so where I might find an example. The tool can be seen here: http://www.bradygodwin.com/test/rnatoold.html Thanks!

[jQuery] Question about Click Function

2009-05-21 Thread Rudolpho
Hello! Sorry i´m a absolute beginner with JQuery, therefore this Question may be somewhat trivial: My Goal is to make input type= image buttons in a row. The first one is activated. Once u click the first one it is checked AND the next one must be activated. the work i´ve done so far is:

[jQuery] question about getJSON, objects and/or scope - confused

2009-05-19 Thread illovich
Hi, I'm working on a page where graphics/content get loaded via server side stuff and decided to try to use JSON to send the data. But I'm having trouble with converting the JSON to a javascript object when I use an external file. This works: http://dev.illovich.com/storigraphi5.html ==

[jQuery] Question in JSON

2009-05-04 Thread Dman
Hello, I recently learnt jQuery but I am having problems on working with JSON. I am loading the JSON data from PHP file using $.getJSON. The JSON returned is {4:{6:1},3:{1:1,2:1}} and array for reference is Array ( [4] = Array ( [6] = 1 ) [3] = Array (

[jQuery] Question about QUnit for testing ajax functionality

2009-04-20 Thread bobspryn
I am already familiar with the start() stop() abilities of qunit, so this isn't about that. My question I guess is more of process. If I develop an interactive feature that involves ajax submitting a form, and then updating the interface when the json comes back successful, how should I design

[jQuery] question about approaching an interactive image gallery

2009-04-15 Thread roryreiff
Hi there, I want to start developing a simple interactive image gallery for a home page. My goal is for it to behave similar to SlideViewer (http:// www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html) in it's functionality, except that instead of clicking on a

[jQuery] question about each function

2009-04-14 Thread jack
Hi, all See the following. $(input:text).each(function(){ if(something happened) return; --- --- }) I found the 'return' only exit form a particular input element. And it won't return from each function. It always go through every element. I mean if something happened I don't

[jQuery] question about dealing with JSON callback

2009-04-14 Thread sneaks
hi! i am trying to use jQuery.post() to send name/value to a php function which then retreives data from mysql and responds with JSON which looks like this when i append it directly to my debug output div: {product_id:02,product_name:Cesario Lo,product_brand:Creative

[jQuery] question about getJSON and surrounding JavaScript comments in JSON

2009-03-25 Thread jt
I'd like to use the getJSON function but my data source has surrounding javascript comments on it. Is there a way I can use getJSON and pass it a parameter to strip this off. If not is there a different function that would be more appropriate? I am able to remove the Javascript comment

[jQuery] question for traversing xml

2009-03-01 Thread mcologne
hi, i have the xml below... this is a part of items of shoes and i need to select all size, but not if their stock is 0. i can find the size with 0: var $test = $entry.find(sizes size stock:contains('0')); but i don't know how to find all sizes with not 0. i used .not(), but it didn't work.

[jQuery] Question on JQuery Licensing Issue

2009-02-23 Thread Viki
This is Vicky from China. I came across to know JQuery last year and felt very interested in this masterpiece. My brother once adopted some features or plug-in of JQuery during his graduation thesis of designing a web application. He found it's very practical also. Now I have some questions

[jQuery] Question about Select working with array

2009-02-22 Thread evanluke
So I'm having trouble figuring about how to use the input from a select object onchange to pull a matching piece of data from an array and use it to change some text on a page. I've isolated what I'm trying to do on this page and commented it pretty thoroughly:

[jQuery] Question about Interface elements

2009-02-13 Thread Skari
Hello all, I am in the early stages of developing a web portal and want to provide a drag-n-drop of blocks, so users can pretty much configure their own custom page. I am using Drupal as a CMS and found some pretty well functioning modules which enable the DnD functionality. I noticed that the

[jQuery] Question about jQuery.load()

2009-02-11 Thread M.A.R.C.O
can anybody teach me how i can use jQuery.load() to attach javascript files. Thanks for your times.

[jQuery] Question related to Javascript

2009-02-07 Thread MH1988
I hope I am able to still receive assistance even though this isn't jQuery 100% and what I have is an image gallery I am using. The only thing I need to work out is how to make sure the initial title and captions appear when you load the webpage? script type='text/javascript' var imgs0Slideshow

[jQuery] Question Regarding Superfish

2009-01-21 Thread Amit Shah
Hi, I am trying to use Superfish Jquery menu in IE6. It all works fine except that the menu which have sub menus displays 2 arrows next to the text. I am using the following code: // initialise Superfish script type=text/javascript $(document).ready(function(){

[jQuery] question about changes to :not() in 1.3

2009-01-16 Thread jdwbell
Here I am trying to get every element which is not a div that contains another div. Is $(':not(div:has(div))') supposed to now be equivalent to $('*').not ($('div:has(div)')) or am I misunderstanding what the change was (I'm just getting started with jQuery)? Thanks!

[jQuery] question about 1.3

2009-01-16 Thread Trend-King
hello we have a question about jquery 1.3 is it 100% backwards compatible with the minor functions of 1.2.6??? thanks for answer Jens

[jQuery] question about each

2009-01-03 Thread David .Wu
Part1 var navPath = 'images/nav/'; var navArr = new Array ('nav_about','nav_product','nav_skill','nav_service','nav_news','nav_member','nav_recruit'); var navArrLen = navArr.length; for(i=0;inavArrLen;i++) {

[jQuery] question

2008-12-23 Thread Dirceu Barquette
Hi, Has anybody a solution? showing a few jQuery methods : var Typeof = {}; for (v in $) { Typeof = typeof $[v]; $('divspan'+Typeof+' /spanspan '+v+' /span/div').appendTo('body'); } Is it possible showing parameters list for each method above? thank you!!! Dirceu Barquette

[jQuery] Question about UI Accordion - multiple triggers in nested lists

2008-12-17 Thread taykahike
Hello, Can anyone tell me if it's possible to have multiple triggers in nested lists using the jQuery UI Accordion? Also, is it configurable to open the accordion to the correct level dynamically based on the current page? Sample code below doesn't accomplish all of these things, so I'm hoping

[jQuery] question about remove()

2008-12-16 Thread jack
Hi, all I used a lot of remove to replace all td except the fist one of a table's row with user interactive. such as followings: $.ajax({ url: the_url, success: function(xreturn_val){ if(check_ajax_resp(xreturn_val) === true){

[jQuery] Question from a Beginner - Creating DIVs on the fly, class-triggered events not working

2008-12-02 Thread dave
Hey all, I have just started using JQuery and have come across a hurdle. I am creating DIVs on the fly (using a JQuery). For these DIVs, I have them tagged to a Class. For this Class, I have an Event tied to it. For some reason, the Event doesn't seem to work for the newly created DIVs.

[jQuery] Question about restart tickertape

2008-11-17 Thread jjsanders
Hello everyone. I have implemented a tickertape in one of our sites. It's actually this one: http://www.mioplanet.com/rsc/newsticker_javascript.htm The problem is that it doesn't restart when all items have passed. Is there someone who has experience with this? is there a way to let the script

[jQuery] Question about [Autocomplete]

2008-11-16 Thread MeanStudios
Greetings, I am using this plugin in my web application and I had a quick question. Is there a way to trigger an ajax call if someone selects something from the dropdown list? The ajax call would then fill in some fields below related to what was just selected from the autocomplete field.

[jQuery] Question about $.data()

2008-11-14 Thread Bill
Hi all, Quick question about the $.data() function... Is there a way to see everything that's currently stored in one of these data objects? Since the function (and its compliment, $.data.removeData()) allow for setting/retrieving/deleting key/value pairs, it seems natural that one would want to

[jQuery] Question about Anchor-based URL navigation with jQuery

2008-10-29 Thread McKaulick
Hello, I am currently working on a jquery slider for a customer's portfolio. The project is nearly done, but I am having an issue and I was wondering if someone could enlighten me with a problem that I am having. If you go to this page: http://sonata.websitewelcome.com/~tiptop/logo_design.php

[jQuery] Question about Shadows on the jQuery Nav Bar

2008-10-22 Thread plumwd
Hi, I am just curious if the dropShadow plugin was used to create the shadows on the nav bar which appears on the jQuery main page at http://www.jquery.com. The nav bar I'm referring to is the one with the rounded corners and has the links for Downloads, Discussion, Documentaton, Tutorials, and

[jQuery] question about loading javascript into an element after dom is ready

2008-10-18 Thread jt
I'd like to load a js file into a specific location but it replaces the page with what is being written out. I suspect there's a fairly obvious answer (maybe it can't be done). Here's a basic version of the code and I would like it to write 'here i am' in the dom after div id='jt'/div. Currently,

[jQuery] Question: Using Autocomplete to pass the fields name to query URL

2008-10-16 Thread The Hamburgler
Hi, I wish to pass an extra parameter to the Autocomplete query URL that will determine the name of the current input field. The URL will then know what field is requesting the data and can return the relevant data. E.g. It could be list of countries or a group of surnames already in the

[jQuery] Question to parent() versa DOM parentNode

2008-10-15 Thread Olaf Gleba
Hi. Does the jquery parent() traversing the same as the DOM 'parentNode' ? I ask because i get different results while traversing some Nodes with DOM Style and jquery approach. jquery Style: $(elem).parent().parent().attr('for'); (Prototype) Helper function with plain DOM Javascript:

[jQuery] Question about Jquery load from exernal html

2008-10-10 Thread richie
Hi there, I am really new to all this. Been a while since I looked at code but... I had a project and I think I bit off more than I can chew. What we need to do (without using php because thats WAY beyond me right now) is place a divs from an external doc into the main doc. can the load here

[jQuery] Advanced JS/jQuery Question: RTEs

2008-10-02 Thread 703designs
Fundamentally, how do the editors like TinyMCE work? Every RTE implementation I've seen uses an iframe, and I have no idea what goes on after that. Anyone here know the answer to this?

[jQuery] Re: Advanced JS/jQuery Question: RTEs

2008-10-02 Thread Sam Sherlock
tiny mce makes an iframe (and other interface bits) to display content (sometimes from textareas) and makes it editable. in the dom there is contentEditable, which has all mannor of different quirks between browser due to implementation http://www.quirksmode.org/dom/execCommand/ tiny mce (other

[jQuery] Question about :contains filter

2008-09-05 Thread nabrown78
I am trying to select a list element that contains the text ladies#8217; short-sleeve tee. I have tried $(li:contains(ladies' short-sleeve tee)).addClass(selected); $(li:contains('ladies\' short-sleeve tee')).addClass(selected); $(li:contains(ladies#8217; short-sleeve tee)).addClass(selected);

[jQuery] Question about the new jQuery website

2008-09-01 Thread Feed
Hello all, About the new jQuery website, you noticed that it has 3 blue links: - Lightweight Footprint - CSS3 Compliant - Cross-browser When you hover, it displays a box that stays above the link. I was looking into the code when I found this: //cta tooltips if($.browser.msie){

[jQuery] Question about hiding table

2008-09-01 Thread jjsanders
Hello everyone, I was trying out this example (http://www.webdesignerwall.com/demo/ jquery/accordion1.html) and building further on it but I got stock somewhere. I have the exact same structure, but within the p element two child elements (Span and table). Now the span is hides like the rest

[jQuery] question on using toggle() properly

2008-08-27 Thread eben
I am fairly new to jquery and still trying to get my head around some proper implementation. I'm hoping someone can explain why this works: function doToggle(id){ id = '#'+id; $(id).toggle(); } but, this does not: function doToggle(id){ id = '#'+id; $(id).toggle(

[jQuery] Question about ajaxSubmit

2008-08-23 Thread David
I'm new to the group and to JQuery, but am currently reading and writing a review of JQuery in Action. I have an interesting problem; I'm hoping someone can help me with it. I have a form that posts to a server. When the post executes, it always receives a redirect. What I want to do is capture

[jQuery] Question re: jQuery QuickSearch

2008-08-22 Thread McBilly Wilford Sy
Hello world! I am a new member and really really new with jQuery. Although I have seen this work so many times before, this is the first time I am actually using the codes. Anyway, I am trying to make Rik Lomas quicksearch plugin ( http://rikrikrik.com/jquery/quicksearch/) to work. The problem

[jQuery] Question about variable declaration

2008-08-19 Thread andrea varnier
Hi :) in your plugins (I'm studying from the best here :))) I often find variable assignments like this: options = $.extend({ url: this.attr('action') || window.location.toString(), type: this.attr('method') || 'GET' }, options || {}); it's like url = this OR that.

[jQuery] question about gallery plugin

2008-07-21 Thread Kixe
does it any gallery plugin like this: http://photo.ameba.jp/user/kie-kitano/ thanks

[jQuery] Question about accordion.

2008-07-09 Thread Frank
Hi, I’ve a question about accordion. I have checked the Doc and some Demo but I don’t see how I can do this. Some of my section of my accordion have a realy big content and sometimes when a user click on a section with this amount of content, he loses the beginning of the text because the

[jQuery] Question about function objects vs object literals?

2008-06-30 Thread Oltmans
Hi all, I'm stuck in a situation where I need help. Any help will be highly appreciated. I've created an object, after creating the object, I'm assigning one of its functions to an event handler i.e. to onBlur event of Text-area. Problem is that when I try to access object properties from the

[jQuery] question about callbacks

2008-06-27 Thread Alexandre Plennevaux
hi mates, how do i implement the possibility to have a callback function in my plugin? Via eval()? jQuery.fn.setScrollableArea = function(modifier, callback){ jQuery('body').css({ overflow: 'hidden' }); return this.each(function(){ var offset =

[jQuery] Question about Event Handling Optimization

2008-06-26 Thread jack
Is there a significant performance impact on detecting for events on elements which are not found on a certain page? For example, when using jQuery to code large sites i have always used a global event include i.e events.js to attach a $(document).ready for all possible site events. This allows

[jQuery] Question about slice

2008-06-24 Thread jack
Just a beginner's question. I found slice(start, end) seems doesn't pick up that the last one specified by 'end'. Such as slice(0, 3), it picks up 0, 1 and 2. Is that correct? Jack

[jQuery] question about slice()

2008-06-24 Thread jack
I found slice(start, end) doesn't pick up the last one specified by the 'end'. Such as slice(0, 3), it pick up 0, 1 and 2. Is that the way it works? Jack

[jQuery] Question: select/option to open a new webpage, howto?

2008-06-11 Thread [EMAIL PROTECTED]
Hi, folks: I am trying to use select/option to open a new window and whenever I click an item from the selection dropdown list... for example, the following sample: select name=test option value=/link/to/v1value-1/option option value=/link/to/v2value-2/option option

[jQuery] Question about .click

2008-06-02 Thread Leanan
Hello there ladies and gents, hopefully someone can point me in the right direction. I'm using a combination of flot and ui tabs, and I want the following behavior: When the user clicks on the tab, the text and background get changed to display a loading message while the flot graph is drawn

[jQuery] Question about validation

2008-05-12 Thread Eridius
This is the thing i need to be able to do trying to use the Validation 1.2 plug. Basically i want to be able to undisabled a button if the validation fails. Now i just disable the button on click which works fine but i don't see anything in the documentation on being able to trigger a function

[jQuery] Question: Selecting all the links in div

2008-04-23 Thread vladv
Selecting all the links in div.. I know it should be really simple, but for some reason I can't make it work.. I work with asp.net and try to run something like this: $(document).ready(function(){ $('#UserSubPanel a').addClass('sideLink'); }); but it doesn't work. The links

[jQuery] Re: jQuery Question of the Week! Iframes and Loading!

2008-04-21 Thread mrpollo
hey i may not have many experience, but i think you cannot access the iframes inner properties, i think is caused due to security reasons the iframe tag can be referenced as any other one, but for some reason you cant access whats inside was this what you need it? why do you use an iframe

[jQuery] Re: jQuery Question of the Week! Iframes and Loading!

2008-04-21 Thread Joe
The iframe in this case makes sense. I may go back and change it later, but for now this works fine. I realized that since it is hidden to begin with when the div containing the iframe is clicked I then calculate the appropriate height to then adjust the size of the CONTENT div which is the

[jQuery] jQuery Question of the Week! Iframes and Loading!

2008-04-20 Thread Joe
So I'm building a custom CMS solution for a site that exclusively uses jQuery, but the cool part is that the CMS is entirely placed in a single web page. I accomplish this by showing and hiding only the necessary divs required for the respective tab that is clicked AND using a ton of AJAX to

[jQuery] question about plugin programming

2008-04-19 Thread Rene Veerman
Hi. I've created a button jquery plugin that does a png animation onhover, and takes text on the button from html/dom. Although i've modelled the code after the datePicker plugin, and it works, i think i have a problem with scope. When I instantiate buttons in two different windows, a click in

[jQuery] question about compatibility with IE v6

2008-04-08 Thread Willis
I am investigating using jQuery for site I am developing. Most of my users will be coming to the site with IE. I went to this page http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery but it did not display correctly. In my FF browser it worked find. Could some one let me know if there is a

[jQuery] Question about jQuery Tabs

2008-04-07 Thread dogdayafternoon
Hello, I have 3 tabs in the footer of my website using the jQuery tabs script. I have a link at the very top of the page, and I've attached an anchor to the link. When the link is clicked, it is supposed to go to the anchor at the bottom of the page, and then the jQuery code in the head is

[jQuery] question on determining scrollTop delta after onscroll

2008-02-12 Thread edward
I am trying to find a reliable way to determine how many pixels the scroll bar has moved when the user clicks on the scroll up/down buttons. It seems to be different on every browser and even different on the same browser on different operating systems. Ideally what I would like is a way to

[jQuery] question about $(document).ready

2008-01-28 Thread Alexandre Plennevaux
Hello, i apologize in advance if this is a dumb question. I would like to reorganize my code so that i clearly have 3 steps: 1/ preloading of xml, css, img files 2/ do some preprocessing 3/ runtime, interaction can happen Now i 'm looking at which events are best suited and i wonder if i get

  1   2   >