[jQuery] Re: Help with Column Navigation plugin (list page by selecting a element with particular ID)

2010-01-28 Thread Asharudeen
Hi, Is there any reply/idea for this email please. Awaiting for reply. Thanks. On Fri, Jan 22, 2010 at 12:50 PM, Asharudeen asharud...@gmail.com wrote: Hi, By using CloumnNavigation plugin ( http://plugins.jquery.com/project/column-navigation), Currently to list the tree list, we need

Re: [jQuery] Re: Help with Column Navigation plugin (list page by selecting a element with particular ID)

2010-01-28 Thread Nathan Klatt
On Fri, Jan 22, 2010 at 12:50 PM, Asharudeen asharud...@gmail.com wrote: Assume, if the li element and anchor element have unique IDs. Is there a way list by using their IDs. Or is there way to list the childs of the particular element. I'm not exactly sure what you're asking but, yes, you

Re: [jQuery] Re: Help with Column Navigation plugin (list page by selecting a element with particular ID)

2010-01-28 Thread Asharudeen
Hi, Thanks for your reply. Please go this URL: http://code.google.com/p/jquery-column-navigation/ In this a sample html example will be present. If we use the jquery column navigation plugin, while reload the page by default 'HomePage' and 'Contents' will be listed in the page. If we click on

Re: [jQuery] Re: help combine LightBox jMyCarousel effect?

2010-01-17 Thread Patrick Kennedy
Basically, at the bottom of the .ready(function(), I pass a tweet status id number, so that I can only pull tweets via Ajaxx with a status_id greater than (newer than) the current - $(document).ready(function() { $.ajaxSetup({ error:function(x,e){

[jQuery] Re: help combine LightBox jMyCarousel effect?

2010-01-17 Thread bhupal
@JamaicaMan .. yeah a sort of.. i wonder why all the carousel around net are just limited to 3 images! i have posted this after googling a lot on horizontalcarousels. i want the effect in marquee like fashion that's when i hover the carousel it should stop and when i mouse out it should

[jQuery] Re: help combine LightBox jMyCarousel effect?

2010-01-16 Thread JamaicaMan
Is this what you are trying to do? http://www.rouse.ws/jCarouselDemo.php If so send a link to the web page that does not work and let me take a look at it. J M On Jan 16, 1:37 pm, bhupal fren4...@gmail.com wrote: I want the combine effect of these two plugins..

[jQuery] Re: Help needed to find image dimensions

2010-01-13 Thread banacan
John and Michael, Thanks to you both. I haven't checked the board in a while and I was pleased to see your replies. I'll give it a shot. On Jan 5, 9:03 am, devilmike devilm...@gmail.com wrote: I believe John is correct on both counts. You can't get the image dimensions before loading the

[jQuery] Re: Help with change event

2010-01-07 Thread NotionCommotion
Sweet! Thanks for the help!

[jQuery] Re: help fix syntax

2010-01-07 Thread MorningZ
When you make an AJAX call, what this references changes $('a.del').click(function() { var $parent = this.parent(); //i assume you want the parent of the a $.post('/img/del.php') , {'img': img }, function(){ if (e.status == 'deleted') {

[jQuery] Re: Help with dynamicaly created table

2010-01-07 Thread Jahvi
Thank you very much, worked as intended :) On 2 ene, 15:18, aquaone aqua...@gmail.com wrote: You need to trigger the update event for the table for tablesorter to rebuild the cache. At the bottom of your .delete_button click function, add $(#shop_list).update(); and it should fix your

[jQuery] Re: help fix syntax

2010-01-07 Thread runrunforest
Im trying to remove parent of a at the click event, and the function remove needs to be within the if statement.

[jQuery] Re: help fix syntax

2010-01-07 Thread runrunforest
Thanks for help, with your suggestion, I made it work.

[jQuery] Re: Help with change event

2010-01-06 Thread NotionCommotion
Thanks John, The last .change() fires the event. Looking through the other documentation, it appears that the other event methods do not need a similar trailing method to fire the event, only change. I've even did a test where I didn't include the last change(), and it appeared to work. Could

[jQuery] Re: Help with change event

2010-01-06 Thread Šime Vidas
Hehe :) Look, event methods work like this you pass in a function, and that function will be executed then the event occurs... $(select).change(function() { // code that gets executed when change event the occurs on any SELECT element }); But, if you leave out the argument, then the

[jQuery] Re: Help needed to find image dimensions

2010-01-05 Thread devilmike
I believe John is correct on both counts. You can't get the image dimensions before loading the image and the css method will work unless you have to support versions of IE lower than 7. In any case this script should work. To prevent seeing the full size image before it resizes, hide the

[jQuery] Re: Help needed with textarea.

2010-01-02 Thread MorningZ
The issue seems to be that you are thinking that the second for loop will run after the keypress event is called... *it's not*.. it will only be called on document.ready... I was going to use jsbin.com to work up an example for you, but i have absolutely no idea what the first for loop's purpose

[jQuery] Re: Help on Independent DIV's that toggle!!

2010-01-01 Thread Scott Sauyet
On Dec 31 2009, 5:10 pm, Šime Vidas sime.vi...@gmail.com wrote: Scott, you used A elements as JS triggers which is not proper... the A element is for linking to other web-resources. If you need an element for onclick JS execution, just use a button or a SPAN element Well, I was modifying

[jQuery] Re: Help on Independent DIV's that toggle!!

2010-01-01 Thread Šime Vidas
The A element is to be used to link to an web-resource, an you are not doing that. # (as in href=#) is not a URI for a web-resource, I'm not even sure that it is a valid URI at all. So to be clear, you are misusing the A element. OK, now, you have to set the href attribute to # and make the click

Re: [jQuery] Re: Help on Independent DIV's that toggle!!

2010-01-01 Thread Karl Swedberg
Šime, Sorry, but I agree with Scott for the most part. On Jan 1, 2010, at 10:55 AM, Šime Vidas wrote: So, you are: 1. going against the standard (misusing the A) Easily solved by adding a hash identifier: pa id=slick-toggle href=#content1More Details/a/p div id=content1

[jQuery] Re: Help on Independent DIV's that toggle!!

2010-01-01 Thread Šime Vidas
# actually is valid (sorry about that)... So. let' sum up... We want keyboard accessibility, so we have to use either a A, or a BUTTON / INPUT type=button... If we choose the A element, we have to set the href attribute (I'd rather set it to '#, than to deal with fragment identifiers... we

[jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-31 Thread Scott Sauyet
On Dec 30, 8:00 pm, Erik R. Peterson eriks...@mac.com wrote: Wow...  I'm just now getting back to this and I am totally messed up.   I never thought it would be such a challenge. It's not that this is a challenge. There are many different directions you could go from here. You didn't supply

[jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-31 Thread Šime Vidas
Scott, you used A elements as JS triggers which is not proper... the A element is for linking to other web-resources. If you need an element for onclick JS execution, just use a button or a SPAN element The one time where you do bind click event handlers to A elements, is to prevent the

Re: [jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-30 Thread brian
On Tue, Dec 29, 2009 at 11:11 PM, Erik eriks...@mac.com wrote: Brian, It looks like you just added  $(this).next That, and used class names in the selector, rather than a unique ID, so that it operates on a set of elements. Using next() assumes that each link comes just before the div that it

Re: [jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-30 Thread Erik R. Peterson
Wow... I'm just now getting back to this and I am totally messed up. I never thought it would be such a challenge. I thank you. Erik On Dec 30, 2009, at 12:40 PM, brian wrote: On Tue, Dec 29, 2009 at 11:11 PM, Erik eriks...@mac.com wrote: Brian, It looks like you just added

[jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-29 Thread Šime Vidas
Here is my solution: The HTML structure of each DIV: div class=article p Basic content /p p class=details Additional content /p /div The JS code: // the clickable more details SPAN element (as a string) var $showMore = span class='showMore'More Details/span;

[jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-29 Thread Erik
Brian, It looks like you just added $(this).next

[jQuery] Re: Help with Datepicker

2009-12-21 Thread polarwarp
Thanks so much guys! I was missing this showOn setting - and once I put that in I discovered my path was slightly wrong :) On Dec 4, 1:02 am, MorningZ morni...@gmail.com wrote: Use Fiddler (for IE) or Firebug (for FF) and watch the Net tab to see why the browser doesn't see the image..

[jQuery] Re: Help... anyone!

2009-12-09 Thread Mike
Thanks. Well, I figured out my issue has nothing to do with jQuery. I removed all custom scripts and other jquery stuff and still was able to reproduce. My issue was with Cufon alone. Its not the best idea (I learned) to use Cufon to replace copy text. I was using it to replace ALL text...

[jQuery] Re: Help... anyone!

2009-12-08 Thread Mike
Thanks for the response. I was unable to find where to set firefox to clear cache automatically. I went to about:config ... found some cache settings, but not clear settings. I can duplicate the issue. If you click on home then About then back to home and do it rather quickly numerous times.

Re: [jQuery] Re: Help... anyone!

2009-12-08 Thread brian
On Tue, Dec 8, 2009 at 1:48 PM, Mike mike.croteau1...@gmail.com wrote: Thanks for the response.  I was unable to find where to set firefox to clear cache automatically.   I went to about:config ... found some cache settings, but not clear settings. Edit Preferences Advanced Network Clear

[jQuery] Re: Help with Datepicker

2009-12-04 Thread Keith
You also need to tell it to use a button to trigger the popup using the showOn setting. Set it to 'button' to only popup on the button click and not on focus, or 'both' to show on either. ('#MembershipWizard1_Wizard1_ctl05_ClubConfirmation1_txtStartDate').datepicker ({ dateFormat:

[jQuery] Re: Help with Datepicker

2009-12-03 Thread MorningZ
Use Fiddler (for IE) or Firebug (for FF) and watch the Net tab to see why the browser doesn't see the image.. this, depsite your attempts otherwise, more than likely is a pathing issue, especially keeping in mind that .NET rebases all the CSS includes and theming On Dec 2, 10:29 pm,

[jQuery] Re: Help newbie with Superfish menu CSS

2009-11-17 Thread gfranklin
Fraggy, Change the following lines in your superfish.css file: === .sf-menu li { background: #BDD2FF; background: #003300; /*JM*/ } .sf-menu li li { background: #AABDE6; background: red;/*JM*/ } [...] .sf-menu

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread jeremybass_offset
:D Is there anyone in here that has any idea... I have no idea on the level of user in here... may-be this is to hard of a question for this group? I know it's not a straight forward on but there has to be a way to fix it Any help here would be good... thank you Cheers Jeremy On Nov 2, 2:22 

Re: [jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread Leonardo K
Actually your code is working in IE for me. The problem is that your code is generating empty LI's. If you click to scroll images to the right i can see all the images in IE. There a empty space between the images because the empty LI's. On Tue, Nov 3, 2009 at 13:26, jeremybass_offset

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread jeremyBass
That is the issue I'm taking about :) ... the cause is due to jcarousel and which is why I bought I did try the carousel.add(i, mycarousel_getItemHTML (mycarousel_itemList[i-1])); based in the example (jcarousel)... http://sorgalla.com/projects/jcarousel/examples/dynamic_javascript.html To the

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread jeremybass_offset
got it.. cheack it out :D http://www.visitnorthcentralidaho.org/index.php just added var sid=sid.replace(img,); $(#IMGNavINNER [jcarouselindex=+sid+]).remove(); and that took care of it... it was the as simple as removing those darn li's... you

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-02 Thread jeremybass_offset
Is there no one that would have any idea?... I'm sure that it's something simple... to produce the error on this site http://www.visitnorthcentralidaho.org/ the cycle + jcarousel for imgs on the left side... you just need to hover over the img to see the thumbs when in IE once all is loaded, you

[jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-02 Thread jeremyBass
Hate to bump this again but I'm stumped... I've tried the every combo of http://sorgalla.com/projects/jcarousel/#Configuration http://www.malsup.com/jquery/cycle/options.html and this was the best I got... I did try the carousel.add(i, mycarousel_getItemHTML (mycarousel_itemList[i-1])); based

[jQuery] Re: HELP!!! css content filters

2009-10-17 Thread huntspointer2009
Thanks (Bi Jing), You offered the best solution, I tried using all of the code that was offered, but the following code was the only one that it made it work: $(li:even:odd, li:odd:odd).addClass(test_css); I also like the fact that it's a minimal amount code, written in one line. Thanks to

[jQuery] Re: HELP!!! css content filters

2009-10-16 Thread Evgeny Bobovik
try to use this function script function test(){ var ind = 0; $('ul').find('li').each(function(){ if (ind == 2){ $(this).css('test_css'); ind = 0; }else{ ind++; } }); } /script Gk___ Sent from Minsk, Belarus 2009/10/16 huntspointer2009

[jQuery] Re: HELP!!! css content filters

2009-10-16 Thread Liam Byrne
You have an unnecessary n in your code. var test_css = {'background':'#000'}; $(ul li:nth-child(3n)).css(test_css); should be $(ul li:nth-child(3)).css(test_css); Liam huntspointer2009 wrote: - Can someone please help me solve the following issue? - How can I select and apply a

[jQuery] Re: HELP!!! css content filters

2009-10-16 Thread Bi Jing
Please try this $(ul li).each(function(i){this.addClass(['','','test_css','test_css'][i%4])}) OR..you can try to use another one: $(li:even:odd, li:odd:odd).addClass(test_css); On Fri, Oct 16, 2009 at 3:07 PM, Evgeny Bobovik bobo...@gmail.com wrote: try to use this function script

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
the cycle plugin cycles the direct children of the div it's initialized on. If your goal is to cycle the 2nd div as well, you will need to use some wrapping divs. http://malsup.com/jquery/cycle/int2.html The examples at the bottom of that page show how you can cycle through divs. On Sep 30,

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Hello amuhlou! I don't want to cylce the second div. I want this div to appear bellow the fist div. Now, the first div hides the second. When the images in the first div fade I can see the image of the second div. On 30 set, 11:12, amuhlou amysch...@gmail.com wrote: the cycle plugin cycles the

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
Im not sure I understand what you mean when you say the first div hides the second. Could you post an example page? On Sep 30, 2:31 pm, Ricardo ricardo.soaresdel...@gmail.com wrote: Hello amuhlou! I don't want to cylce the second div. I want this div to appear bellow the fist div. Now, the

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Here is a link: http://www.softcore.com.br/loxxi/servicos.php?idCategoria=11 You'll see the images on the right side of the page. On 30 set, 11:36, amuhlou amysch...@gmail.com wrote: Im not sure I understand what you mean when you say the first div hides the second.  Could you post an example

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
what should the images below the cycle div be doing? On Sep 30, 4:52 pm, Ricardo ricardo.soaresdel...@gmail.com wrote: Here is a link:http://www.softcore.com.br/loxxi/servicos.php?idCategoria=11 You'll see the images on the right side of the page. On 30 set, 11:36, amuhlou

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I see now that it's only happening in IE6. Have you tried assigning a width to the td that encloses the whole right column? On Sep 30, 5:11 pm, amuhlou amysch...@gmail.com wrote: what should the images below the cycle div be doing? On Sep 30, 4:52 pm, Ricardo ricardo.soaresdel...@gmail.com

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Nothing! :) Just stay there, they are just replacement images. On 30 set, 14:11, amuhlou amysch...@gmail.com wrote: what should the images below the cycle div be doing? On Sep 30, 4:52 pm, Ricardo ricardo.soaresdel...@gmail.com wrote: Here is a

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I'm inspecting the div with the IE developer toolbar and it looks like the dinamica div's height isn't being recognized. When the plugin initializes, it puts in a bunch of inline styles, so I'm thinking the height and width you have set may be getting overwritten.Add the dinamica div's height and

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Thanks you very much amuhlou! I've changed the width and height and put them in the css poperty. On 30 set, 14:33, amuhlou amysch...@gmail.com wrote: I'm inspecting the div with the IE developer toolbar and it looks like the dinamica div's height isn't being recognized. When the plugin

[jQuery] Re: Help using

2009-09-30 Thread roberto
Why not to use setTimeout? This way you call once each function, and forget about clear the interval and waste memory. function1(){ // do something... // 30 miliseconds = 5 min - then i call function2 window.setTimeout(function2, 30); } function2(){ // do something // 60

[jQuery] Re: Help using

2009-09-30 Thread James
Does this have to take into account of people navigating through different pages on the website? Or just on a single page? On Sep 30, 8:49 am, Jsudesign jsudes...@gmail.com wrote: Hello I'm in need of some help in getting my custom ad set up working. Any help would be greatly appreciated.

[jQuery] Re: Help using

2009-09-30 Thread Jsudesign
Just a single page, It's for a display. On Sep 30, 1:37 pm, James james.gp@gmail.com wrote: Does this have to take into account of people navigating through different pages on the website? Or just on a single page? On Sep 30, 8:49 am, Jsudesign jsudes...@gmail.com wrote: Hello I'm in

[jQuery] Re: help read code

2009-09-29 Thread Nalum
.mouseup(); takes a function as it's argument. So the user is creating a function while passing it through to .mouseup(); It could also have been done like this. $(document).mouseup(mouseUpFunction); function mouseUpFunction(e) // e is the event { if($(e.target).parent(a.signin).length==0)

[jQuery] Re: help with event binding on an ajax calendar

2009-09-29 Thread MJ
I'm the callback function of the ajax request to add the event handlers again using namespaces seems to have cleared up the other issue thanks anyway On Sep 25, 3:05 pm, mjatharvest m...@harvestmedia.com wrote: I'm having trouble binding the same event to two different links in the html

[jQuery] Re: help to simplify code

2009-09-21 Thread benoit v.
Just read that topic. Very nice effect, and nice helpful code improvements! You guys are great. On Sep 21, 2:18 am, Karl Swedberg k...@englishrules.com wrote: Sure. // find all a elements within $navigation (which is a variable for $ ('#navigation') $navigation.find('a') // bind two

[jQuery] Re: help to simplify code

2009-09-20 Thread ryan.j
i wasn't being snarky mate, just that you phrased your question like a homework assignment! besides, i thought i /was/ answering your question tbh :S On Sep 20, 3:14 am, alienfactory alienfacto...@gmail.com wrote: wow really! not sure what to say about that. Here is a development link to the

[jQuery] Re: help to simplify code

2009-09-20 Thread ryan.j
for fear of offending you further, i apologise in advance for posting code. personally i'd be tempted to call 'test1(this)' on the mouseover and mouseout events and have it do something like... function test1(t) { var c = $(t).css('background-color') var o = '1'

[jQuery] Re: help to simplify code

2009-09-20 Thread alienfactory
i was asking about javascript/jquery not html 101 but that is cool though and yes that was snarky. LOL No worries at least you are trying to help thanks I dont see where you are fading the addtional div see link above for sample you focused on the navigavtion but i have 4 divs when mousing over

[jQuery] Re: help to simplify code

2009-09-20 Thread ryan.j
http://docs.jquery.com/Traversing/siblings On Sep 20, 3:51 pm, alienfactory alienfacto...@gmail.com wrote: i was asking about javascript/jquery not html 101 but that is cool though and yes that was snarky. LOL No worries at least you are trying to help thanks I dont see where you are

[jQuery] Re: help to simplify code

2009-09-20 Thread Karl Swedberg
Here is another way you could do it: var bgColors = { services: '#8ac2b7', vision: '#9e97ca', approach: '#e5b120', team: '#cf1858' }; var $navigation = $('#navigation'); $('#bodycopy').children() .bind('mouseenter', function() { $(this).siblings().stop().fadeTo('slow', .2);

[jQuery] Re: help to simplify code

2009-09-20 Thread alienfactory
Thanks Karl That was more then i expected. However the $navigation.find('a') section is a little over my head could add a few comments to that one to help me understand it Terry On Sep 20, 8:49 am, Karl Swedberg k...@englishrules.com wrote: Here is another way you could do it: var

[jQuery] Re: help to simplify code

2009-09-20 Thread Karl Swedberg
Sure. // find all a elements within $navigation (which is a variable for $ ('#navigation') $navigation.find('a') // bind two events to those links: mouseenter and mouseleave. pass the event object as an argument to the anonymous function .bind('mouseenter mouseleave', function(event) {

[jQuery] Re: help to simplify code

2009-09-19 Thread ryan.j
this looks a bit like a homework assignment to be honest ;) for ease of maintenance and to avoid repeating code i'd stick the two anonymous functions into a single own 'proper' function and pass the variables to it. you're also getting the target elements on every single mouseover and mouseout

[jQuery] Re: help to simplify code

2009-09-19 Thread ryan.j
by the way, does that code work? On Sep 19, 10:57 pm, ryan.j ryan.joyce...@googlemail.com wrote: this looks a bit like a homework assignment to be honest  ;) for ease of maintenance and to avoid repeating code i'd stick the two anonymous functions into a single own 'proper' function and pass

[jQuery] Re: help to simplify code

2009-09-19 Thread alienfactory
wow really! not sure what to say about that. Here is a development link to the actual project http://alienfactory.com/vision1/ if any one would like to help out on the javascript jquery question above Thanks in advance for any help

[jQuery] Re: Help with getting variable

2009-09-15 Thread bjorsq
Hi Dave, Use a regular expression to split your form element names like this: var regex = /^(\w+)\[(\w+)\]\[(\w+)\]$/i; var str = data[User][username]; var matches = regex.exec(str); // matches[2] now contains user Dave Maharaj :: WidePixels.com wrote: Hoping for some simple help

[jQuery] Re: Help with error script

2009-09-15 Thread Mr Speaker
I think the problem is that you only ever remove a node when there is no errors. Why don't you just remove ALL error messages each call - so you'll only ever be showing the most recent error: function(error){ $('.error-message').remove(); //remove ALL previous error messages

[jQuery] Re: help with indexing items with random variable to appear in correct order

2009-09-14 Thread roryreiff
I would also be interested in comments/suggestions about how this code or even approach could be simplified/improved. It seems pretty lightweight and simple to me, but I have very little idea about it's performance and am curious if I am doing something that is unnecessary or just plain

[jQuery] Re: help with indexing items with random variable to appear in correct order

2009-09-14 Thread roryreiff
Was trying some other options and basically figured out the indexing/ setting the id issue: .attr('id', 'pane-' + ((LENGTH - startingPane) + i) % LENGTH ). I am still curious about this codes performance though and any suggestions as to how it could be made better. Thanks, On Sep 14, 10:43 am,

[jQuery] Re: Help with Add/Removing Classes

2009-09-09 Thread Mr Speaker
What's the problem? That code looks perfect... have you looked in Firebug to see where it's adding/removing the class names? On (unrelated) issue the code might have is the selector you use is '#nav li a' which will select all of those second level nav elements too: red/green/black - if that's

[jQuery] Re: Help getting elements name.

2009-09-02 Thread MorningZ
because the other programmer used different names to call them singularly because of some issue with IE 6 7 technically he *created* an issue with IE since the radio buttons are not grouped so that the user can only select one in the bunch of them (if that's what you want, but you don't make

[jQuery] Re: Help getting elements name.

2009-09-02 Thread gilberto.ramosoton
Great, thanks. On Sep 2, 4:20 pm, MorningZ morni...@gmail.com wrote: because the other programmer used different names to call them singularly because of some issue with IE 6 7 technically he *created* an issue with IE since the radio buttons are not grouped so that the user can only

[jQuery] Re: Help getting elements name.

2009-09-02 Thread Charlie Griefer
$('input:radio').click(function() { alert(this.name); }); But... as radio buttons, wouldn't they all have the same name? In any event, 'this' (or the jQuery $(this)) will give you a hook into the element that triggered the click. On Wed, Sep 2, 2009 at 12:44 PM, gilberto.ramoso...@gmail.com

[jQuery] Re: Help getting elements name.

2009-09-02 Thread gilberto.ramosoton
My radio buttons dont have the same name because the other programmer used different names to call them singularly because of some issue with IE 6 7. Ok What would like to have is the radio button's name, the one that got clicked, how could i return something to use with GetElementByName,

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-28 Thread Leonard Martin
Depending on your version of PHP, the module may come installed as standard so you'll just need to uncomment the line from your php.ini and restart (http://uk2.php.net/manual/en/json.installation.php). Although I'd make sure that wherever you're hosting the app in the end will have the module

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread MorningZ
I would suggest using Firefox and FireBug to watch what comes back from your $.getJSON call... because that will indicate that your JSON is indeed valid, because if it isn't, you'll never make it into the success event On Aug 27, 11:01 am, sso strongsilent...@gmail.com wrote: I need to return

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread Leonard Martin
Have you also tried accessing your PHP page directly and copying it's output into http://www.jsonlint.com? I'd also double check your server has the JSON module for PHP installed, just to be sure ;-) On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote: I would suggest using Firefox and

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread Leonard Martin
Have you also tried accessing your PHP page directly and copying it's output into http://www.jsonlint.com? I'd also double check your server has the JSON module for PHP installed, just to be sure ;-) On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote: I would suggest using Firefox and

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread sso
its not installed, the functions break the script and I'm now aware that this isn't obvious when its done in an ajax call :) thanks! On Aug 27, 12:22 pm, Leonard Martin leonard.mar...@gmail.com wrote: Have you also tried accessing your PHP page directly and copying it's output

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread sso
On Aug 27, 11:45 am, MorningZ morni...@gmail.com wrote: I would suggest using Firefox and FireBug to watch what comes back from your $.getJSON call... because that will indicate that your JSON is indeed valid, because if it isn't, you'll never make it into the success event On Aug 27,

[jQuery] Re: Help getting started with JSON (and PHP)

2009-08-27 Thread sso
It doesn't show up in php_info(); On Aug 27, 12:22 pm, Leonard Martin leonard.mar...@gmail.com wrote: Have you also tried accessing your PHP page directly and copying it's output intohttp://www.jsonlint.com? I'd also double check your server has the JSON module for PHP installed, just to be

[jQuery] Re: Help with using the 'not' selector

2009-08-24 Thread MiKiTiE
Thanks for your help but this is still not working. All that happens is as soon as I click the word to make the div appear, it fades out again. I'm probably being totally thick here and missing something really simple but I just cannot figure it out. All I need is for the div to appear when

[jQuery] Re: Help with show hide function

2009-08-23 Thread Charlie
You can streamline your methods a lot by thinking about classes first before thinking about ID's. SOme simple addition of classes to this code will allow consolidating everything into one fairly simple function your code: $('#home').click(function() { $('#whoa').removeClass('selected');//

[jQuery] Re: Help Add variable to jquery file tree

2009-08-22 Thread 262Rui
This is how i get so far but it still does not work $(document).ready( function() { var contribuinte = $(#cbfv_55).text(); $('#fileTreeDemo_3').fileTree({ root: '/' + contribuinte + '/' , script: 'jqueryFileTree.php' }, function(file) { openLink(file); });

[jQuery] Re: Help with show hide function

2009-08-22 Thread 262Rui
If your divs are named #workdiv , #whatdiv, etc I would try something like: $('#work').click(function() { $('#workTab').toggle(400); return false; $(div[id!=workdiv]).hide(); $('#workdiv').show(); }); Good luck

[jQuery] Re: Help with show hide function

2009-08-22 Thread Jacques Choquette - WhistlerGraphicDesign.com
This is what I ending up going with I seriously doubt this is the most efficient / proper way to do this this but it's working anyways script type=text/javascript $(document).ready(function() { // hides the all tabs as soon as the DOM is ready // (a little sooner than page load)

[jQuery] Re: Help with Test Case for jQuery XSLT Plugin

2009-08-19 Thread LindsayT
I also ran it in Firefox 3.5 on Fedora 10 and it worked properly. So what's up with Firefox 3.0.1 for Mac? On Aug 19, 11:38 am, LindsayT lindsayta...@gmail.com wrote: I'm using a jQuery XSLT plugin to load static content from an XML file for my portfolio (http://www.oogeeyot.com)  It seems

[jQuery] Re: Help with using the 'not' selector

2009-08-17 Thread MiKiTiE
Thanks for your reply. This is pretty much what I want - except I need my div to appear when a particular link is clicked, but since I've put the fire in the body, it's basically doing the fadeOut on every click (which stands to reason since everything is the body!) So really what I need is

[jQuery] Re: Help with using the 'not' selector

2009-08-17 Thread Ricardo
return false; in your a's click handler should avoid that, as it prevents the event from bubbling to the body. You can also check visibility: $().click(function(){ var opt = $(#'fm_options'); if( this != opt[0] opt.is(':visible') ) opt.fadeOut('fast'); }); On Aug 17, 6:27 am,

[jQuery] Re: Help with using the 'not' selector

2009-08-14 Thread Wolf
hi you have ask if the id is different, then dissappear the div o element $(body).click(function(){ IF($(this).attr('id') !=FM_OPTIONS) { $(#FM_OPTIONS).fadeOut('fast'); } });

[jQuery] Re: help needed retrieving json data with jquery

2009-08-07 Thread Dhruva Sagar
It should be json[i].title as per your json. Thanks Regards, Dhruva Sagar. On Fri, 2009-08-07 at 09:38 -0700, efet wrote: There is not a single clear example that explains how to pull json data as simple as possible. I

[jQuery] Re: help needed retrieving json data with jquery

2009-08-07 Thread efet
That did not fix. On Aug 7, 12:44 pm, Dhruva Sagar dhruva.sa...@gmail.com wrote: It should be json[i].title as per your json. Thanks Regards, Dhruva Sagar. On Fri, 2009-08-07 at 09:38 -0700, efet wrote: There is

[jQuery] Re: help needed retrieving json data with jquery

2009-08-07 Thread efet
That did not fix. On Aug 7, 12:44 pm, Dhruva Sagar dhruva.sa...@gmail.com wrote: It should be json[i].title as per your json. Thanks Regards, Dhruva Sagar. On Fri, 2009-08-07 at 09:38 -0700, efet wrote: There is

[jQuery] Re: help with an animation effect

2009-07-25 Thread leofromrio
Hi, Robert. I've tackled this issue recently and I can post something that worked out reasonably well for me. I used it for a login box that slides down once the user clicks on the tab. You should be able to restructure it to fit your site. Please keep in mind I'm not a developer and the code is

[jQuery] Re: help with an animation effect

2009-07-25 Thread leofromrio
Sorry, my last post was incomplete. I've changed the code to keep it cleaner and more relevant to your question. You will need to restructure the CSS to fit your page. HTML div id=container div id=slider CONTENT HERE /div!-- end slider -- div id=sliderSwitch span

[jQuery] Re: help with an animation effect

2009-07-25 Thread leofromrio
Sorry, my last post was incomplete. I've changed the code to keep it cleaner and more relevant to your question. Please, keep in mind I'm not a developer and the code is probably not up to snuff. :P HTML div id=container div id=slider CONTENT HERE /div!-- end slider -- div

[jQuery] Re: HELP: how to browser cache json request?

2009-07-23 Thread wgordonw1
Hi James, I understand that if they return a 304 headers then that means they are using the cached version... that is what 304 Not Modified means. The problem is that there isn't a 304 Not Modified header when a user visits the page. That only happens after the json is loaded. It is page

  1   2   3   4   5   6   7   >