Re: [jQuery] .hide and .show div's

2009-11-11 Thread Sam Doyle
Look at jquerys find functions Sent from my iPhone On 11 Nov 2009, at 12:36, David pr wrote: Hello, Could you help me please. I have a list of hotel which I .hide and .show div's to show more or less info. so i have when the user press a button I use the code var Hcode = $(this).attr("cu

Re: [jQuery] Iterating over a list

2009-11-08 Thread Sam Doyle
$(this).fadeOu(duration, function() { Typo Sent from my iPhone On 8 Nov 2009, at 07:27, Michel Belleville wrote: $(this).fadeOu(duration, function() {

Re: [jQuery] Re: Why jQuery is not working on my page ?

2009-11-05 Thread Sam Doyle
li#Story would be more efficient Sent from my iPhone On 5 Nov 2009, at 22:24, vmrao wrote: I just got rid of unnecessary '(function($){ ' and it worked. On Nov 5, 5:17 pm, vmrao wrote: Here is my code. I have included jQuery library. (function($){ $(document).ready(function(){

[jQuery] Re: Get file specific parts from input file type

2009-10-22 Thread Sam Doyle
jquery ajax and php On Thu, Oct 22, 2009 at 8:47 PM, Buntu J wrote: > Hi, > I need to get the filename, basename, dirname using jQuery. Can anyone > please let me know if there is any utility that will take care of > windows/mac/linux file paths. > > Thanks >

[jQuery] Facebox Youtube stopVideo

2009-10-19 Thread Sam Doyle
I've got a page that opens a youtube video with facebox. The facebox closes correctly but the video doesn't stop playing. So the sound carries on even if the video isn't visible: This is the code I've tryed: You need Flash player 8+ and JavaScript enabled to view thi

[jQuery] Re: What is the more correct/efficient selector?

2009-10-13 Thread Sam Doyle
$("select").change(function() { alert($(this).attr("value")); }); On Tue, Oct 13, 2009 at 4:00 PM, Mike wrote: > > $("select").change(function() { > >alert($("select option:selected").val()); > > >}); > > > > OR > > $("select").change(function

[jQuery] Re: append()

2009-10-13 Thread Sam Doyle
or $("#id_percent_complete").parent().parent() On Oct 13, 2:04 pm, Simon Morris wrote: > Hello, > > I'm having some problems understanding the append() function. > > What I'd like to do is select an element using it's ID and add a row to > the table with a HTML form element. > > The table is dyn

[jQuery] Re: jQuery slideup/slidedown iphone (3rd click bug)

2009-09-30 Thread Sam Doyle
The site can be viewed at http://d2d.samstestdomain.com On Sep 30, 4:27 pm, Sam Doyle wrote: > I'm currently porting works website for iphone. I've wrote some jquery > for sliding up/down divs: > > $(document).ready(function(){ > >         //Corners >         $(&

[jQuery] jQuery slideup/slidedown iphone (3rd click bug)

2009-09-30 Thread Sam Doyle
I'm currently porting works website for iphone. I've wrote some jquery for sliding up/down divs: $(document).ready(function(){ //Corners $('#insideContainer').corner('20px'); $('p.link a').removeAttr('href'); $('p.link a').css('cursor','pointer'); $('p.l

[jQuery] jQuery crashing the page

2009-09-24 Thread Sam Doyle
I've got 2 pages: a current events page and a past events page the current events page loads fine as there is only about 10 events the past events page takes about 30 seconds to load and will crash if u click your mouse in the loading time The pages are near identical the only difference is the

[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread Sam Doyle
$("input[type=checkbox]:checked").each(function()...); On Thu, Sep 24, 2009 at 9:59 AM, Xi Shen wrote: > > hi, > > i have a group of check boxes, and i want to iterator over all the > checked ones. i use the following code, but without luck. > > $("input[type=checkbox][checked=true]").each(funct

[jQuery] Re: [Attrib "external" not working...]

2009-09-22 Thread Sam Doyle
$(document).ready(function(){ $("a [rel='external]'").attr("target","_blank"); }); Sorry

[jQuery] Re: [Attrib "external" not working...]

2009-09-22 Thread Sam Doyle
$(document).ready(function(){ $("a rel='external'").attr("target","_blank"); });

[jQuery] Re: Recommend a JS enabled/browser growler script/plug-in?

2009-09-22 Thread Sam Doyle
$.browser On Sep 21, 5:38 pm, ldexterldesign wrote: > Cheers man. And the browser detection..? > > Thanks, > > On Sep 21, 5:14 pm, Liam Potter wrote: > > > use noscript and conditional comments. > > > ldexterldesign wrote: > > > // This site works best with JavaScript enabled and not using Inte

[jQuery] Re: jQuery(window).width() not registering sizes lower than 497 in Firefox.

2009-09-22 Thread Sam Doyle
I just ran this: and it yielded the correct result in firefox 3.5.3 On Sep 21, 8:03 pm, indigo0086 wrote: > I'm working on implementing a menu and need to have information when > the menu s