[jQuery] Re: li/img click and window.keydown

2009-07-19 Thread Lideln
Up ! On 17 juil, 22:47, Lideln wrote: > Up ! :) > > On 16 juil, 22:32, Lideln wrote: > > > up > > > On 16 juil, 08:10, Lideln wrote: > > > > up ! > > > > (wow, this forum gets 10 new posts per hour) > > > > On 15 juil, 21:52, Lideln wrote: > > > > > Hi everybody ! > > > > > I have a jqMod

[jQuery] Re: UI Tabs and xStandard Object

2009-07-19 Thread Klaus Hartl
Could you try this? http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F --Klaus On 19 Jul., 15:25, "blackmeta...@googlemail.com" wrote: > Hi > I seem to have found the following bug. > > (I am using the the latest vers

[jQuery] Re: setting a dynamic variable

2009-07-19 Thread Michael Geary
This may be easier if you forget about jQuery for a moment and just think about JavaScript. Note that the argument you're passing to $() is a string. What if you used alert() instead? Now how would you do it? function my_function(panel_id) { alert( '#--- .container' ); } You wa

[jQuery] setting a dynamic variable

2009-07-19 Thread macsig
Hello guys, I have found a script that works fine for me but I'd like to make it reusable but I have an issue with that. On the script I have something like function my_function() { var $container = $('#panel .container'); ... } and I'd like to pass the id (panel in this case) as a paramet

[jQuery] Re: Value adding to drop down

2009-07-19 Thread Jules
OK that means the values causing the problem. Are your strings stored in the database as double byte characters? Try to view your page in Firefox and use firebug to display the value instead of using alert (). On Jul 20, 2:08 pm, naz wrote: > i have values in data like BSIT|MSIT|BSC| etc when

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
Tried that...still same result. On Jul 19, 7:47 pm, Glazz wrote: > Hmm i tried to replicate that on my server but whithout success... > > You can try what i've mentioned in my previous post, display: none; > like this: > > HTML: > > > JS: > Add this >      $('#slider').css({'display' : 'block'})

[jQuery] Re: Value adding to drop down

2009-07-19 Thread naz
i have values in data like BSIT|MSIT|BSC| etc when i used alert(). to display data values then values are correct but when values appear in drop down they become |BSIT code is like this var programs=[]; alert(data); programs=data.split('|');

[jQuery] Re: Value adding to drop down

2009-07-19 Thread naz
i have values in data same like you are using BSIT|MSIT|BSC| etc when i used alert(). to display data values then values are correct but when values appear in drop down they become |BSIT code is like this var programs=[]; alert(data); programs=data.split('|'); $('#p_course'

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Glazz
Hmm i tried to replicate that on my server but whithout success... You can try what i've mentioned in my previous post, display: none; like this: HTML: JS: Add this $('#slider').css({'display' : 'block'}); After this.each(function() { It will look like this: this.each(function()

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
I can show css or slider code if it helps. Slider CSS below -- @charset "utf-8"; /* CSS Document */ #slidercontent{ position:relative; } #slidercontainer{ margin:0 auto; position:relative;

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
Problem #1: not sure where i would put that, but I will check it out. Problem #2: In IE 7, if you click on the arrow to scroll left or right, you can see the previous content off to the side of the slider. interesting you didn't see it, so I checked out Firefox, and sure enough, the problem is

[jQuery] Re: $.ajax How-to?

2009-07-19 Thread Glazz
Hi, Here " data : $('#form').serialize() " you are serializing the data, so in the php i guess you need to unserialize it, dunno but maybe that is the problem with your script. Here's how i do it, i use json btw: $.ajax({ type: 'POST', url: 'ajax.php', data: 'quantidade=' + $('#qua

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Glazz
Hi, I dunno how your plugin works, but here goes my 2 cents #Problem 1: Why don't place a display: none; style? Dunno if this works with your plugin but, you can do this and in inside your plugin just show the content you need to show... #Problem 2: Don't understand what you mean for "scrolls w

[jQuery] Re: jcarousel - malware-adware?

2009-07-19 Thread icpep
MorningZ wrote: It's called a "false positive"... where Spybot *thinks* it's something malicious, but it isn't... if it's really that much a concern to you, and in no should it, then i would suggest not using the plugin On Jul 19, 11:18 am, gauthier2022 wrote: I had malware/adware two day

[jQuery] Can't change padding using animate() in IE

2009-07-19 Thread djeyewater
I have a function that resizes an image (imgCur) and changes its padding when a new image (img) is loaded like so: img.onload = function(){ var t = this; //Animate current image to new image size imgCur.animate({ "width": t.width,

[jQuery] Re: Help with variable passing and jCarousel callbacks

2009-07-19 Thread oswaldcobblepot
NM, dumb question. Got it working. On Jul 19, 4:14 pm, oswaldcobblepot wrote: > Hi everyone, > > I think this is probably an easy thing to fix, I'm just a bit lost at > the moment. > > I have a photo gallery up and running that uses the Galleriffic plugin > alongside the jCarousel plugin, and I

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
Yeah, I know. As part of the re-write we will deal with the image issue. The page load time on the actual site is aweful. On Jul 19, 10:11 am, Charlie wrote: > for starters your images are huge  ...sampled a couple  .Judy Dench  is > 1728px × 2304px (scaled to 449px × 600px) and file size

[jQuery] Re: Selector help

2009-07-19 Thread Ricardo
this is an object name, you want to pass the object itself and not a string, as others have already said: $(this).find('+ h1') or $('+ h1', this) or $(this).next('h1') http://docs.jquery.com/Selectors On Jul 19, 4:46 am, Dhruva Sagar wrote: > Hi, > > Perhaps your missing a space? $('this h1'),

[jQuery] Re: jcarousel - malware-adware?

2009-07-19 Thread MorningZ
It's called a "false positive"... where Spybot *thinks* it's something malicious, but it isn't... if it's really that much a concern to you, and in no should it, then i would suggest not using the plugin On Jul 19, 11:18 am, gauthier2022 wrote: > I had malware/adware two days ago. > > Scanned w

[jQuery] using extend to extend inner object options

2009-07-19 Thread alexanmtz
Hello everyone, In my plugin arquitecture, I need a inner object of options like the ticked http://dev.jquery.com/ticket/2447 How could I achieve this? I understand that it's really a expected result to overwrite a inner object, but in plugin that I`m developing, I need a subobject of options t

[jQuery] Help with variable passing and jCarousel callbacks

2009-07-19 Thread oswaldcobblepot
Hi everyone, I think this is probably an easy thing to fix, I'm just a bit lost at the moment. I have a photo gallery up and running that uses the Galleriffic plugin alongside the jCarousel plugin, and I am currently trying to get the carousel to scroll along with the displayed image. I know th

[jQuery] Re: JSON form submit

2009-07-19 Thread Michael Geary
Ah, the ambiguities of the English lanuage. :-) David, I'm pretty sure that Leon meant "in a page containing multiple purchase orders, how do I select the input fields that belong to one of those purchase orders?" Not "order" in the sense of "which one comes before another." :-) Leon, when do yo

[jQuery] Re: Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Charlie
for starters your images are huge  ...sampled a couple  .Judy Dench  is 1728px × 2304px (scaled to 449px × 600px) and file size is 350kb! that's a huge amount of loading time for the number of images you have Alan wrote: OKgranted I am totally a rookie here...but I am S stuck!

[jQuery] Re: MODAL HELP!!!!!!!!

2009-07-19 Thread Theodore Ni
I don't know if you are still having this problem, but the reason it isn't working is simply bad JavaScript syntax. You should use your working code, as there is nothing wrong with it. Teddy On Tue, Jul 14, 2009 at 4:26 PM, Nick wrote: > > Anyone: I cant seem to get this to work. If I pass "m

[jQuery] JQuery Message with Validate Plugin

2009-07-19 Thread pocket
I am currently using the validate plugin and I needed to find a way of displaying a message when the user clicks submit but only if they meet certain criteria on their postcode. I have just seen "Message" which will display a pop up message. How do the two work together? Is it possible? Does the

[jQuery] Validation Plugin

2009-07-19 Thread MrConfused
Recently I have just started using JQuery and JQuery Validation plugin. They are really great in terms of helping me in my project. I am having problem with one of the property in the validation plugin. I do not understand about the method called "Remote". How do I write out a script in JSP to pro

[jQuery] jcarousel - malware-adware?

2009-07-19 Thread gauthier2022
I had malware/adware two days ago. Scanned with Spybot search and destroy but now mybrowsers are slow (IE and Firefox) plus i get a window saying: "jcarousel" No width/height set for items. Tjis will cause an infinite loop." What caused this and how do i correct the problem? Thanks to the good

[jQuery] Help in validation plugin

2009-07-19 Thread MrConfused
I have just started using this great validation plugin but I encounter problem in "Remote". I do not know how to create a JSP script that will take in the parameter for the evaluation. Can anyone show me some example codes so that I can get started? Thanks a lot.

[jQuery] Re: Json post with mozilla

2009-07-19 Thread jayz
hey am a totally newbie with json and jquery bothi am accessing a restful service which on GET request reply with some json data...now i wanna parse that through jquery..could you give me a sample code or something?. you have mentioned that u bbeen able to perform GEt request successfully

[jQuery] UI Tabs and xStandard Object

2009-07-19 Thread blackmeta...@googlemail.com
Hi I seem to have found the following bug. (I am using the the latest versions of all products mentioned) When using jQuery UI Tabs with the following code in one tab, I then select another tab then selected the first tab again the content of the xStandard object is lost or reverts to the initia

[jQuery] Could REALLY use some help implementing a slider/carousel. I think I am really close!

2009-07-19 Thread Alan
OKgranted I am totally a rookie here...but I am S stuck! Could anyone look at this page: http://www.movieeye.com/index-new.jsp and help me with either of the two big problems I am having??? Problem #1: When the content is loading (3 content div's worth) it shows ALL of the content bef

[jQuery] Re: Adding element to an array of object

2009-07-19 Thread Theodore Ni
Something simple (without any error checking) like the following works for me: Object Array var parArr = new Array('par1', 'par2', 'par3', 'par4'); var valArr = new Array('val1', 'val2', 'val3', 'val4'); function addKeysValues(original, newkeys, newvals) { for (var i = 0; i < newkeys.lengt

[jQuery] Adding element to an array of object

2009-07-19 Thread FrenchiINLA
I would like to add a key value to an object array. let's say i have 2 arrays: var parArr = new Array('par1', 'par2', 'par3', 'par4'); var valArr = new Array('val1', 'val2', 'val3', 'val4'); I would like to obtain ext={par1:val1, par2:val2,pa3:val3,par4:val4} Any help wou

[jQuery] Re: Does any one know of a page that uses GalleryView 2.0?

2009-07-19 Thread Charlie
have been playing with it a bit and it isn't compatible with version 1.1 markup. Look in changelog.txt for revised markup and options if this is problem you are having liquidcomma wrote: Hi, Since all the doucmentatio refers to the earlier version of GalleryView, does any one know of a pa

[jQuery] Does any one know of a page that uses GalleryView 2.0?

2009-07-19 Thread liquidcomma
Hi, Since all the doucmentatio refers to the earlier version of GalleryView, does any one know of a page that uses GalleryView 2.0? To see an example of it in action. Thanks. Justin

[jQuery] Requirement for duplicate AJAX attribute name

2009-07-19 Thread Coop
All, I have a situation where I need to pass the same named attribute to an AJAX enabled endpoint. Basically I need to simulate something like http://example/cgi?text=1500characters&text=1500characters. I need this type of scenario to work in typical JQuery AJAX and JSONP calls. I understand that

[jQuery] Re: Multi jquery plugins in 1 page?

2009-07-19 Thread tswaters
if you used two closures, e.g. (function($){ $.fn.myplugin = function(){} })(jQuery) (function($){ $.fn.mysecondplugin = function(){} })(jQuery) make sure there is a semicolon separating them. On Jul 18, 9:25 am, Tzontonel wrote: > I want to put in 1 page two jquery plugin, but one of th

[jQuery] Re: Variable scope trouble

2009-07-19 Thread rhodopsin
Thank you Mike! It works perfect now.

[jQuery] Re: Selector help

2009-07-19 Thread Dhruva Sagar
Hi, Perhaps your missing a space? $('this h1'), or $('this ' + 'h1') What I don't understand is, why are you trying to concatenate two strings when you don't need to? Thanks & Regards, Dhruva Sagar. On Sat, 2009-07-18 at

[jQuery] jQuery Text Validation/Combo Boxes

2009-07-19 Thread Admiral Data
Hello, Is there anyway to make a text validation tool such that if in box 1 the user entered dog, then in box 2 dog is entered for them. But if they enter cat in box 1 and attempt to enter cat in box 2 it tells them they have made an invalid selection? Also is there anyway to make it such that i

[jQuery] jQuery Combo Boxes (User Selection) / Text Validation

2009-07-19 Thread Admiral Data
Is there a way to have a text validation tool for jQuery such that: Box 1: Hi Box 2: Automatically fills with Hi if Hi is entered in Box 1 In another case if, Box 1: Bye Box 2: If the user enters Bye in Box 2 it says that they entered an invalid response Also is it possible to have it such tha

[jQuery] about get() in ajax part of jquery

2009-07-19 Thread Bradley
Hi guys! I've got a problem to tackle. Will anybody help me? I wrote a $(document).ready() function in a js file that are referenced by a html page. $(document).ready(function() { $('#letter-e a').click(function() { $.get('http://localhost/e.php', {'term':$(this).text()}, function(data

[jQuery] Re: Selector help

2009-07-19 Thread Charlie
absolutely right, and I know better, was far too late at night...thanks for the catch Shawn wrote: that would still fail - unless he has a tag named "this" just like doing $("a") finds anchor tags. If however he is using "this" in terms of an event handler (where "this" is a reference to

[jQuery] Re: Newbie Datepicker Question

2009-07-19 Thread gfranklin
Yes I agree with James. You should set the value from the database to match the format exactly as the datepicker needs it to be. If you are using PHP here is a cheat sheet: http://php-date.com/ g On Jul 17, 10:23 pm, James wrote: > That was just an example. > You should try to make it the same

[jQuery] Re: JSON form submit

2009-07-19 Thread David
If you are using JSON to construct your server request, why do you need a params order? I mean, in JSON format, you will have pairs detailing attribute name - attribute value, so you will always know which parameter are you dealing with. On 18 jul, 15:02, NightFox wrote: > Hello, > > I'm working

[jQuery] Re: Selector help

2009-07-19 Thread Shawn
that would still fail - unless he has a tag named "this" just like doing $("a") finds anchor tags. If however he is using "this" in terms of an event handler (where "this" is a reference to the DOM object that threw the event, then he would need to remove the quotes: $(this).siblings('h1')