[jQuery] Re: Can the JQuery file be included in another JavaScript file?

2008-06-08 Thread Michael Geary
I hope that didn't come across the wrong way! Just a longwinded way of saying... Link to a test page, please? :-) -Mike > Yes, you can definitely do that. > > > > > ...or were you looking for a more detailed answer - like > maybe a hint about what is wrong? :-) > > Then you need to post

[jQuery] Re: automatically copy the contents of inpubox in another

2008-06-08 Thread Don Quijote de Nicaragua
I response my self: $('#txtCantidadR').keyup(function () { $("#txtEquivalencia").val($ ("#txtCantidadR").val()); Other Way to make this ? Thanks. On 8 jun, 19:53, Don Quijote de Nicaragua <[EMAIL PROTECTED]> wrote: > How can I do to automatically copy the contents of inpubox

[jQuery] Re: ASP.NET UserControl and jQuery

2008-06-08 Thread Don Quijote de Nicaragua
//jQuery library reference //How can I check if the jQuery lib is already loaded by the main page $(document).ready(function(){ //You Code Here... }); Saludos. Don Quijote de Nicaragua. Elder Soto. Check this other link: ht

[jQuery] automatically copy the contents of inpubox in another

2008-06-08 Thread Don Quijote de Nicaragua
How can I do to automatically copy the contents of inpubox in another line is written in the first. Gracias Spanish: Como puedo hacer para copiar automaticamente el contenido de inpubox en otro conforme se escribe en el primero.

[jQuery] Re: Can Jquery Send variable value to external php

2008-06-08 Thread Wizzud
window.location.href = 'myprog.php?doctitle=' + myvar; [might need encoding - depends on title] On Jun 8, 11:36 am, Maddy <[EMAIL PROTECTED]> wrote: > Is it possible to send a variable value to external php. > > how it can be done > > code: > > var myvar = document.title; > > how to send th

[jQuery] Re: Thickbox on 1.2.6 or best alternative?

2008-06-08 Thread Mike Alsup
> Mike: > > Can you show your site where you've been using it? > > Shane http://mrs.malsup.com/page.php?id=163 Scroll to the bottom and pick a vegetable. :-) The code is in mrs.js and looks like this: Shadowbox.init({ autoplayMovies: 1, initialHeight: 20,

[jQuery] Re: Pimped-out Numeric input

2008-06-08 Thread Kevin Pepperman
the spin Button script is similar to this. http://plugins.jquery.com/project/spin-button On Sun, Jun 8, 2008 at 5:03 PM, Frantisek Malina <[EMAIL PROTECTED]> wrote: > > Hi all, > Anyone seen this sort of numeric input implemented in JQuery? > It would be nice quantity input for shopping carts w

[jQuery] Re: ZenCart and jQuery

2008-06-08 Thread anthonyd
I have a few other jQuery templates for ZenCart due for release next Friday. They can be seen on http://zencart-jquery.com Any feedback before I release them is appreciated. On May 30, 2:14 am, anthonyd <[EMAIL PROTECTED]> wrote: > For anyone interested in integratingZenCartwith jQuery, I have aZ

[jQuery] Re: Can the JQuery file be included in another JavaScript file?

2008-06-08 Thread Michael Geary
> "I have included the jquery and other scripts in this file to > simplify code mangement" > > How is that simplifying management? > > If a new release comes out (of either jQuery or any plugins > you are using), surely it's obvious that it's easier to > replace the single file in question th

[jQuery] Re: Can the JQuery file be included in another JavaScript file?

2008-06-08 Thread Michael Geary
Yes, you can definitely do that. ...or were you looking for a more detailed answer - like maybe a hint about what is wrong? :-) Then you need to post that link to the test page. Otherwise, there's no way to begin to imagine what you might actually be doing, or what might be going wrong. For

[jQuery] Re: Thickbox on 1.2.6 or best alternative?

2008-06-08 Thread Shane Graber
Mike: Can you show your site where you've been using it? Shane On Jun 8, 4:44 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > So you should be able to use it with jQuery, no problem. > > Indeed, Shadowbox works quite nicely with jQuery. I've been using it > for several months.

[jQuery] Re: how remove the attributes added by jquery : jQuery1206707292281

2008-06-08 Thread ken
I hope this isn't too late.. I believe the "problem" lies in the fact that when you view source in IE, you get the *current* source. In FF you get the original, unmodified HTML document. However, if you browse the source via Firebug, or the WebDev toolbar's "view generated source" function, you w

[jQuery] Re: ASP.NET UserControl and jQuery

2008-06-08 Thread MorningZ
If you want to just make life easy, include jQuery in your layout/ masterpage and call it a day... it's only going to get downloaded once (< 30k if you use the packed version) and cached on the user's browser whenever the first page is loaded, so it's not like it's downloaded again and again on al

[jQuery] Re: anti IE6

2008-06-08 Thread MorningZ
Any many huge corporations and govt branches are slow to update as well it's certainly not their fault, so why would you purposefully annoy them?

[jQuery] Re: Can the JQuery file be included in another JavaScript file?

2008-06-08 Thread MorningZ
"I have included the jquery and other scripts in this file to simplify code mangement" How is that simplifying management? If a new release comes out (of either jQuery or any plugins you are using), surely it's obvious that it's easier to replace the single file in question than go into this big

[jQuery] Pimped-out Numeric input

2008-06-08 Thread Frantisek Malina
Hi all, Anyone seen this sort of numeric input implemented in JQuery? It would be nice quantity input for shopping carts where you expect people to buy high number of smaller items. http://fczbkk.com/js/slide_set/ Script: http://fczbkk.com/js/slide_set/slide_set.js Dependencies: http://fczbkk.com

[jQuery] Re: Opacity Problems in IE 6 and IE 7 with 1.2.5 and 1.2.6

2008-06-08 Thread hammett
For future references, change it to z= !$.browser.msie ? h.w.css('z-index') : c.zIndex (jqmodal.js line 41) On May 29, 9:08 am, Tony <[EMAIL PROTECTED]> wrote: > jqModaldoes not work with 1.2.5 (6) due to this line of code injqModal > > z=(/^\d+$/.test(h.w.css('z-index')))?h.w.css('z-index'):c.z

[jQuery] Re: Thickbox on 1.2.6 or best alternative?

2008-06-08 Thread Mike Alsup
> So you should be able to use it with jQuery, no problem. Indeed, Shadowbox works quite nicely with jQuery. I've been using it for several months.

[jQuery] Re: Jquery.form - retreiving data?

2008-06-08 Thread Mike Alsup
> The cgi constructs a basic html page that displays the unique ID of the item > submitted. I'm mocking up a site redesign with Greasemonkey/Jquery so I'm > restricted to the current cgi code and when I apply .ajaxForm() the page is > never called (at least not visibly to me).  Does anyone know if

[jQuery] Jquery.form - retreiving data?

2008-06-08 Thread rmitchell
Hey all, I've got a form that calls a cgi on submit. I've got everything working great with the form plugin except this one issue: The cgi constructs a basic html page that displays the unique ID of the item submitted. I'm mocking up a site redesign with Greasemonkey/Jquery so I'm restricted t

[jQuery] Re: Can the JQuery file be included in another JavaScript file?

2008-06-08 Thread Jason
Hi Mike, Basically, I have a global javascript file called globalutilities.js. I have included the jquery and other scripts in this file to simplify code mangement. When I include jquery file this way, I get errors with $ function. When I include it directly in the html file it works. I have trie

[jQuery] Re: Thickbox on 1.2.6 or best alternative?

2008-06-08 Thread Karl Swedberg
Hi Kyle, From the shadowbox support page: Shadowbox comes bundled with adapters for the following JavaScript frameworks: * Yahoo! User Interface Library (yahoo, dom, event, anim) * Ext (standalone, ext-core.js) * Prototype + Scriptaculous * jQuery * MooTools (requires Fx

[jQuery] Re: Effects/fadeTo question

2008-06-08 Thread cedwardz
Thanks Kyle. That worked a treat once I included the missing curly bracket }. Here is the fixed code! A nice effect :) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(document).ready(function(){ $("a").hover(function(){

[jQuery] Re: getScript Problem

2008-06-08 Thread Michael Geary
Here's an untested plugin that should do the trick (it's essentially the same logic I use elsewhere): (function( $ ) { $.getScripts = function( urls, callback ) { var n = urls.length; $.each( urls, function( i, url ) { $.getScript( url, function() {

[jQuery] Re: anti IE6

2008-06-08 Thread timothytoe
Where my brother works, IE6 is mandated by IT. The employees are not allowed to update. I know. Irritating. On Jun 8, 11:55 am, tudorizer <[EMAIL PROTECTED]> wrote: > Made this quick alert box for > IE6:http://tudorizer.wordpress.com/2008/06/08/anti-ie6/ > For those preistoric guys who want to

[jQuery] Re: Thickbox on 1.2.6 or best alternative?

2008-06-08 Thread Kyle
Wow, that's quite nice Wizzud. Too bad it doesn't use jquery, though. On Jun 8, 4:49 am, Wizzud <[EMAIL PROTECTED]> wrote: > orhttp://mjijackson.com/shadowbox/ > > On Jun 6, 1:52 am, Rey Bango <[EMAIL PROTECTED]> wrote: > > > Shane, > > > Check out this one: > > >http://leandrovieira.com/projects

[jQuery] anti IE6

2008-06-08 Thread tudorizer
Made this quick alert box for IE6: http://tudorizer.wordpress.com/2008/06/08/anti-ie6/ For those preistoric guys who want to make developers go crazy debugging IE6.

[jQuery] Re: jQuery Cycle - Custom scrollHorz

2008-06-08 Thread Mike Alsup
> Hi, Was hoping that some you of kind folks would enlighten me as to > how to do this with the awesome Cycle plugin. I am using the > scrollHorz fx, and want to have the incoming and outgoing slides > visible within their container...So it would be like a scrolling > gallery. I've played around w

[jQuery] Events priority

2008-06-08 Thread Pablo Santiago
Hey guys, I'm rather new at this but I've got a problem with setting priorities to events that has kept me up all night. The issue is quite simple: - An image is clicked - A floating box appears with the image preview and a "Change Image" button - If you click the "Change Image" button, it'll tog

[jQuery] Re: Can Jquery Send variable value to external php

2008-06-08 Thread Eric Ongerth
http://docs.jquery.com/Ajax On Jun 8, 3:36 am, Maddy <[EMAIL PROTECTED]> wrote: > Is it possible to send a variable value to external php. > > how it can be done > > code: > > var myvar = document.title; > >  how to send this particular variable to a php script > > plz help

[jQuery] newbie: Using JQuery to populate dropdown using ajax and xml

2008-06-08 Thread GiJeet
Hi, I have a simple html select control that I wish to repopulate with xml file using jquery. I can do it with native javascript but don’t know how to do it with jquery. Scenario: I have a dropdown on a page containing a list of colors. I have a button on the page that, when you click the butto

[jQuery] Re: Delaying remaining actions until animation is complete

2008-06-08 Thread Michael Geary
Use the completion callback: $this.animate({opacity: "0.5"}, { complete: function() { Action 1 Action 2 Action 3 $this.animate({opacity: "1.5"}); }}); -Mike > We have a string of actions which run on a click event, but > before they run, we want to animate down the opacity of

[jQuery] Re: Can the JQuery file be included in another JavaScript file?

2008-06-08 Thread Michael Geary
That's not quite enough information to tell what went wrong. :-) You can certainly concatenate several .js files into one, if that's what you mean. Can you post a link to a test page? -Mike > I have been trying to consolidate a good number of scripts > into include to simplify mgt. The troubl

[jQuery] Re: hiding a div on document ready?

2008-06-08 Thread Michael Geary
There are a couple of typos in that .css({ display:none; }) call: none needs to be quoted, and the semicolon shouldn't be there. Anyway, typos aside, it's not really a matter of being correct or not. Each of the following sets the same CSS style: $('#durl').hide(); $('#durl').css( 'display',

[jQuery] Re: Effects/fadeTo question

2008-06-08 Thread Kyle Bradshaw
hover(over,out) http://docs.jquery.com/Events/hover Can be set up like this in your code: $(document).ready(function(){ $("a").hover(function(){ //over $(this).fadeTo("slow", 0.22); },function(){ //out (full opacity) $(this).fadeTo("slow", 1); ); }); K On Sun, Jun 8, 2008 at 10:17

[jQuery] Plugins/Validation

2008-06-08 Thread roger
I've just been trying out the Validation plugin, and in the jquery.validate.js file I found a mix of jQuery.foo and $.foo statements. I'm thinking of using this in a WordPress admin page, which already includes jQuery 1.2.3 and uses it in the form jQuery(), probably because it also uses other fram

[jQuery] Effects/fadeTo question

2008-06-08 Thread cedwardz
Hello I have modified the jQuery 'Effects/fadeTo' effect so that hovering over a link makes it fade. See example at: http://www.btinternet.com/~chris.edwardz/jquery/index.htm I am quite new to this technology, however my question is to find out whether it is possible for the link state to return

[jQuery] Using Accordion with UI-Slider

2008-06-08 Thread shib001
First off, the jQuery library is great! I am having one minor visual issue, however. I've not been able to locate an answer online, so I thought I would post here. I'm using ui-accordion as a form question "holder". Within this accordion I have checkboxes, text boxes, etc. as well as several ui-

[jQuery] ASP.NET UserControl and jQuery

2008-06-08 Thread vladv
Hi, I have a UserControl to which I would like to add some jQuery functionality. There are 2 issues with this: 1. Where should I include the jQuery library reference and where to call the functions? 2. How can I check if the jQuery lib is already loaded by the main page (the page to which the User

[jQuery] Re: ajax load() *SOLVED*

2008-06-08 Thread Rick Pasotto
On Sun, Jun 08, 2008 at 12:30:38AM -0400, Rick Pasotto wrote: > > I have a "quote" div that should return a random quote via ajax when it > is clicked on. Some time ago I asked why I wasn't getting a new quote > and how to force a new quote. The response was to add > > { nocache:Math.random() }

[jQuery] Can Jquery Send variable value to external php

2008-06-08 Thread Maddy
Is it possible to send a variable value to external php. how it can be done code: var myvar = document.title; how to send this particular variable to a php script plz help

[jQuery] Can the JQuery file be included in another JavaScript file?

2008-06-08 Thread Jason
Hi Folks, I have been trying to consolidate a good number of scripts into include to simplify mgt. The trouble is when I include the jquery file it does not recognize the jquery functions. If I include it directly in the html page all works fine. I have even included remote files that I have conf

[jQuery] Delaying remaining actions until animation is complete

2008-06-08 Thread fambi
We have a string of actions which run on a click event, but before they run, we want to animate down the opacity of certain elements to show the user that something is happening and then animated the opacity back to normal to show that the process is finished: $this.animate({opacity: "0.5"}); Act

[jQuery] ajax load()

2008-06-08 Thread Rick Pasotto
I have a "quote" div that should return a random quote via ajax when it is clicked on. Some time ago I asked why I wasn't getting a new quote and how to force a new quote. The response was to add { nocache:Math.random() } to the load call. That has been working fine but now I'm trying to implem

[jQuery] Re: Thickbox on 1.2.6 or best alternative?

2008-06-08 Thread Wizzud
or http://mjijackson.com/shadowbox/ On Jun 6, 1:52 am, Rey Bango <[EMAIL PROTECTED]> wrote: > Shane, > > Check out this one: > > http://leandrovieira.com/projects/jquery/lightbox/ > > Rey > > Shane Graber wrote: > > What are people using today to create effects like thickbox or > > lightbox on jQ

[jQuery] Re: text box keeps focus when another element type is clicked ?

2008-06-08 Thread Wizzud
Try adding... $(':text').bind('focus', function(){ hasFocus = $(this); }); On Jun 5, 7:43 pm, paulj <[EMAIL PROTECTED]> wrote: > Wizzud, thank you for your help. > > Your code worked perfectly if the user had entered the text box by > *clicking* on it. > But, if the user has *tabbed* to th

[jQuery] Re: Reflesh page after change DOM

2008-06-08 Thread Wizzud
If you add new elements (*any* new elements, not just LI's!) to a page using core jQuery, they will only have whatever properties/events/ whatever that you assign/attach to them once they have been added to the DOM. In other words, it's down to you to ensure that the new elements have the required

[jQuery] Re: Can jQuery compare 2 and remove 's that are duplicates?

2008-06-08 Thread Wizzud
Assuming that your list elements are simple text nodes... //list on screen... var listOnScreen = []; $('ul#listOnScreen li').each(function(){ listOnScreen.push($(this).text()); }); //function, returns true if text argument found in list on screen... var inListOnScreen = function(txt){ var l