[jQuery] Safari and .remove()

2009-02-13 Thread Olaf Gleba
Hi. On a click event i DOM insert (append) a LINK tag into the head. var s = document.createElement('link'); s.href='/gtpls/'+target+'.css'; s.rel = 'stylesheet'; s.type = 'text/css'; s.media = 'screen'; $('head').append(s); There is a link to the former created DOM Element to set all to

[jQuery] ie7 - Depth of elements wrong (sperinposed)

2009-02-13 Thread david.0pl...@gmail.com
I want to use these two plugins: Superfish: http://users.tpg.com.au/j_birch/plugins/superfish/ LiScroll: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html The site WAS ready until I tried it with ie7, with it the news that scroll gets rendered

[jQuery] Re: jquery / ajax

2009-02-13 Thread weidc
thank you both for your answer. i still don't get any activity in firebug but i guess my php stuff is just wrong. On 12 Feb., 19:46, James james.gp@gmail.com wrote: The data part of ajax should be some pair, for example: data: {myVar:value} myVar will then become your POST variable with

[jQuery] Re: Lightbox/ThickBox Accessibility

2009-02-13 Thread WC
Well basically, we have duty to ensure our site is accessible to all, as does everyone, and when you load a lightbox/thickbox with content we have the issue that you cursor position doesn't change to the lightbox/thickbox, so those using assistive technology such as a screen reader will just

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-13 Thread Rick Faircloth
Thanks for the tip, Ricardo! Do you, by any chance, know the HTML involved in using Brandon's plugin? I couldn't find any usage examples to see how the syntax should be handled. Or the JS to be written in the page? All I could get from the github site was the plugin code. Rick

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-13 Thread Charlie Griefer
see my reply 2 messages ago On Fri, Feb 13, 2009 at 1:34 AM, Rick Faircloth r...@whitestonemedia.comwrote: Thanks for the tip, Ricardo! Do you, by any chance, know the HTML involved in using Brandon's plugin? I couldn't find any usage examples to see how the syntax should be handled. Or

[jQuery] Re: Feature Detection Best Practice?

2009-02-13 Thread RobG
On Feb 13, 5:34 pm, Klaus Hartl klaus.ha...@googlemail.com wrote: That will not avoid IE's ClearType issue, since IE is supporting opacity and you still end up in the else branch. I think it's one of he rare cases where you need to do browser sniffing. I don't think there's a way to find

[jQuery] Re: How to make a secured login form

2009-02-13 Thread phicarre
It is a little bit different because with ajax we come back to the first module: data introduction - send to server - check - return to first module - goto welcome Without ajax/jquery: data introduction - send to server - check - goto welcome On 12 fév, 20:09, James james.gp@gmail.com wrote:

[jQuery] Re: Jquery Validaiton plugin

2009-02-13 Thread Hellofrom
Thanks James I am new to this How can i check if debug option is true or not? yes the form submited without validaiton set On Thu, Feb 12, 2009 at 11:51 PM, James james.gp@gmail.com wrote: - Is the debug option set to true? - Does the form submit without validation set? On Feb 12, 8:05

[jQuery] Re: ie7 - Depth of elements wrong (sperinposed)

2009-02-13 Thread Joel Birch
Hello, This is a common IE z-index bug. Here is a page which details it and provides the solution. http://webdemar.com/webdesign/superfish-jquery-menu-ie-z-index-bug/ For everyone else's information, you can always find the link to that page from the Superfish FAQ page. Hope this helps. Joel

[jQuery] Re: New to JQuery, silly question.

2009-02-13 Thread Alexandru Dinulescu
Oh snap! Thanks ... --- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist Expert Guarantee Certified Developer XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053 CSS : http://www.expertrating.com/transcript.asp?transcriptid=1870619 RentACoder Profile:

[jQuery] help writing first plugin

2009-02-13 Thread Liam Potter
Hi Guys, http://jsbin.com/ebidu/edit#javascript I'm writing a plugin to help make styling forms and doing certain common tricks with them. I'm running into trouble when I try and put parts into functions. you can see at jsbin I have a function called labelInside, but I can't use

