[jQuery] Re: way to identify if width of element was defined in percentage

2009-01-18 Thread david
Thank you On Jan 18, 6:58 pm, brian wrote: > You could try reading the styles directly (not getComputedStyle). Have > a look at the document.styleSheets object, specifically its cssRules > array. > > http://www.javascriptkit.com/domref/stylesheet.shtml > > On Sun, Jan 18, 2009 at 8:48 AM, david

[jQuery] Re: Browser Inconsistencies

2009-01-18 Thread Ricardo Tomasi
Try adding position:relative to #slideshow, or giving it proper height and width. IE has many rendering bugs you need to be aware of at development, at this point the best you can do is fiddle with the CSS until you make it work. On Jan 19, 4:57 am, zeckdude wrote: > Hello all, > > I have a stra

[jQuery] Re: jQuery 1.3 and ">" selector

2009-01-18 Thread Ricardo Tomasi
Yeah, it's probably your HTML, the test I made was using jQuery 1.3. But 1.3 has a few selector bugs, 1.3.1 should be out this week, give it a try. - ricardo On Jan 19, 1:04 am, lideln wrote: > Hi, thanks for the fast answer ! > > My menu bar does not work, and the basic example I gave you doe

[jQuery] Re: List Box | update image on change

2009-01-18 Thread dfwcomputer
ok i got it..after a week lolhow can i now make it so i can have more than one list box... $(document).ready(function(){ $('#MyImage').bind('change', function() { var update_pic = $(this).val(); if (update_pic) { $('#NewPic').attr('src', 'indices/icons/' + u

[jQuery] Re: Problems with the New API Browser - Bug in AIR APP

2009-01-18 Thread Giovanni Battista Lenoci
Remy Sharp ha scritto: Ouch! Sorry about that. I didn't have time to add functionality that saved the window position - but when this is in (v. soon), I'll initialise the window at 640x480, then changing the window's position and size will be saved for the next time it's opened. Cheers, Remy

[jQuery] Browser Inconsistencies

2009-01-18 Thread zeckdude
Hello all, I have a strange problem I don't know how to fix. My page is showing up just as it should in Firefox, but when I look at the same exact page in Internet Explorer, the buttons below the slideshow don't appear. I figured out, however that when you look at the page in Internet Explorer

[jQuery] Re: Superfish - left module size

2009-01-18 Thread thalueng
I have figured it out in the meantime: you need to remove the left floats from superfish.css, then everything works fine. On Jan 17, 3:08 pm, thalueng wrote: > I try to apply superfish to a template based on aha_editionblack > (google for the link). when publishing superfish-vertical to the left

[jQuery] Re: will lead behavior for IE to lose efficacy

2009-01-18 Thread ChenKaie
any good ideas? On 1月18日, 上午10時57分, ChenKaie wrote: > Dear all, > > I use some behavior hack, like the famous Whatever:hover > (http://www.xs4all.nl/~peterned/csshover.html), when I upgrade jQuery to v1.3, > it cause this hack to lose efficacy, but works well under jquery v1.2. > > any body? me

[jQuery] Re: List Box | update image on change

2009-01-18 Thread dfwcomputer
I feel close yet so far away lol I can get it to display the image path but how do I update the img src any ideas? http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> http://ajax.googleapis.com/ajax/ libs/jquery/1.2.6/jquery.min.js"> http://texotela.appspot.com/js/ plugins/jque

[jQuery] Re: List Box | update image on change

2009-01-18 Thread dfwcomputer
I feel close yet so far away lol I can get it to display the image path but how do I update the img src any ideas? http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> http://ajax.googleapis.com/ajax/ libs/jquery/1.2.6/jquery.min.js"> http://texotela.appspot.com/js/ plugins/jquer

[jQuery] Re: JSON with ajaxComplete

2009-01-18 Thread Rick Faircloth
Hi, James... Just a thought...do you have format=json as part of the URL that you're calling? That straightened out the format problem for me when I added that. What does your ajax code look like? Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegrou

[jQuery] Re: $(' Expert jQuery & JS synatx ' ).show

2009-01-18 Thread Brandon Aaron
It works by referencing the method with bracket or array notation. You can reference properties and methods of an object this way. For example: var obj = { test1: 'test_one', test2: 'test_two' }; alert( obj['test1'] ) // alerts test_one alert( obj.test1 ) // also alerts test_one The other code do

[jQuery] Re: Column highlite

2009-01-18 Thread Mauricio (Maujor) Samy Silva
$('tr td:nth-child(2n)').css('background', '#ccc') // even column highlited $('tr td:nth-child(2n-1)').css('background', '#ccc') // odd column highlited Maurício -Mensagem Original- De: Para: "jQuery (English)" Enviada em: segunda-feira, 19 de janeiro de 2009 01:32 Assunto: [jQuery

[jQuery] Re: Column highlite

2009-01-18 Thread brian
$('#your_table_id tr').find('td:odd').css('background-color', '#EEE'); You need to operate on each TR separately or jQuery will count each TD without regard for the row it's in. On Sun, Jan 18, 2009 at 10:32 PM, wrote: > > I have table which need to have alternate column highlight and work in

[jQuery] Re: $(' Expert jQuery & JS synatx ' ).show

2009-01-18 Thread Ami
Thank you. It's working :) Can you put a function name in an array ?! May you explain me WHY it's working? $('div')[ (true? 'next' : 'before') ]().hide() I tried also this: function a() {alert('Function a')} [expr ? 'a' : 'a']() but it's didn't work. why? On Jan 19, 5:1

[jQuery] Re: $(' Expert jQuery & JS synatx ' ).show

2009-01-18 Thread Mauricio (Maujor) Samy Silva
if (expr) { $(seletor).prev().show(); } else { $(seletor).next().show(); } or the short sintax: expr ? $('h2').prev().show() : $('h2').next().show(); Maurício -Mensagem Original- De: "Ami" Para: "jQuery (English)" Enviada em: segunda-feira, 19 de janeiro de 2009 01:12 Assunto: [j

[jQuery] Column highlite

2009-01-18 Thread vivekamar007
I have table which need to have alternate column highlight and work in IE&Mozilla both usingg jquery Plz say suggestion.

[jQuery] Re: $(' Expert jQuery & JS synatx ' ).show

2009-01-18 Thread Brandon Aaron
I believe you are looking for the following syntax: $(selector)[ (expr ? 'next' : 'before') ]().show(); -- Brandon Aaron On Sun, Jan 18, 2009 at 9:12 PM, Ami wrote: > > Sorry about my grammar, English isn't my lang. > > I am trying to write code like that: >var expr=true,selector='div';

[jQuery] $(' Expert jQuery & JS synatx ' ).show

2009-01-18 Thread Ami
Sorry about my grammar, English isn't my lang. I am trying to write code like that: var expr=true,selector='div'; $(selector) (expr ? .next() : .before() ). show(); But it's not JS syntax. So how can I do it? I know,that I can do it like that: if (expr) $(selector)..befo

[jQuery] Re: jQuery 1.3 and ">" selector

2009-01-18 Thread lideln
Hi, thanks for the fast answer ! My menu bar does not work, and the basic example I gave you doesn't work either with jQuery 1.3, but they both work fine with jQuery 1.2.6. You think it's because my XHTML is invalid ? I think it will be hard to debug... I can't imagine why another script is me

[jQuery] Re: newby... cannot get $("div").length; to work

2009-01-18 Thread Ami
You can short it to: $(function() { var divcount = $("div").length; alert("start=" + divcount); }); On Jan 19, 4:55 am, Karl Rudd wrote: > The code is being run before the DIVs actually exist. You need to > "wrap" the code in a "ready" event handler, like so: > > $(document).ready( functi

[jQuery] Re: $(selector).add($(.next))

2009-01-18 Thread Ami
Thank you. This is exactly what I search. 10 Points :) On Jan 19, 4:45 am, Ricardo Tomasi wrote: > The only alternative is > > $(selector).next().andSelf() > > On Jan 19, 12:08 am, Ami wrote: > > > Hello, > > > Sorry about my grammar, English isn't my tang. > > > How I add to $ the next elmem

[jQuery] Re: newby... cannot get $("div").length; to work

2009-01-18 Thread Karl Rudd
The code is being run before the DIVs actually exist. You need to "wrap" the code in a "ready" event handler, like so: $(document).ready( function() { var divcount = $("div").length; alert("start=" + divcount); }); Now the code will be run when the document (the HTML not images, etc) has f

[jQuery] Re: Cycle and CSS

2009-01-18 Thread pillpusher
I have problems with the slideshow in div tags too. I have one site with the slideshow in a table and some of my problems worked themselves out. I have problems like yours. The slideshow doesn't go where I want it to. The CSS doesn't work as expected on the parent tags or child tags. On Dec 14 20

[jQuery] Re: newby... cannot get $("div").length; to work

2009-01-18 Thread Ricardo Tomasi
That's because the body of your page hasn't loaded yet at the time your script gets executed. Use this: $(document).ready(function(){ var divcount = $("div").length; alert("start=" + divcount); }); This article explains what's going on: http://www.learningjquery.com/2006/

[jQuery] Re: jQuery 1.3 and ">" selector

2009-01-18 Thread Ricardo Tomasi
There is certainly something else, maybe bad mark-up or another script messing with jQuery. It's working fine as you can see at http://jsbin.com/ojito/ On Jan 18, 11:59 pm, lideln wrote: > Hi all, > > I'm using jQuery 1.3, and I'm having troubles with the ">" selector : it > only returns ONE ele

[jQuery] Re: $(selector).add($(.next))

2009-01-18 Thread Ricardo Tomasi
The only alternative is $(selector).next().andSelf() On Jan 19, 12:08 am, Ami wrote: > Hello, > > Sorry about my grammar, English isn't my tang. > > How I add to $ the next elmement. > > Some think Like > > I can do: > $(selector).add( $(selector).next) > > But I think that there is a better so

[jQuery] newby... cannot get $("div").length; to work

2009-01-18 Thread bartee
I have this test code. My alert dialog always show zero as the div count: Help !!! http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en-AU"> Jquery Test var divcount = $("div").length; alert("start=" + divcount);

[jQuery] jQuery 1.3 and ">" selector

2009-01-18 Thread lideln
Hi all, I'm using jQuery 1.3, and I'm having troubles with the ">" selector : it only returns ONE element ! [code] bla bla bla bla bla bla bla bla bla [/code] [code] var aSel = $("#coucou > .test"); log(aSel); // displays : Obj

[jQuery] jQuery (English) superfish vertical navigation - replace list item with css rollover image

2009-01-18 Thread sleekzim
Hi, seeking some assistance with customising the superfish vertical navigation list. I've removed arrows, shadows etc. as I only need 1 additional popup menu on hovers and no other effects (I've applied an 80% transparency effect to the sub-menu list items, that's all). I am wondering how I would

[jQuery] Re: rating using thumbs up thumbs down.

2009-01-18 Thread Pragan
hi, thanks for the reply. yeah I would need to use web service...but i am looking to use jquery to avoid the page refresh and also I found the jquery plug in for star rating system... please let me know if any one has any suggestion. regards pragan. On Jan 18, 5:03 pm, "Nic Luciano" wrote: >

[jQuery] $(selector).add($(.next))

2009-01-18 Thread Ami
Hello, Sorry about my grammar, English isn't my tang. How I add to $ the next elmement. Some think Like I can do: $(selector).add( $(selector).next) But I think that there is a better solution. Thank you.

[jQuery] Re: calculating eq from index

2009-01-18 Thread Mauricio (Maujor) Samy Silva
Hi Paul. Use each() to catch the image index. $('td img').each(function(i) { var indexHover = 'i' $(this).hover(function(){ $('td img').eq(i-1).animate({ width: "50px", height: "50px" }, 500 ), function () { } }); }); Maurício -Mensagem Original- De: "paul" Para: "jQue

[jQuery] Re: jQuery doesn't like being put inside a parent div in Internet Explorer

2009-01-18 Thread zeckdude
I figured out what was causing the problem. There was something being referred to in the JS that was called container on Line 27, so I simply changed the name of the div. I am still somewhat puzzled on how to open the script editor or how to tell Internet Explorer which Script editing program to

[jQuery] Re: Problems with the New API Browser - Bug in AIR APP

2009-01-18 Thread Remy Sharp
Ouch! Sorry about that. I didn't have time to add functionality that saved the window position - but when this is in (v. soon), I'll initialise the window at 640x480, then changing the window's position and size will be saved for the next time it's opened. Cheers, Remy. On Jan 17, 11:08 am, G

[jQuery] Re: jQuery doesn't like being put inside a parent div in Internet Explorer

2009-01-18 Thread zeckdude
I see the warning icon now. I just now enabled my script debugging and I see the Error message that appears: "A Runtime Error has occurred. Do you wish to Debug? Line: 27, Error: Object doesn't support this property or method" When I click on the Yes button to debug, nothing happens. I did some

[jQuery] Re: Rotating images "AJAX like" on a page

2009-01-18 Thread Chris Stewart
What's weird is that it acts like the image itself isn't even there in IE7. It displays 2 of the 7 images I have in the list. The others show up as red Xs in IE7. Has anyone seen anything like this using JQuery.innerfade? Chris On Jan 13, 11:16 am, Chris Stewart wrote: > I'm looking to produ

[jQuery] Re: jQuery doesn't like being put inside a parent div in Internet Explorer

2009-01-18 Thread Mike Alsup
> Sean, > > I don't understand what that means. I did some googling on it and i found > that it means "the name of the starttag (the first you find is > not equal to the final end tag (the last you will find) you > need to make them the same name". > > My html and head tags are named the same, s

[jQuery] calculating eq from index

2009-01-18 Thread paul
hi, i have some images in a table. could the following be in the right direction of accessing the surrounding images of the one that gets hovered? $('.someclassname').hover(function(){ $('#somediv img:eq( (index(this))-1) ).animate({ width: "50px", height: "50px" }, 500 ); },

[jQuery] Re: jQuery doesn't like being put inside a parent div in Internet Explorer

2009-01-18 Thread zeckdude
Sean, I don't understand what that means. I did some googling on it and i found that it means "the name of the starttag (the first you find is not equal to the final end tag (the last you will find) you need to make them the same name". My html and head tags are named the same, so I am not s

[jQuery] Validate: Validating an ajax loaded form

2009-01-18 Thread beysk
Greetings, I have been struggling with this for some time. The page uses: jquery 1.2.6 jquery.form.js jquery.validate.js I have a form which is generated like so: A. a user clicks on an image B. div containing image slides up (is hidden) C. a form (prepopulated with data by php fro

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-18 Thread johny why
ricardo, you're right that styles undeclared in the widget-css will cascade from the site-css into the widget, even if you use !important in the widget. that's an important point.

[jQuery] Re: How select first link??

2009-01-18 Thread kellyjandr...@sbcglobal.net
You will need to not only remove the link, but the links parent, unless an empty LI is ok for you. On Jan 18, 1:02 pm, punkplod wrote: > had lots of trouble using #menu li a:first when i first started using > jquery > > Outside of jquery use :first and :last are css3 pseudo selectors so im > a l

[jQuery] Re: Cycle plugin prev/next question

2009-01-18 Thread Mike Alsup
> The code shown below is working fine for me, but I want the prev and > next buttons to jump 2 slides instead of 1. I think this involves the > "prevNextClick" option, but don't know how to code it... > >

[jQuery] Re: Cycle Plugin - Animate slider to indicate current slide?

2009-01-18 Thread Mike Alsup
> I would like to create a slideshow with a vertical list of the slide > navigation. I would like to smoothly animate a marker up and down to > indicate the current slide. Here's what I have so far: > >         $('#s1').cycle({ >             pager:  '#nav', >             before:  onBefore >      

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-18 Thread Klaus Hartl
On 18 Jan., 21:45, johny why wrote: > "a 3rd party widget...should...use...important declarations. > Nevertheless there is no guarantee that the site's CSS will not > override styles." > --why? unless the site css ALSO uses !important, how else could it > override the candy-css? Yes, that's exac

[jQuery] Re: rating using thumbs up thumbs down.

2009-01-18 Thread Nic Luciano
It's unlikely there's a plugin to do what you want to do since javascript is client side, and saving to any sort of database would require at least some web service. On Sun, Jan 18, 2009 at 12:46 PM, Pragan wrote: > > Hi, > > I am looking to implement a rating system using thumbs up thumbs down.

[jQuery] Re: jQuery in a Firefox Extension...

2009-01-18 Thread Nic Luciano
Anyone? I was looking forward to using jQuery in the extension but I might have to do without... :[ On Fri, Jan 16, 2009 at 3:47 PM, Nic Luciano wrote: > Hm, that makes sense. So, I suppose I could do something like > > jQuery.noConflict(); > var doc = window.content.document; > jQuery("#id"

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-18 Thread Ricardo Tomasi
On Jan 18, 6:45 pm, johny why wrote: > "Third party "CSS Candy" that is supposed to be inserted in other's > pages should be coded with this issue in mind, protecting all it's > styles in it's own container" > >      --i believe that's incorrect, if by "container" you mean unique > classes and

[jQuery] Cycle plugin prev/next question

2009-01-18 Thread atomk
The code shown below is working fine for me, but I want the prev and next buttons to jump 2 slides instead of 1. I think this involves the "prevNextClick" option, but don't know how to code it...

[jQuery] Cycle Plugin - Animate slider to indicate current slide?

2009-01-18 Thread Benjitastic
Hi everybody, I would like to create a slideshow with a vertical list of the slide navigation. I would like to smoothly animate a marker up and down to indicate the current slide. Here's what I have so far: $('#s1').cycle({ pager: '#nav', before: onBefore

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-18 Thread wileyl...@gmail.com
johny why: > --why? unless the site css ALSO uses !important, how else could it > override the candy-css? Depending on how the rest of the selectors are written, a Body ID will do overwrite it. Sean On Jan 18, 12:45 pm, johny why wrote: > ricardo: > > "what does this have to do with jQuery?

[jQuery] Re: Selector Help

2009-01-18 Thread Kean
Oops, $checkbox.val(''); should be $text.val(''); On Jan 18, 1:23 pm, Kean wrote: > This works and will take care of unchecked conditions too. > > $('table tr[id^=row] :checkbox').click(function(){ >         $$ = $(this); >         $text = $$.parent().parent().find('.email, .contact'); > >  

[jQuery] Re: Selector Help

2009-01-18 Thread Kean
This works and will take care of unchecked conditions too. $('table tr[id^=row] :checkbox').click(function(){ $$ = $(this); $text = $$.parent().parent().find('.email, .contact'); if($$.is(':checked')) { $text[0].value = 'Email Checked'; $te

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-18 Thread johny why
ricardo: "what does this have to do with jQuery?" --this topic is on the jquery forum, because problems with a jQuery component, Superfish, caused me to devise this method. The superfish support page directed me to this forum for support. the author of the plugin has not spoken up yet. (I

[jQuery] hover & show: how to avoid looping?

2009-01-18 Thread brian
I have a simple unordered list of links that I want to animate. But I can't remember how, using jQuery, I should ensure that the UL stays showing when I move the cursor over it. The problem is that I have position: relative on the container, and absolute on the UL (I need this for z-index purposes

[jQuery] Re: jquery.com and IE7

2009-01-18 Thread Charlie22
I found smtg strange. I tried to log to my PC under other account and with new user account IE7 works with jQuery.com fine. It seems there must smtg wrong with my account profile in WinXP, so definitelly its not problem by jQuery.com. On 18 Led, 10:38, Charlie22 wrote: > I have one question yet.

[jQuery] Re: Selector Help

2009-01-18 Thread MorningZ
This is untested and just off the top of my head $("table tr[id^='row']").each(function () { $(this).find("td checkbox").click(function() { if ($(this).is(":checked") == true) { var $row = $(this).parent().parent(); //first is , second is $row

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-18 Thread Klaus Hartl
On 18 Jan., 19:16, Ricardo Tomasi wrote: > They're named **Cascading** Style Sheets for a reason. Third party > "CSS Candy" that is supposed to be inserted in other's pages should be > coded with this issue in mind, protecting all it's styles in it's own > container, or writing styles in-line (

[jQuery] Re: A beautiful diagram

2009-01-18 Thread vlain
Thanks to all. I used RaphaelJS and I fount it very good.

[jQuery] Selector Help

2009-01-18 Thread LexHair
I have a table structure with a multiple rows containing a checkbox input and 4 text inputs with distinct classes. I want to prefill two of the text inputs in the same row where the checkbox is checked. Example code for the first two rows: I nee

[jQuery] [jCarousel] IE6 issue with jQuery 1.3

2009-01-18 Thread digitalYours (Christoph Rechsteiner)
Hi, I need someone's help with jCarousel and the latest version of jQuery. I'm using jCarousel in combination with text messages in front of an image. I've tried to upgrade to jQuery 1.3, but the text disappears if I'm using Internet Explorer 6. What is the best way to start debugging this issue

[jQuery] Ajax load not working with IE

2009-01-18 Thread netcomp
Hi there, trying to load some asp pages w\using load and it works in FF and Chrome but not in IE (6 or 7). Is this a known problem or is there something up with my code? Thanx ahead of time $(document).ready(function() { $("#nouns").change(function() {

[jQuery] Re: Asynchronous jQuery login form with PHP

2009-01-18 Thread Lostprophetpunk
The session is started at the top of every page through this code at the top of the header...

[jQuery] Re: New jQuery Editable released.

2009-01-18 Thread maggus.st...@googlemail.com
< and > sign is not escaped properly... if you type it doesn't show up after closing editable mode.. On 18 Jan., 17:45, "a.karimzadeh" wrote: > You can check it here:http://plugins.jquery.com/project/Editable > > It's fully customizable: > > #1 Easy to use > $('div.editable').editable(); > #2 S

[jQuery] Re: Need to know what jQuery plugin this is!

2009-01-18 Thread Mike Alsup
> I need to find out what jQuery plugin is used on this site to move > through the projects at the top of the site:http://yourfolio.themedemo.net/ > > When you click on "view next project" it brings up the next project > without any refresh. Can anyone point me in the right direction? I > don't se

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-18 Thread Ricardo Tomasi
Sorry johnny, but you're the one who seems to not understand the nature of CSS. I'm pretty sure of my reasonings in this field ;) They're named **Cascading** Style Sheets for a reason. Third party "CSS Candy" that is supposed to be inserted in other's pages should be coded with this issue in mind

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-18 Thread johny why
Amen to that, JIMD. !important easily eliminates spaghetti problems, with 3rd-party components. (Although, i would counter that CSS applied judiciously, ESPECIALLY to very large sites, can vastly reduce the effort to apply global formats site-wide. But some CSS-fanatics say "never, ever use inline

[jQuery] Re: How select first link??

2009-01-18 Thread punkplod
had lots of trouble using #menu li a:first when i first started using jquery Outside of jquery use :first and :last are css3 pseudo selectors so im a little weary of using them. Strange i guess but i just don't like using those selectors sorry if i have caused any offense.

[jQuery] Re: How select first link??

2009-01-18 Thread Charlie22
anz reason, why didnt you use #menu li a:first ? On 18 Led, 18:48, "gareth gwyther" wrote: > i think > jQuery('#menu li a').eq(0).remove(); > or > jQuery'(#menu li').eq(0).remove(); for valid html removing both the li > and the link > > eq(number) is the position in the array of the selector. He

[jQuery] Need to know what jQuery plugin this is!

2009-01-18 Thread dsizemore
Hi, I need to find out what jQuery plugin is used on this site to move through the projects at the top of the site: http://yourfolio.themedemo.net/ When you click on "view next project" it brings up the next project without any refresh. Can anyone point me in the right direction? I don't see any

[jQuery] Re: How select first link??

2009-01-18 Thread gareth gwyther
i think jQuery('#menu li a').eq(0).remove(); or jQuery'(#menu li').eq(0).remove(); for valid html removing both the li and the link eq(number) is the position in the array of the selector. Hence 0 being first hope this helps On 1/18/09, Charlie22 wrote: > > and how can you create selector fo

[jQuery] rating using thumbs up thumbs down.

2009-01-18 Thread Pragan
Hi, I am looking to implement a rating system using thumbs up thumbs down. So far with my search, I was able to find only star rating system. I would like to do the following thing: 1) Show two images(one for up and one for down). 2) when clicked, it has to store the count in the mysql db and sho

[jQuery] Re: How select first link??

2009-01-18 Thread Charlie22
and how can you create selector for first link in this case?: Home Rules On 18 Led, 15:35, "kellyjandr...@sbcglobal.net" wrote: > Bah - I see they "fixed" it. You should not be able to select only one > anchor tag in this instance using $('#menu li a:first') > > On Jan 18,

[jQuery] New jQuery Editable released.

2009-01-18 Thread a.karimzadeh
You can check it here:http://plugins.jquery.com/project/Editable It's fully customizable: #1 Easy to use $('div.editable').editable(); #2 Submission can be set on any Event $('div.editable').editable({submitBy:'change'}); #3 Can use onSubmit and onEdit to define your own behavior. $('div.editabl

[jQuery] jBind (Bind Data to Template)

2009-01-18 Thread a.karimzadeh
jBind is jQuery plugin for binding any complex data to templates in an easy way. By using $(template).bind(data) you can bind your data to the template. You can download it from jQuery website: http://plugins.jquery.com or directly from here: http://arashkarimzadeh.com/index.php/downloads.html?fu

[jQuery] Re: Asynchronous jQuery login form with PHP

2009-01-18 Thread GasGiant
where is your session implementation? have you remembered to use start in the the scripts called with ajax? are you changing session ids from page to page?

[jQuery] Re: jQuery doesn't like being put inside a parent div in Internet Explorer

2009-01-18 Thread wileyl...@gmail.com
Chris, I didn't look at the jQuery because you - First - may want to fix the (X)HTML/Transitional code for IE6. See - http://validator.w3.org/check?uri=http%3A%2F%2Fwww.idea-palette.com%2Ftestfolder%2Fpagetest2.html. |head| and |html| elements are showing "XML Parsing Error: Opening and ending ta

[jQuery] Re: way to identify if width of element was defined in percentage

2009-01-18 Thread brian
You could try reading the styles directly (not getComputedStyle). Have a look at the document.styleSheets object, specifically its cssRules array. http://www.javascriptkit.com/domref/stylesheet.shtml On Sun, Jan 18, 2009 at 8:48 AM, david wrote: > > Hi all, > > Is there a way to know if an elem

[jQuery] Re: animation question

2009-01-18 Thread Raúl Negueruela
Thanks that is working.

[jQuery] Re: Disable dropdown when checkbox checked?

2009-01-18 Thread david
You have to return true. return false means don't do the change I don't like the way the javascript is written Use the bind function with the onchange (change event) and use in the callback the this value (read more in the internet and jquery documantation how to use it) Good Luck, David On

[jQuery] Re: Disable dropdown when checkbox checked?

2009-01-18 Thread david
You have to return true. return false means don't do the change I don't like the way the javascript is written Use the bind function with the onchange (change event) and use in the callback the this value (read more in the internet and jquery documantation how to use it) Good Luck, David On

[jQuery] Re: how to know about previously selected li

2009-01-18 Thread Karl Swedberg
You can know the previously selected/clicked li because it already has the class name. :) Just remove the class from that li first, then add it to the newly clicked li: $('li').click(function() { $('li.tab-selected').removeClass('tab-selected'); $(this).addClass('tab-selected'); }); --Ka

[jQuery] Re: How to test Javascript code

2009-01-18 Thread Karl Swedberg
On Jan 18, 2009, at 8:14 AM, Yuvraj Mathur wrote: Hi, Is there any web site where we can test our javscript code... that uses libraries like Jquery, Mootools, Dojo, etc... There use be a site... but I don't remember its address... Try http://jsbin.com/ --Karl Karl Swedbe

[jQuery] Re: animation question

2009-01-18 Thread Karl Swedberg
You should be able to set up simple effects plugins like this: jQuery.fn.extend({ widthShow: function(speed, easing, callback) { return this.animate({width: 'show'}, speed, easing, callback); }, widthHide: function(speed, easing, callback) { return this.animate({width: 'hide'}, spee

[jQuery] Re: Disable dropdown when checkbox checked?

2009-01-18 Thread Toaster
Also, What I am currently doing is, I dynamically create groups of fields in my forms (which include the checkbox and dropdowns related to my question) using jQuery. Not sure if this has any relevancy to the question but yes On Jan 18, 1:38 pm, Toaster wrote: > js: > ---

[jQuery] Asynchronous jQuery login form with PHP

2009-01-18 Thread Lostprophetpunk
Hello, I have just recently completed a blog system with PHP. I am now enhancing it with jQuery, but I have come across some problems. My login form is in a toggle div, so I submit the form info asynchronously to the db via jQuery and it's ajax features. However when I do this the form does every

[jQuery] Re: Disable dropdown when checkbox checked?

2009-01-18 Thread Toaster
js: function stillWork(id) { if ($(id).attr('checked') == true) { alert('check'); } if ($(id).attr('checked')

[jQuery] Re: script and strange behaviours with ie

2009-01-18 Thread Saledan
up! thanks On 8 Gen, 07:18, Saledan wrote: > up, please! > > thanks > > On 3 Gen, 11:50,Saledan wrote: > > > Hi, > > yes i supposed that browsers older than ie6 are now unsupported by > > jQuery and web developers, i just play with those versions... the > > important issues are with ie 6 and 7.

[jQuery] Newbie HELP: Page Fade out, then nepage fade in without jump

2009-01-18 Thread marek
Hi, excuse the ignorance i am not skilled in Javascript, and using jquery so i cannot read it. I have an urgent request as im working on a proposal and although i am not going to be using jquery i would very much like to use use a simple page fade out and then fade in the next page. I am fully aw

[jQuery] Newbie HELP: Page Fade out, then load new page and fade in without jump

2009-01-18 Thread marek
Hi, excuse the ignorance i am not skilled in Javascript, and using jquery so i cannot read it. I have an urgent request as im working on a proposal and although i am not going to be using jquery i would very much like to use use a simple page fade out and then fade in the next page. I am fully aw

[jQuery] Re: Does jQuery support the postback?

2009-01-18 Thread MorningZ
> for example, in sorting feature of jQuery, if the end user changed the > items using jQuery and the he posted back the aspx page, can i handle > the new order in the server? No automatically... as there is no "order" data available on postback you'll have to make an AJAX call to update the

[jQuery] Re: Does jQuery support the postback?

2009-01-18 Thread Armand Datema
Hi Can you explain this a bit more DO you want to resort the items after an asp.net postback or do you want to pas the sorting back to asp.net backend code On Sun, Jan 18, 2009 at 1:04 PM, Mostafa Absy wrote: > > Dears, > > what about postback? > > for example, in sorting feature of jQuery, i

[jQuery] Re: Disable dropdown when checkbox checked?

2009-01-18 Thread david
Have no idea. Can you send the code ? On Jan 18, 4:35 pm, Toaster wrote: > Hello david, > > Thank you for your reply. > > I've changed the if statement to .atrr('checked') like you mentioned. > I am having one problem though, when I click the box, it changes its > status  back to default after

[jQuery] Re: How select first link??

2009-01-18 Thread kellyjandr...@sbcglobal.net
Bah - I see they "fixed" it. You should not be able to select only one anchor tag in this instance using $('#menu li a:first') On Jan 18, 9:33 am, "kellyjandr...@sbcglobal.net" wrote: > The question on all of this is usage - and I don't know how clear it > was stated. > > The selectors every

[jQuery] Re: Disable dropdown when checkbox checked?

2009-01-18 Thread Toaster
Hello david, Thank you for your reply. I've changed the if statement to .atrr('checked') like you mentioned. I am having one problem though, when I click the box, it changes its status back to default after executing the js. For example, I have an alert within the if statement.. when I check it

[jQuery] Re: How select first link??

2009-01-18 Thread kellyjandr...@sbcglobal.net
The question on all of this is usage - and I don't know how clear it was stated. The selectors everyone has put up are valid, but not necessarily for the usage. <> So the issue is to remove only the first link. $('#menu li:first a) will only select the anchor inside first list item. Perfect un

[jQuery] Re: Select links that end in .png, .jpg or .gif

2009-01-18 Thread Vincent Robert
If you want to be able to easily change the extension list, I suggest refactoring the whole thing : function getLinkExtensionsSelector(extensions) { return jQuery.map(extensions, function(ext){ return 'a[href$=.'+ext +']'; }).join(','); } var $links = jQuery('.post').find(getLinkExtensionsSe

[jQuery] Re: Disable dropdown when checkbox checked?

2009-01-18 Thread david
I am giving you general pointers to functions: use the bind function to registrar the checkbox for the onchange event in the callback function check if the checkbox is checked through the attr( 'checked' ) function by the way i think the value of disabled is "disabled" Good Luck, David On Jan

[jQuery] way to identify if width of element was defined in percentage

2009-01-18 Thread david
Hi all, Is there a way to know if an element was defined in percentage and not in pixel? Thanks in advance, David

  1   2   >