[jQuery] Re: Safari and .remove()

2009-02-13 Thread Karl Rudd
If the removal really doesn't work you could try disabling the link. $(linkHere).attr('disable',true). Karl Rudd On Fri, Feb 13, 2009 at 7:22 PM, Olaf Gleba l...@creatics.de wrote: Hi. On a click event i DOM insert (append) a LINK tag into the head. var s = document.createElement('link');

[jQuery] Re: How to make a secured login form

2009-02-13 Thread Rene Veerman
I have secured the login form for my CMS with a challenge-response thing that encrypts both username and password with the (login-attempts-counted) challenge (and; here's my problem: a system hash) sent by the server (it would end up in your html as a hidden inputs, or as part of a json

[jQuery] Re: How to make a secured login form

2009-02-13 Thread Rene Veerman
Rene Veerman wrote: //$pwh = md5 ($users-rec[user_password_hash] . $challenge); Ehm, best to use Either sha256 OR md5 for BOTH fields ofcourse ;) It was a hasty paste.

[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] One page site multipage degradation

2009-02-13 Thread Fluffica
Morning all, I'm working on a large single page site at the moment. I've seen these around before quite happily using a href=#page type mark up, leaving jQuery to control loading the content in dynamicly and so on. However, our solution to both graceful degradation and a worry that Google

[jQuery] Re: ie7 - Depth of elements wrong (sperinposed)

2009-02-13 Thread david.0pl...@gmail.com
Look like the problem come from somewhere else: http://www.0plus1.com/google-groups.php I added your fix but it still doesn't work, looks like only the a tag of the newsticker get overimposed! On Feb 13, 12:33 pm, david.0pl...@gmail.com david.0pl...@gmail.com wrote: Thank you, I kinda

[jQuery] Why does $.width return innerWidth but set outerWidth?

2009-02-13 Thread [rob desbois]
Hi all, I was just writing a bit of JS to set the width of some buttons to the width of the largest. While doing this I found that the largest one would shrink! Doing this in a debugger gives: $(#x).width(); // 222 $(#x).width(222); // makes element shrink $(#x).width(); // 216 The number

[jQuery] XML link tag problem

2009-02-13 Thread Thomas
Hi! Here is a part of a given xml file: ?xml version=1.0 encoding=utf-8? rss version=2.0 xml:base=https://pluto.solar.go; xmlns:dc=http:// purl.org/dc/elements/1.1/ channel titleakarmi/title linkhttps://pluto.solar.go/link descriptionwe are small planet but strong/description

[jQuery] Re: Gathering page elements when using .post()....

2009-02-13 Thread Dean C. Reed
The serialize appears to create a string for GET, I need name/value pairs - object1: object1value, object2: object2value etc. For constructing the URL, I can see how to use serialize but it won't work for post, I get the JS error Invalid object initializer. Any ideas for using serialize

[jQuery] PHP+JQUERY ,Three combo's (Populate Country,State,City)

2009-02-13 Thread bharani kumar
Hi Every One, I want to populate the value into combo, That is for example the first combo contains the country and second combo contains states third combo contains the city, So if select the particular country then i want to populate that country contained states , if i select the particular

[jQuery] How to submit for usign validation plugin

2009-02-13 Thread Hellofrom
Hello every one can any body tell me what to do to submit the form $(form).validate({ invalidHandler: function(e, validator) { var errors = validator.numberOfInvalids(); if (errors) { var message = errors == 1 ? 'You missed 1

[jQuery] Re: Upgraded from 1.2.1 to 1.3.1 and jquery.flash has stopped working.

2009-02-13 Thread Dan
Thanks aschmid, The problem was in jquploader rather than jquery.flash there were a few instances of the [@ so after removing the @s it now works fine again

[jQuery] jQuery autocomplete functionality won't work when textbox is in Tab

2009-02-13 Thread kamlesh
Hi, I am trying to use autocomplete.js of jQuery. It works fine if i use input type=text id=example/ in html form, but as i put this input control in a tab then this function is not getting invoked sample code i used is $(document).ready(function(){ var data = Core Selectors Attributes

[jQuery] Superfish and bgiframe issues

2009-02-13 Thread echomrg
Hi, i've been trying to create a dropdown menu using the superfish v1.4.8 script and the bgiframe plugin (tried bot the latest, 2.1.1 version and the one included in the superfish package). Everything works fine with just the superfish script, the menu behaves correctly and all the styles are

[jQuery] jcarousel not rendering in Mozilla Fire Fox v3.0.6

2009-02-13 Thread Tal
Hi guys, In IE7 my jcarousel works perfectly however in Mozilla FF it remains vertical, show the list bullets, does not show the arrows and on top of all, when i try to throw it off by doing something drastic to the CSS files it shows no effect at all. It seems to me like its not rendering the

[jQuery] Re: jcarousel not rendering in Mozilla Fire Fox v3.0.6

2009-02-13 Thread Tal
no worries, i solved it. apparently in Mozilla FF the file order needed to be exactly as it is in the example files i.e. javascript files filrst and then the css file and then the extra javascript that you would put for customization. also i changed the DOCTYPE to transitional fro strict. i

[jQuery] Re: cant get jquery to work

2009-02-13 Thread EugeneS
so you need any sample about how to work with the Jquery ? can you provide more details ? On Feb 12, 9:51 pm, DHall daquan.h...@gmail.com wrote: i cant even get the example tutorialson the jquery website to work when i try to use it can somebody help?

[jQuery] Re: Why does $.width return innerWidth but set outerWidth?

2009-02-13 Thread Brandon Aaron
This isn't the normal behavior. Could you create a test case for this? -- Brandon Aaron On Fri, Feb 13, 2009 at 5:07 AM, [rob desbois] rob.desb...@gmail.comwrote: Hi all, I was just writing a bit of JS to set the width of some buttons to the width of the largest. While doing this I found

[jQuery] Re: How to submit for usign validation plugin

2009-02-13 Thread Jörn Zaefferer
submitHandler: function(form) { form.submit(); } Jörn On Fri, Feb 13, 2009 at 3:21 PM, Hellofrom hellof...@gmail.com wrote: Hello every one can any body tell me what to do to submit the form $(form).validate({ invalidHandler: function(e, validator) { var errors =

[jQuery] Re: One page site multipage degradation

2009-02-13 Thread Peter Edwards
I don't know why IE does this but you shouldn't need to re-write the href attribute anyway - I'm assuming you attach a click event to the buttons to load content, so just return false from the click event handler and the link won't be followed - you can leave the href attribute intact.

[jQuery] Re: Safari and .remove()

2009-02-13 Thread Olaf Gleba
I was wrong. The removal works. But it seems, that clicking on a link which removes the DOM link tag doesn't affect the browser rendering. So the DOM link tag is removed, but i still get a unaltered pageview. This regards to Safari Mac and also IE 7 Win. On FF 2/3 (Mac, Win) all is fine:

[jQuery] Trouble with Validation Firing in ASP.NET

2009-02-13 Thread expresso
Here is my code. I have the reference to the javascript in my Master Page so it's definitely there and I am getting no JavaScript errors when checking it out with Firebug. The problem I have is when I click submit, it's doing a postback, it's not firing the validate method: asp:Content

[jQuery] triggering a link event that has an image tag?

2009-02-13 Thread Adam
I've been trying to setup a lightbox (or similar) plugin to work with my images, but am having problems due to the a tag trigger not firing. It appears that this is because jquery is triggering the img event instead of the a event. For example: The first one is called when I click the

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-13 Thread Rick Faircloth
Hi, Charlie. For some strange reason, your reply didn't show up here, as with Ricardo's. Can you resend? Thanks, Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie Griefer Sent: Friday, February 13, 2009 4:36 AM To:

[jQuery] Re: Trouble with Validation Firing in ASP.NET

2009-02-13 Thread Jörn Zaefferer
You can add the debug-option for debugging: $(document).ready(function() { $(#form1).validate({ debug: true }); }); Make sure the all necessary files are loaded (via Firebug). Jörn On Fri, Feb 13, 2009 at 4:17 PM, expresso dschin...@gmail.com wrote: Here is my

[jQuery] simple onclick visit event on div

2009-02-13 Thread introvert
Hello I'd like to put onclick event on simple div and preform action to go to some variable's url. $(document).ready(function() { $(div.somediv).click(function () { //visit / go to some url }); }); How can I do that? Thanks a lot for help!

[jQuery] Re: simple onclick visit event on div

2009-02-13 Thread Liam Potter
$(document).ready(function() { $(div.somediv).click(function () { window.location(variableName); }); }); introvert wrote: Hello I'd like to put onclick event on simple div and preform action to go to some variable's url. $(document).ready(function() {

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-13 Thread Charlie Griefer
http://groups.google.com/group/jquery-en/browse_thread/thread/a491baf8ac007588/8dd6c2498b572e5b#8dd6c2498b572e5b On Fri, Feb 13, 2009 at 7:30 AM, Rick Faircloth r...@whitestonemedia.comwrote: Hi, Charlie… For some strange reason, your reply didn't show up here, as with Ricardo's. Can

[jQuery] Re: Question about Interface elements

2009-02-13 Thread Richard D. Worth
On Fri, Feb 13, 2009 at 4:50 AM, Skari skar...@gmail.com wrote: 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

[jQuery] Re: One page site multipage degradation

2009-02-13 Thread Fluffica
Why that works really rather well, actually solves other issues too, thank you very much. I'm getting into this jQuery stuff.

[jQuery] Re: simple onclick visit event on div

2009-02-13 Thread introvert
I get an error with the following code: $(document).ready(function() { $(div.image_single).click(function () { var url = $(this).find(a).attr('href'); window.location(url); }); }); [Exception... Cannot convert WrappedNative to function nsresult: 0x8057000d (NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN)

[jQuery] Re: simple onclick visit event on div

2009-02-13 Thread Liam Potter
sorry, I gave you the wrong syntax, should of been $(document).ready(function() { $(div.image_single).click(function () { var url = $(this).find(a).attr('href'); window.location = url; }); }); introvert wrote: I get an error with the following

[jQuery] ajax post with tinymce

2009-02-13 Thread david.0pl...@gmail.com
I need to have this: function nuovo_articoloPOST(){ //Se e solo SE il form è stato validato if($(#nuovo_articolo).valid()) { //Assegna alle variabili il nome del campo! var imageName = $(#imageName).attr(value); var titolo =

[jQuery] Re: jquery.form -- file upload problem

2009-02-13 Thread QNC
It takes me too much time but I solved my problem: I started with a blank html page and I added element after element until I rebuilt my entire initial page! Weird is not it ? No difference at all in content! However (thanks to livehttpheaders) the html page was served with text/html as

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread martin
Hey thanks Jörn, I've got it 95% working, hope you can help with the last 5% If you take a look here: http://stuweb.cms.gre.ac.uk/~tm514/multibook/register.php I want to completely hide the red div from showing until the validate function is fired off, ive tried adding display:none to the css

[jQuery] Re: Why does $.width return innerWidth but set outerWidth?

2009-02-13 Thread [rob desbois]
Hi Brandon, Give this a whirl: http://pastebin.com/d20276791 Shows the described behaviour in Firefox 3.0.6 o_0 --rob On Feb 13, 2:34 pm, Brandon Aaron brandon.aa...@gmail.com wrote: This isn't the normal behavior. Could you create a test case for this? -- Brandon Aaron On Fri, Feb 13,

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread Jörn Zaefferer
Add this: errorContainer: $(.js_error_container) That'll show and hide the container accordingly. Jörn On Fri, Feb 13, 2009 at 6:03 PM, martin mar...@lucidprocess.com wrote: Hey thanks Jörn, I've got it 95% working, hope you can help with the last 5% If you take a look here:

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-13 Thread Rick Faircloth
Thanks, Charlie.got this one! Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie Griefer Sent: Friday, February 13, 2009 10:52 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Is there a way to make a textarea that auto expands as

[jQuery] Re: Why does $.width return innerWidth but set outerWidth?

2009-02-13 Thread [rob desbois]
Filed on trac too: http://dev.jquery.com/ticket/4146 --rob On Feb 13, 5:04 pm, [rob desbois] rob.desb...@gmail.com wrote: Hi Brandon, Give this a whirl:http://pastebin.com/d20276791 Shows the described behaviour in Firefox 3.0.6 o_0 --rob On Feb 13, 2:34 pm, Brandon Aaron

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread martin
oh you legend, that works! that's an amazing plugin you've made, many thanks :) thanks again, Martin On Feb 13, 5:07 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Add this: errorContainer: $(.js_error_container) That'll show and hide the container accordingly. Jörn On Fri,

[jQuery] [validate] jQuery validation question: validating multiple email inputs

2009-02-13 Thread roryreiff
Hi there, I am using the Validation plugin to validate a form that emails the current pages URL to the recipients entered in to the email to field. I want to validate that field for multiple emails addressed separated by commas...and ideas on how to do this? I'm a bit new to jQuery so I am a

[jQuery] Re: incomplete data receive with POST method

2009-02-13 Thread rocky
On Feb 13, 2:54 am, James james.gp@gmail.com wrote: Please post to the group instead of emailing directly to me. You'll probably have a better response. Thanks. You're right about that. I didn't realize it was POST. Try using: data: {book:list}, instead and see if it works.

[jQuery] Re: Superfish - Super Subs

2009-02-13 Thread David Meiser
Merrick: Can you provide a link to your CSS? On Thu, Feb 12, 2009 at 3:31 PM, Merrick Christensen merrick.christen...@gmail.com wrote: I am struggling with the width on my Superfish menu. I reduced the min width and it seems that it still is much longer then needed. My primary struggle is

[jQuery] jquery 1.3 and scrollTo plugin

2009-02-13 Thread introvert
Hello I wanted to use jquery scrollTo plugin but it seems like its incompatibile with jquery 1.3 The plugin is available on this address (demos use jquery 1.2.): http://demos.flesler.com/jquery/scrollTo/ Does anyone know of any plugin with similar functionality but with difference that it

[jQuery] Re: Superfish - Super Subs

2009-02-13 Thread Merrick Christensen
http://hfh.redolive.net/ thats a link to the site with the issue. http://hfh.redolive.net/superfish.css thats a link to the css. Thanks for your help David.

[jQuery] Re: How to make a secured login form

2009-02-13 Thread phicarre
The question was How to call welcome.php from my jquery script in a secured manner ? because welcome.php is visible from the client side. On 13 fév, 13:19, Rene Veerman rene7...@gmail.com wrote: Rene Veerman wrote:            //    $pwh = md5 ($users-rec[user_password_hash] . $challenge);

[jQuery] error binding event with anchor tag

2009-02-13 Thread Ashit Vora
Hi, I 'm new to jQuery and 'm facing a some problem binding click event, a function to an anchor tag. I 've an anchor tag with ID add. $('.add').click(function(){ var newElem = li class='ui-state-default'Temp Text Displayeda href='#'

[jQuery] Superfish Vertical

2009-02-13 Thread bellaluna316
The hover flyouts are cut-off in FireFox and IE 8. You can only see part of the link and it cuts off the rest. It works fine in IE 7. View with FF or IE 8: www.royalmbc.org/joomla

[jQuery] Re: error binding event with anchor tag

2009-02-13 Thread James
Yes, it's because they were re-added after you initially binded events. There are two ways around that: 1) re-bind the event to the new widget, or 2) use jQuery 1.3's new live() function: http://docs.jquery.com/Events/live#typefn Bind once, and you're good to go for future elements also. On Feb

[jQuery] Re: How to make a secured login form

2009-02-13 Thread Ashit Vora
Hey, why dont u redirect to Welcome.php page from the page where u r authenticating the user. eg. suppose you make ajax request to auth.php for validation, If validation succeed, redirect to welcome.php (and the ajax request which was waiting for response will die) and if failed, write response

[jQuery] Re: How to make a secured login form

2009-02-13 Thread James
Do you want a refresh on the current page when the login is successful? Upon successful login, it will refresh your current page (welcome.php), then the script (welcome.php) will see that the user is logged in and will display the welcome screen content rather that the login content. Or would

[jQuery] Re: error binding event with anchor tag

2009-02-13 Thread Ashit Vora
Bingo, It worked... I 've been trying to solve this issue for more than 3 hrs. Thanks James :) On Feb 13, 10:41 am, James james.gp@gmail.com wrote: Yes, it's because they were re-added after you initially binded events. There are two ways around that: 1) re-bind the event to the new

[jQuery] Re: jquery 1.3 and scrollTo plugin

2009-02-13 Thread James
I've been using the scrollTO plugin with jQuery 1.3 and it's been working as expected for me so far. Take a try at it and see if it works. On Feb 13, 8:09 am, introvert aljaz.faj...@gmail.com wrote: Hello I wanted to use jquery scrollTo plugin but it seems like its incompatibile with jquery

[jQuery] Re: How to make a secured login form

2009-02-13 Thread phicarre
I tried by doing header(Location:welcome.php) but the page is not displayed ??? The first module is waiting for an answer. This is probably that doesn't run ??? Show me how you did it On 13 fév, 19:45, Ashit Vora a.k.v...@gmail.com wrote: Hey, why dont u redirect to Welcome.php page from

[jQuery] How to make an element *not* have a function attached...

2009-02-13 Thread Rick Faircloth
Strange question, perhaps...but... If I have an element that has an function from a plug-in attached to it, such as: $(function() { $('#myTextarea').expandable(); }); How would I then be able to make #myTextarea not .expandable... $('#myTextarea').expandable('disable'); ... Is this

[jQuery] Re: Jquery Validaiton plugin

2009-02-13 Thread James
$(form).validate({ rules: { name: required }, debug: true is this here?? }); If that's not the case, if you could post some code, that would be very helpful. Maybe there is an error in your code preventing it from submitting. On Feb 13, 12:46 am, Hellofrom

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Frederik Ring
This should be done using $(this).unbind(event,function). I don't know from your example how your handle the event so I cannot give you a more specific answer. On Feb 13, 7:57 pm, Rick Faircloth r...@whitestonemedia.com wrote: Strange question, perhaps...but... If I have an element that has

[jQuery] Re: How to make a secured login form

2009-02-13 Thread James
Okay, here's a simple way to understand it. Suppose in your login.php, if the user login is successful, you have login.php echo '1'. If not, echo something else, like '0'. This response will become stored in the 'msg' variable in your success function in your ajax. success: function(msg) {

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-13 Thread Mark Steudel
Thanks I'll give that a shot! On Feb 12, 11:35 pm, mkmanning michaell...@gmail.com wrote: That should read ..first-child of its parent,.. in the first sentence On Feb 12, 11:33 pm, mkmanning michaell...@gmail.com wrote: Actually, Mark's use of 'first-child' is correct. ':first-child' is

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-13 Thread Mark Steudel
Follow up question, if I instead wanted to use multiple table cells instead of one big colspan, is there a way to do this same sort of thing without a div? On Feb 12, 11:35 pm, mkmanning michaell...@gmail.com wrote: That should read ..first-child of its parent,.. in the first sentence On

[jQuery] Re: Superfish Vertical

2009-02-13 Thread amuhlou
the problem is in your css: #mainBg in your css file has overflow: hidden on it. when you remove that, the menus work as intended. It does, however, make the white background for the div go away. You can get around this by adding background-color: #FFF; to #mainLeft instead. cheers, ~amy On

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Rick Faircloth
To answer your question, hopefully, the element, in this case a textarea, is set up like this: script $(function() { $('#myTextarea').expandable(); }); /script ...and that's it. It would be active as expandable all the time. So, there's no event, like click, etc.,

[jQuery] Selector broken with 1.3.1 vs 1.2.6

2009-02-13 Thread gibble
I was using 1.2.6 with the following line which worked perfectly. row.find(select. + name + option[value=' + value + ']).attr('selected', true); Now with 1.3.1 a javascript error is happening A Runtime Error has occurred. Do you wish to Debug? Line: 4723 Error: Exception thrown and not

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Frederik Ring
Ok, then you could do it like this: script type=text/javascript $(document).ready(function(){ $('#mytextarea').each(function(){ $(this).expandable(); }); $('#myButton').click(function(){ $('#mytextarea').unbind(); }); }); /script Although I might think there is a more elegant way to do

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Josh Nathanson
This should work: $('#myTextarea').unbind(); // unbinds all handlers Then when you want to bind it again: $('#myTextarea').expandable(); -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Friday, February

[jQuery] Problem with BlockUI and IE7

2009-02-13 Thread Carl Von Stetten
I am migrating an application from one server to another. Both servers are Windows 2003, similarly configured. The only major difference is that I use ColdFusion for my CFML engine on my old server, and BlueDragon JX on my new server. Here is the problem: On my new server, when browsing using

[jQuery] Re: Superfish - Super Subs

2009-02-13 Thread David Meiser
For the items too wide issue, you've got this set for all list-items: padding-right: 31px. You could adjust this with a padding-right rule for .sf-menu li li. This would help you skinny up the items. I'm not sure that I can help you with dropping items towards the center of the page. That

[jQuery] Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread Eric P
Hi, I'm fairly new to jQuery (been using a few months now). Binding event handlers to HTML objects via jQuery is awesome, but I find myself struggling to find a solid (I.e., best practice) method for getting numerous arguments to the event handler that are pertinent to the object that

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Rick Faircloth
Nice try, but no prize yet... Given these scripts: $(document).ready(function() { $('#myTextarea').hide(); }); $(document).ready(function() { $('#hide').click(function() { $('#myTextarea').unbind().slideUp(); return false; }); });

[jQuery] how to catch mouse click if it is also an onblur event

2009-02-13 Thread pantagruel
I hope the above is clear. I have an click event that should be happening at the same time that a blur event is happening (by clicking on a link in a menu I am blurring the input field) which event puts the display of the menu to none. It seems that when I do this however despite it is the click

[jQuery] Re: Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread James
I think a good way is to put the data into a separate JSON object and give them a unique ID (eg. item01, item02...), and assign that ID somewhere on the links to be clicked. var productList = { 'item01':{name:123-ABC, color:'red', price:9.99}, 'item02':{name:123-ABC, color:'blue',

[jQuery] Re: how to catch mouse click if it is also an onblur event

2009-02-13 Thread pantagruel
Never mind, obviously should just catch the onmousedown. On Feb 13, 9:47 pm, pantagruel rasmussen.br...@gmail.com wrote: I hope the above is clear. I have an click event that should be happening at the same time that a blur event is happening (by clicking on a link in a menu I am blurring

[jQuery] Re: jQuery contextmenu problems

2009-02-13 Thread micho
Note that the contextmenu as such appears in both IE and Firefox, but the problem is when I try to left click a menu item in the context menu. Then the binding only works in IE but not in Firefox. Anyone?? On 10 Feb, 02:21, micho mich...@gmail.com wrote: I'm using the jQuery contextmenu

[jQuery] Re: Lightbox/ThickBox Accessibility

2009-02-13 Thread tres
Oh, ok. I thought you just meant user-friendly and extensible. Don't know why :\. You mentioned that you were using the .focus() event trigger. This will only work on elements that can receive the focus event, but when used on the correct elements should direct screen readers to the changed

[jQuery] Re: Trouble with Validation Firing in ASP.NET

2009-02-13 Thread Jon
You might need to change the id you're searching for to: $(document).ready(function() { $(#aspnetForm).validate({ debug: true }); }); The ID in your code behind always gets changed to 'aspnetForm'. You can check in firebug to make sure you're using the correct ID

[jQuery] Re: Using jQuery Validation with Dot Net

2009-02-13 Thread Jon
Okay that's great, all working now! On Feb 11, 3:23 pm, Aaron Gundel aaron.gun...@gmail.com wrote: After looking this over, I found that the validator wasn't picking up your submit button, which isn't really a button.  It's the link you use to submit.  the validation plugin won't catch this

[jQuery] change not working

2009-02-13 Thread Mario Soto
Hello. I have a form where i update some fields if there are info on the database (autolad of data). Then I have to verify if some data must been shown if certain conditions happens. When I change the value of a *select* changes, validations are made and I have binded that select for changes.

[jQuery] Validation - Adding Valid class

2009-02-13 Thread Jon
With the validation i have managed to make it add a class called 'Valid' to the label that the validation adds. However i want to make it add a class (same name) to the textbox too. I've managed this by doing: success: function(element) {

[jQuery] Re: change not working

2009-02-13 Thread James
I can't find any issues with what you have. Please post the validation part of your code. On Feb 13, 12:40 pm, Mario Soto canc...@gmail.com wrote: Hello. I have a form where i update some fields if there are info on the database (autolad of data). Then I have to verify if some data must

[jQuery] Re: change not working

2009-02-13 Thread David Andrews
Hi Mario, You can trigger the change event in programatically in jquery after your update code ... // update code here $('#selectId').change(); Dave On 13 Feb 2009, at 22:40, Mario Soto wrote: Hello. I have a form where i update some fields if there are info on the database (autolad

[jQuery] Re: Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread RobG
Eric P wrote: Hi, I'm fairly new to jQuery (been using a few months now). Binding event handlers to HTML objects via jQuery is awesome, but I find myself struggling to find a solid (I.e., best practice) method for getting numerous arguments to the event handler that are pertinent to

[jQuery] Re: how to catch mouse click if it is also an onblur event

2009-02-13 Thread Klaus Hartl
Events do fire sequentially. Recommended read: http://dev.opera.com/articles/view/timing-and-synchronization-in-javascript/ --Klaus On 13 Feb., 21:54, pantagruel rasmussen.br...@gmail.com wrote: Never mind, obviously should just catch the onmousedown. On Feb 13, 9:47 pm, pantagruel

[jQuery] Re: change not working

2009-02-13 Thread Mario Soto
Neither I did find troubles.. :P This is code like I use it. I check the select and then for it's value check what to do. switch($('#selectId').val(){ case 1: // say hello break; case 2: // say good bye break; case 3: case 4: case 5:

[jQuery] Re: Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread donb
And as an aside, I sure hope you aren't depending on the price given in the html to be sent back to the server as the price to charge for an item. You could end up selling a lot of $10 items for a penny apiece when a hacker changes the values before submitting the form. On Feb 13, 6:08 pm, RobG

[jQuery] Re: Validation - Adding Valid class

2009-02-13 Thread RobG
On Feb 14, 8:42 am, Jon cakeordeat...@gmail.com wrote: With the validation i have managed to make it add a class called 'Valid' to the label that the validation adds. However i want to make it add a class (same name) to the textbox too. I've managed this by doing:     success:

[jQuery] Re: change not working

2009-02-13 Thread James
Hmm... how about: $('#selectId').trigger('change'); On Feb 13, 1:09 pm, Mario Soto canc...@gmail.com wrote: Neither I did find troubles.. :P This is code like I use it. I check the select and then for it's value check what to do. switch($('#selectId').val(){     case 1:         // say

[jQuery] Re: Validation - Adding Valid class

2009-02-13 Thread Jon
Thanks Rob but i'm not sure i fully understand. Do i do this within the success function? Or is there somewhere else i can do this like say: invalid: function(element) { $(element).parent(span).children(input, textarea).removeClass (Valid) } That's where i'm confused - where exactly do you

[jQuery] Accessing a JSON property from an unknown variable?

2009-02-13 Thread Nic
For instance, var foo = { bar: barVal, baz: bazVal } var fooProp = bar; How can I access barVal through fooProp? I know this isn't exactly jQuery group discussion but I figured since it was part of a jQuery system I could get away with it. Thanks!

  1   2   >