[jQuery] Re: [jqValidate] - Client Side Validation with jQuery

2008-01-21 Thread Alexandre Plennevaux
"The source *may* even be readable!"

Now, Brice you really fought against your nature on this one :)
Nice to see another plugin from you! Will you continue working on jqmodal?
2 requests:
- an iframe example
- a "autoresize image"



thanks and have a good one,

Alexandre


On Jan 22, 2008 1:26 AM, Brice Burgess <[EMAIL PROTECTED]> wrote:

>
> While refactoring all the Javascripts in poMMo I decided to rewrite my
> old client side validation library into something more jQuery like. The
> result could prove as a useful form validation plugin to someone.
>
> A rudimentary demo has been posted to;
>  http://dev.iceburg.net/jquery/jqValidate/
>
> jqValidate is unobtrusive and standards-compliant. It supports multiple
> independent forms per page.
>
> If there is any interest; I think the next steps would be to make
> validation rule sets easily extensible as well as play with comet/ajax
> server side validation.
>
> There are facets of the jqValidate architecture that could be classifed
> as bloatful, although that's not the point I'm trying to make with this
> plugin ;) . The source *may* even be readable!
>
> Enjoy,
>
> ~ Brice
>



-- 
Alexandre Plennevaux
LAb[au]

http://www.lab-au.com


[jQuery] Re: traversing xml

2008-01-21 Thread Alexandre Plennevaux
thanks, the only difference i spot is that you call the function when the
ajax loading is successful. but  i need to call that function many time
afterwards, and i was logging  a message to the console when the loading is
finished and it always occured before i was actually calling the function,
yet it didn't work. I could even log the xml.responseText, so it was loaded.
the traversing just didn't work. I ended up modifying the xml structure
(simplify it by removing one level, using it as an attribute of the item
node), and it works now.

anyway, thank you for your help chrismarx!

On Jan 22, 2008 3:20 AM, chrismarx <[EMAIL PROTECTED]> wrote:

>
> this returned a myVal of 2007:
>
>  $(document).ready(function(){
>$.ajax({
>type:   "GET",
>url:"jquery_test.xml", //your xml
>data:   "",
>dataType:   "xml",
>success: function(data,textStatus) {
> findAnchor("test-release","time",data);
>},
>error: function(msg) {
>  //call function to pass friendly message back to
> thread and
> end "fetching"
>  //opts.onFail();
>}
> });
>
>function findAnchor(projectName,scape, xml){
>var myscape = $("scape[title='" + scape + "']", xml);
>var myItem = $('item[title="' + projectName + '"]',
> myscape);
>var myCol  = $(myItem).parent();
>myVal = $(myCol).attr('title');
>alert("dsanchor for " + projectName + "in scape:UI.sortBy="
> +
> myVal);
>return myVal;
>}
>});
>
>
>
>
> On Jan 21, 4:49 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
> wrote:
> > Hello again,
> >
> > i'm banging my head on this issue:
> >
> > I'm using a function to search through a small bit xml. It works more or
> less except that the returned value is not correct.
> >
> > Here is my function:
> >
> > function findAnchor(projectName,scape, xml){
> > var myscape = $("scape[title='" + scape + "']", xml.responseText
> );
> > var myItem = $('item[title="' + projectName + '"]', myscape);
> > var myCol  = $(myItem).parent();
> > myVal = $(myCol).attr('title');
> > $.log("dsanchor for " + projectName + " in scape:" + UI.sortBy +
> "=" + myVal);
> > return myVal;
> > }
> >
> > The xml file is herebelow. Now, if i try :  var dsAnchorVar =
> findAnchor('test-release','time', xml);
> >
> > it returns "time", whereas it should return "2007".  Can you tell me
> why ? It seems to me the .parent(); selector does not function...
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > Alexandre
>



-- 
Alexandre Plennevaux
LAb[au]

http://www.lab-au.com


[jQuery] Re: filter selects and get value...how?

2008-01-21 Thread rayfidelity

Glen Thank you, but i know how to get value from a single selecti
need to get the value from the filtered select, because there will be
many of them. The filtered part is working for me...but not the get
value part...your code isn't working...

yes i have multiple selects and more of them can have value but at
least one (in a row) has to have value selected...they're in a row
which i clone...you can then fill a row at a time...selects are just
plain selects

here's the code

$(".fields tr").each(function(){
var $inputs = $('input',this);
var qty =
$inputs.filter("[name='qty[]']").children("option:selected").attr("value");
...
}


On Jan 22, 12:03 am, Hamish Campbell <[EMAIL PROTECTED]> wrote:
> Can you show the source of the selects, because the description is a
> little confusing. You have array of selects? So multiple selects, but
> only one has a value at any one time? Or do you have a multi-selection
> select and hence you're trying to find the _options_ that are
> selected?
>
> On Jan 22, 11:43 am,rayfidelity<[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have array of selects, and i filter them with:
> > $inputs.filter("[name='qty[]']"). I want to get selected value. But i
> > don't know how...
>
> > I tried with:
>
> > $inputs.filter("[name='qty[]']").filter("select
> > option:selected").val();
> > $inputs.filter(function(){"[name='qty[]']" && "select
> > option:selected"}).val();
>
> > And some other things...but without success...can anyone help?


[jQuery] Re: .click()

2008-01-21 Thread Steffan A. Cline

on 1/21/08 10:31 AM, chrismarx at [EMAIL PROTECTED] wrote:

> 
> i believe this is expected behavior, it would be a security risk to
> allow script access to file inputs-
> 
> On Jan 20, 7:32 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
>> on 1/6/08 11:55 PM, chrismarx at [EMAIL PROTECTED] wrote:
>> 
>> 
>> 
>> 
>> 
>>> best to see the live page-
>> 
>>> On Jan 6, 9:32 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
 on 1/6/08 5:29 PM, chrismarx at [EMAIL PROTECTED] wrote:
>> 
> first, it would be better jquery technique to bind your img outside of
> the onclick
>> 
> $('#imgID').click(function(){
>  $('#logo').click();
> });
>> 
> what function is executed when you trigger the click event on the logo
> input?
>> 
> On Jan 6, 5:46 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
>> Running into something strange. I have an image with an onclick handler
>> that
>> calls on a hidden  via
>> 
>> This works flawlessly in Safari, IE 6 & 7 but not in FF Mac (not sure
>> about
>> PC). Any ideas?
>> 
>> Also, what is the best way when taking this approach? I have it where the
>> file input is in a div. I initially tried using display:none for the
>> container div but the file inputs stopped working. I changed the div to
>> visibility:hidden and height: 0px and it works (with the exception above)
>> anyone have a better suggestion on how to hide these inputs better?
>> 
>> I am using jquery 1.1.3.1
>> 
>> Suggestions?
>> 
>> Thanks
>> 
>> Steffan
>> 
 I am hiding the file inputs and then parsing the data from the file input
 onchange and placing it into a dummy text field so that there are no paths
 etc when the end user views it. As you know, some browsers prepend the path
 to the name in the file input and I wasn't thrilled with that. By trimming
 the path and displaying only the file name looked more appealing. The end
 user wants to have their own add/delete buttons for the images rather than
 the standard "choose" button. The odd thing is that when I use the DOM
 inspector in FF it shows that the image has the click attribute so I am not
 sure why it's not firing. Would it beneficial to show all of the code or is
 there enough mentioned to see why the click event fails? Odd that FF does
 not show any errors or warnings in the error console.
>> 
 Thanks
>> 
 Steffan
>> 
>> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> 
>> http://www.w3.org/1999/xhtml";>
>> 
>> 
>> > src="/js/jquery-1.1.3.1.pack.js">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> As stated it works in Safari and IE6&7. Any ideas why it fails in Firefox?
>> 
>> Thanks
>> 
>> Steffan
>> 
I fail to see how the .click() could be a security issue that Safari and
IE6&7 missed out on. Is possible that there is a flaw in this version of FF
or jQuery?


Thanks

Steffan

---
T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline 
[EMAIL PROTECTED] Phoenix, Az
http://www.ExecuChoice.net  USA
AIM : SteffanC  ICQ : 57234309
YAHOO : Steffan_Cline   MSN : [EMAIL PROTECTED]
GOOGLE: Steffan.Cline Lasso Partner Alliance Member
---





[jQuery] Re: BlockUI DisplayBox Close on image click

2008-01-21 Thread Mike Alsup
The code in that example looks like this:

$('#displayExample a').click(function() {
$('')
.attr('src', $(this).attr('href'))
.appendTo('#main')
.displayBox();
return false;
});


You can close the displayBox the way you want by changing that code to this:

$('#displayExample a').click(function() {
$('')
.attr('src', $(this).attr('href'))
.appendTo('#main')
// add click handler!
.click($.blockUI.impl.boxRemove)
.displayBox();
return false;
});


Mike



On Jan 21, 2008 4:55 PM, alivemedia <[EMAIL PROTECTED]> wrote:

>
> I want to use blockui to show a product enlargement but I want it to
> close when the user clicks on the image.
>
> Here is the blockui sample page:
> http://www.malsup.com/jquery/block/#displaybox
>
> Anyone done this before?
>


[jQuery] Re: Tabs and Hide/Show Divs

2008-01-21 Thread MikeP

I see the "click" method with the tab. It takes 3 arguments:
"clicked tab, tab container to show, tab container to hide"

I do want to hide and show a tab's contents. This it's doing
automatically.
However, I also have ANOTHER panel/div that I would like to hide.

How would I do this?

Thanks!
Mike

On Jan 21, 9:22 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> On Jan 21, 1:22 am, MikeP <[EMAIL PROTECTED]> wrote:
>
> > Hello.
> > I'm using tabs to display lists of 
> > data.http://stilbuero.de/jquery/tabs_3/http://dev.jquery.com/view/trunk/ui...
>
> >  When you click on an item in the list, I display a div.
> > $('#problempanel').show();
>
> > If you click on another tab, I would like the div to hide.
>
> > How can I add this?
>
> > I tried an "onclick" event but then it goes to my function to hide the
> > div and doesn't run the tab function.
>
> > Thanks,
> > Mike
>
> The event/callback option is called "click", not "onclick". You can
> find a complete documentation for tabs 
> here:http://docs.jquery.com/UI/Tabs/tabs#initialoptions
>
> Try:
>
> $('#whatever').tabs({
>     click: function() {
>         $('#problempanel').hide();
>     }
>
> });
>
> --Klaus


[jQuery] Re: Help- looking for motion/animation help (specifically, hovering)

2008-01-21 Thread withinreach

Sorry, I was away...

No mouse behavior (walk away from the 'hover' as mouseover - think
'hover' like spaceship over a house).

My orig post: Or more specifically, a swami/guru/magic person hovering
in place with
slight up/down/left/right motion.

I want my logo (robot) to hover in a bounded box of space - slight
motion left/right/up/down automatically (no mouse over - just all the
time).


On Jan 18, 8:37 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> How about an animated gif? :-)
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Jan 18, 2008, at 12:04 AM, withinreach wrote:
>
>
>
> > But not the mousehovermeaning. More like levitation (grin) - think
> > UFO 'hovering' over a house...
>
> > Or more specifically, a swami/guru/magic person hovering in place with
> > slight up/down/left/right motion.
>
> > I am certain there's a loop or an interval, to keep things moving, and
> > a 'bounding box' (don't go X pixels from center starting point) to
> > keep things from floating away.
>
> > But I just can't see the forest for the trees on how to implement it.
>
> > ANY pointers would be humbly appreciated, and I PROMISE to post the
> > final code for all to see and have (whatever you-can-have-it license
> > along with it).
>
> > Thanks
> > Mike


[jQuery] Re: filter selects and get value...how?

2008-01-21 Thread Hamish Campbell

Can you show the source of the selects, because the description is a
little confusing. You have array of selects? So multiple selects, but
only one has a value at any one time? Or do you have a multi-selection
select and hence you're trying to find the _options_ that are
selected?

On Jan 22, 11:43 am, rayfidelity <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have array of selects, and i filter them with:
> $inputs.filter("[name='qty[]']"). I want to get selected value. But i
> don't know how...
>
> I tried with:
>
> $inputs.filter("[name='qty[]']").filter("select
> option:selected").val();
> $inputs.filter(function(){"[name='qty[]']" && "select
> option:selected"}).val();
>
> And some other things...but without success...can anyone help?


[jQuery] Re: Problem With jquery form plugin and tinymce

2008-01-21 Thread [EMAIL PROTECTED]

Thanks Mike!

I setup two test pages:
http://www.jlhweb.org/mytest/index.php?fnc=test
http://www.jlhweb.org/mytest/index.php?fnc=test2

A copy of the jQuery code is at:
http://www.jlhweb.org/mytest/jquery.txt

"test" has tinyMCE on the textarea.
"test2" does not.

"test" can only be edited one time on each load of index.php (for some
unknown reason).

"test2" can be edited with no limit.

thanks!


[jQuery] load array to js

2008-01-21 Thread Bober

Hello!

I have several inputs


..



Can quick set one walue for all elements a[1]?
How can I do?


[jQuery] Add a callback to any method

2008-01-21 Thread chrismarx

I'd like to be able to do something like this

//Extend Function for easy callbacks
Function.prototype.andThen=function(g) {
  var f=this;
  return function() {
f();g();
  }
};

$('div[class="rating"]').livequery(function(){
var $this = $(this);
var opts = function(){
g.ratingOpts.self = $this;
g.ratingOpts.curvalue = parseInt($this.attr("rate"));
return g.ratingOpts;
}();
$this.rating(opts);
}).andThen(function(){
alert("I'm called after livequery has looped through all the div's
with class rating");
});

I realize that touching Function.prototype might not be the best idea.
Is there anything like this out there somewhere?  I would like to have
to touch the plugins, etc, so that scripts can be updated without
having to go through them again and add in callbacks-


[jQuery] FixedTable Plugin - testing help requested

2008-01-21 Thread Shawn

Hi all.  I've been plugging away on a  plugin that would convert a table 
to have fixed rows and columns.  I've finally come up with some success 
at this.  But need some help testing/debugging this under the various 
browsers.

http://grover.open2space.com/files/dev/fixedTable/index.htm
(the plugin file is at 
http://grover.open2space.com/files/dev/fixedTable/jquery.fixedtable-0.02.js 
)

Currently, it seems to be working fine in FF, but errors out in IE 6. 
(I'll be digging deeper on that later)

Once it is a little more stable, I'd like to add it to the Plugins page. 
  But I don't feel it's ready yet.

Any tips / bug fixes / suggestions / optimizations are appreciated.

Shawn

p.s.  This is my second take on the plugin - my previous efforts were 
not working out well.




[jQuery] Re: traversing xml

2008-01-21 Thread chrismarx

this returned a myVal of 2007:

 $(document).ready(function(){
$.ajax({
type:   "GET",
url:"jquery_test.xml", //your xml
data:   "",
dataType:   "xml",
success: function(data,textStatus) {
 findAnchor("test-release","time",data);
},
error: function(msg) {
  //call function to pass friendly message back to thread 
and
end "fetching"
  //opts.onFail();
}
 });

function findAnchor(projectName,scape, xml){
var myscape = $("scape[title='" + scape + "']", xml);
var myItem = $('item[title="' + projectName + '"]', myscape);
var myCol  = $(myItem).parent();
myVal = $(myCol).attr('title');
alert("dsanchor for " + projectName + "in scape:UI.sortBy=" +
myVal);
return myVal;
}
});




On Jan 21, 4:49 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
wrote:
> Hello again,
>
> i'm banging my head on this issue:
>
> I'm using a function to search through a small bit xml. It works more or less 
> except that the returned value is not correct.
>
> Here is my function:
>
> function findAnchor(projectName,scape, xml){
> var myscape = $("scape[title='" + scape + "']", xml.responseText);
> var myItem = $('item[title="' + projectName + '"]', myscape);
> var myCol  = $(myItem).parent();
> myVal = $(myCol).attr('title');
> $.log("dsanchor for " + projectName + " in scape:" + UI.sortBy + "=" 
> + myVal);
> return myVal;
> }
>
> The xml file is herebelow. Now, if i try :  var dsAnchorVar = 
> findAnchor('test-release','time', xml);
>
> it returns "time", whereas it should return "2007".  Can you tell me why 
> ? It seems to me the .parent(); selector does not function...
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> Alexandre


[jQuery] this.parentNode has no properties

2008-01-21 Thread Goldielocks


Hi,

I am creating a number of divs dynamically which are all draggable. The divs
can be dropped in two different areas (#editDiv and #deleteDiv).

On drop on #deleteDiv I get "this.parentNode has no properties" straight
away. 

On drop on #editDiv it works fine when I drop the first div. If I drop a
second div I get "parent has no properties" and "oDrag.helperSize has no
properties".

Can someone please help me? I have tried to debug with firebug but I just
cannot figure out what is wrong. I have uploaded the code. The functions to
look at are createEditDragDrop and createDeleteDragDrop and then go from
there.  http://www.nabble.com/file/p14993351/edit.js edit.js 

I would be very grateful if someone could help me.

Regards
Cecilia

-- 
View this message in context: 
http://www.nabble.com/this.parentNode-has-no-properties-tp14993351s27240p14993351.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Form Plugin and Thickbox

2008-01-21 Thread Travis

bump :D

On Jan 20, 12:14 pm, Travis <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I am writing a cakePHP application and trying to usethickboxto load
> aformand the jQueryFormPlugin to submit it. If I use theform
> by itself with a url of /employees/edit/employee_id the jQueryForm
> plugin works fine.  If I load that exact URL in athickboxthough, 
> theFormplugin quits working, and when I click submit, it goes through
> like a normal submit.
>
> Any ideas?
>
> Thanks & God Bless,
>
> Travis


[jQuery] Re: .click()

2008-01-21 Thread chrismarx

i believe this is expected behavior, it would be a security risk to
allow script access to file inputs-

On Jan 20, 7:32 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
> on 1/6/08 11:55 PM, chrismarx at [EMAIL PROTECTED] wrote:
>
>
>
>
>
> > best to see the live page-
>
> > On Jan 6, 9:32 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
> >> on 1/6/08 5:29 PM, chrismarx at [EMAIL PROTECTED] wrote:
>
> >>> first, it would be better jquery technique to bind your img outside of
> >>> the onclick
>
> >>> $('#imgID').click(function(){
> >>>  $('#logo').click();
> >>> });
>
> >>> what function is executed when you trigger the click event on the logo
> >>> input?
>
> >>> On Jan 6, 5:46 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
>  Running into something strange. I have an image with an onclick handler
>  that
>  calls on a hidden  via
>  
>  This works flawlessly in Safari, IE 6 & 7 but not in FF Mac (not sure 
>  about
>  PC). Any ideas?
>
>  Also, what is the best way when taking this approach? I have it where the
>  file input is in a div. I initially tried using display:none for the
>  container div but the file inputs stopped working. I changed the div to
>  visibility:hidden and height: 0px and it works (with the exception above)
>  anyone have a better suggestion on how to hide these inputs better?
>
>  I am using jquery 1.1.3.1
>
>  Suggestions?
>
>  Thanks
>
>  Steffan
>
> >> I am hiding the file inputs and then parsing the data from the file input
> >> onchange and placing it into a dummy text field so that there are no paths
> >> etc when the end user views it. As you know, some browsers prepend the path
> >> to the name in the file input and I wasn't thrilled with that. By trimming
> >> the path and displaying only the file name looked more appealing. The end
> >> user wants to have their own add/delete buttons for the images rather than
> >> the standard "choose" button. The odd thing is that when I use the DOM
> >> inspector in FF it shows that the image has the click attribute so I am not
> >> sure why it's not firing. Would it beneficial to show all of the code or is
> >> there enough mentioned to see why the click event fails? Odd that FF does
> >> not show any errors or warnings in the error console.
>
> >> Thanks
>
> >> Steffan
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
> http://www.w3.org/1999/xhtml";>
> 
> 
>  src="/js/jquery-1.1.3.1.pack.js">
> 
>
> 
> 
> 
> 
> 
> 
>
> 
>
> As stated it works in Safari and IE6&7. Any ideas why it fails in Firefox?
>
> Thanks
>
> Steffan
>
> ---
> T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
> Steffan A. Cline
> [EMAIL PROTECTED] Phoenix, 
> Azhttp://www.ExecuChoice.net USA
> AIM : SteffanC  ICQ : 57234309
> YAHOO : Steffan_Cline   MSN : [EMAIL PROTECTED]
> GOOGLE: Steffan.Cline Lasso Partner Alliance Member
> ---


[jQuery] Form Helper Popups

2008-01-21 Thread Gautam Lad
Not sure what the correct name is but I am trying to achieve something like 
this:
   
  Anyone have a plugin already out there that I can easily attach to any form 
element?
   
  Here's a screenshot:
  http://www.gonrad.com/200801/helperbox.jpg

  Thanks,
  Gautam


[jQuery] Re: Form Plugin and Thickbox

2008-01-21 Thread Ken Gregg

I ran into a similar problem loading a flot chart in an iframe using
thickbox. Worked fine in i.e. but jquery would not work in a thickbox
on FF.

Here is what I did to fix:

http://groups.google.com/group/jquery-en/browse_thread/thread/39b126236d6781df

Hope this helps

Ken

On Jan 20, 10:14 am, Travis <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I am writing a cakePHP application and trying to use thickbox to load
> a form and the jQuery Form Plugin to submit it. If I use the form
> by itself with a url of /employees/edit/employee_id the jQuery Form
> plugin works fine.  If I load that exact URL in a thickbox though, the
> Form plugin quits working, and when I click submit, it goes through
> like a normal submit.
>
> Any ideas?
>
> Thanks & God Bless,
>
> Travis


[jQuery] Re: Problem With jquery form plugin and tinymce

2008-01-21 Thread [EMAIL PROTECTED]

Thanks for the reply Mike!  Everyone else who's interested, feel free
to take a look as well...

I setup some test pages.
http://www.jlhweb.org/mytest/index.php?fnc=test
and
http://www.jlhweb.org/mytest/index.php?fnc=test2

Each has a link to a business card.  On the biz card you'll need to
click "edit."

On "test," you'll see tinymce loaded on the description textarea.
feel free to try it out.  it will work the first time, but not on
subsequent attempts.
On "test2," you'll see just a plain textarea in the edit window, and
it will work over and over again.

A copy of the jQuery code is at
http://www.jlhweb.org/mytest/jquery.txt

Line 74 "// Edit buttons (opens asset_form)" begins the appropriate
jQuery for that Edit window.  The only difference between "test" and
"test2" is "test2" is lacking the tinyMCE.init() function.

thanks!!!


[jQuery] BlockUI DisplayBox Close on image click

2008-01-21 Thread alivemedia

I want to use blockui to show a product enlargement but I want it to
close when the user clicks on the image.

Here is the blockui sample page:
http://www.malsup.com/jquery/block/#displaybox

Anyone done this before?


[jQuery] Re: Selectors with this keyword

2008-01-21 Thread Philboi

Thanks Josh,

I'll give that one a go. I also found I could do it using 'find', but
your solution looks a little bit tighter.

Phil

On Jan 19, 1:09 am, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> Try $("li", this) - it says "look in the context of this for all li
> elements."
>
> -- Josh
>
> - Original Message -
> From: "Philboi" <[EMAIL PROTECTED]>
> To: "jQuery (English)" 
> Sent: Thursday, January 17, 2008 9:37 PM
> Subject: [jQuery] Selectors with this keyword
>
> > Hi Guys,
>
> > What im after is using selectors with the 'this' keyword. I imagine
> > this is a fairly common example, but I cant seem to get the syntax
> > right. Example:
>
> > $("ul:has(li)")  except i want to use something like: $(this:has(li))
>
> > Thanks


[jQuery] Plugin Validate

2008-01-21 Thread Tales Augusto
I am using the plugin validate. After validating the form, I need to call a
function only if the form contains mistake. I looked in the documentation of
the plugin was not them anything similar.

thanks


[jQuery] Re: .click()

2008-01-21 Thread Steffan A. Cline

on 1/6/08 11:55 PM, chrismarx at [EMAIL PROTECTED] wrote:

> 
> best to see the live page-
> 
> 
> On Jan 6, 9:32 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
>> on 1/6/08 5:29 PM, chrismarx at [EMAIL PROTECTED] wrote:
>> 
>> 
>> 
>> 
>> 
>>> first, it would be better jquery technique to bind your img outside of
>>> the onclick
>> 
>>> $('#imgID').click(function(){
>>>  $('#logo').click();
>>> });
>> 
>>> what function is executed when you trigger the click event on the logo
>>> input?
>> 
>>> On Jan 6, 5:46 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
 Running into something strange. I have an image with an onclick handler
 that
 calls on a hidden  via
 
 This works flawlessly in Safari, IE 6 & 7 but not in FF Mac (not sure about
 PC). Any ideas?
>> 
 Also, what is the best way when taking this approach? I have it where the
 file input is in a div. I initially tried using display:none for the
 container div but the file inputs stopped working. I changed the div to
 visibility:hidden and height: 0px and it works (with the exception above)
 anyone have a better suggestion on how to hide these inputs better?
>> 
 I am using jquery 1.1.3.1
>> 
 Suggestions?
>> 
 Thanks
>> 
 Steffan
>> 
>> I am hiding the file inputs and then parsing the data from the file input
>> onchange and placing it into a dummy text field so that there are no paths
>> etc when the end user views it. As you know, some browsers prepend the path
>> to the name in the file input and I wasn't thrilled with that. By trimming
>> the path and displaying only the file name looked more appealing. The end
>> user wants to have their own add/delete buttons for the images rather than
>> the standard "choose" button. The odd thing is that when I use the DOM
>> inspector in FF it shows that the image has the click attribute so I am not
>> sure why it's not firing. Would it beneficial to show all of the code or is
>> there enough mentioned to see why the click event fails? Odd that FF does
>> not show any errors or warnings in the error console.
>> 
>> Thanks
>> 
>> Steffan
>> 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 
http://www.w3.org/1999/xhtml";>














As stated it works in Safari and IE6&7. Any ideas why it fails in Firefox?


Thanks

Steffan

---
T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline 
[EMAIL PROTECTED] Phoenix, Az
http://www.ExecuChoice.net  USA
AIM : SteffanC  ICQ : 57234309
YAHOO : Steffan_Cline   MSN : [EMAIL PROTECTED]
GOOGLE: Steffan.Cline Lasso Partner Alliance Member
---





[jQuery] Re: Post-load images? Tips?

2008-01-21 Thread Micky Hulse

Hi Mika, many thanks for the quick reply -- I really appreciate the
help. :)

Oooh, interesting... Thanks for the code and tips... That will really
get me headed in the right direction.

I will post my findings/results later today.

Have a great day!
Cheers,
m

(btw, nice site! Cool design, and lots of great info. :)

On Jan 21, 4:37 am, Mika Tuupola <[EMAIL PROTECTED]> wrote:
> On Jan 21, 2008, at 10:02 AM, Micky Hulse wrote:
>
>
>
> > A bit more info:
>
> > The hardest part for me to figure-out is the best approach for knowing
> > when all of the needed images are loaded... I think I can handle all
> > the
> > other aspects of the coding.
>
> > Is there a good technique for knowing when a group of images has fully
> > loaded?
>
> One way would be to preload images sequentially one by one. When the
> last one is loaded then you could be sure all images are fully loaded.
> Something like:
>
> -cut-
> $(window).bind('load', function() {
> var preload = new Array('image_1.png', 'image_2.png', 'image_3.png');
> var img = document.createElement('img');
> $(img).bind('load', function() {
> if(preload[0]) {
> this.src = preload.shift();
> }  else {
> /* all images have been loaded */
> }
> }).trigger('load');});
>
> -cut-
>
> --
> Mika Tuupolahttp://www.appelsiini.net/


[jQuery] Re: Problem With jquery form plugin and tinymce

2008-01-21 Thread [EMAIL PROTECTED]

Thanks for the reply Mike!  Everyone else who's interested, feel free
to take a look as well...

I setup some test pages.
http://www.jlhweb.org/mytest/index.php?fnc=test
and
http://www.jlhweb.org/mytest/index.php?fnc=test2

Each has a link to a business card.  On the biz card you'll need to
click "edit."

On "test," you'll see tinymce loaded on the description textarea.
feel free to try it out.  it will work the first time, but not on
subsequent attempts.
On "test2," you'll see just a plain textarea in the edit window, and
it will work over and over again.

A copy of the jQuery code is at
http://www.jlhweb.org/mytest/jquery.txt

Line 74 "// Edit buttons (opens asset_form)" begins the appropriate
jQuery for that Edit window.  The only difference between "test" and
"test2" is "test2" is lacking the tinyMCE.init() function.

thanks!!!


[jQuery] Re: suckerfish menu delay?

2008-01-21 Thread Joel Birch

Superfish requires the menu HTML to be nested unordered lists. If you
want to avoid changing your current HTML, the easiest thing to do
would be to just add hoverIntent to your existing menu. Get it from
here:
http://cherne.net/brian/resources/jquery.hoverIntent.html
...then link to the plugin from your page and change your menu's
hover() calls to hoverIntent().

Joel BIrch.


[jQuery] Re: Another jdMenu problem... IE specific...

2008-01-21 Thread Karl Swedberg

Hi Chris,

Sorry, I was looking in Firefox. I see now that the problem exists in  
IE only. It might have something to do with the fact that the page is  
running in quirks mode and that the markup is invalid. Try running it  
through an HTML validator (e.g. http://validator.w3.org/). In  
particular, you have two extra DOCTYPE declarations throughout the  
page. And if you want to stick with HTML 4.01 transitional, replace  
this ...




with this ...

http://www.w3.org/TR/html4/loose.dtd";>

If cleaning up the HTML doesn't help, we can look at some other stuff.  
In the meantime, I'll poke around the plugin code and the stylesheets  
a bit to see how the positioning is being done.



--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Jan 21, 2008, at 4:08 PM, Chris Jordan wrote:

You said it was positioning correctly for you? What version of IE  
was that in? For me, in IE6 it shows up in the top left (0,0) of the  
view port... it's supposed to show just below the top-level menu  
choice.


Also, I know there are broken images. Ignore those and look mostly  
at the ones that do have images. I'm still waiting on my graphic  
artist guy to get me the rest of the images. I also don't see  
anywhere (unless I'm just missing it) where the sub-menus are being  
positioned. You can check out all the css if you have the Web  
Developer extension for FF.


Thanks again,
Chris

On Jan 21, 2008 1:01 PM, Chris Jordan <[EMAIL PROTECTED]>  
wrote:
going to lunch. I'd like to exchange emails with you about this.  
I'll be back in about an hour or so. Thanks so much Karl.


Chris


On Jan 21, 2008 12:52 PM, Karl Swedberg < [EMAIL PROTECTED]>  
wrote:
It looked to me like it was being positioned correctly. Also looks  
like you have a broken link to a rollover image for the top-level  
nav items. I'm guessing that the sub-menus are using  
position:absolute for their positioning, so you'll need to have a  
parent element given position:relative in order for the submenus to  
be positioned relative to those parent elements rather than the body  
element.


Hope that helps.


--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Jan 21, 2008, at 1:42 PM, Chris Jordan wrote:


Hi folks.

I'm having another problem with the jdMenu plug-in. In IE when I  
hover over the top-level menu the sub-menu appears in the absolute  
top left of the view-port! Bah! I don't know what I've done wrong.  
I've used jdMenu at another client of mine, and it works great in  
both FF and IE. This time around however, I *am* customizing the  
css file quite a bit to better suit my needs.


The problem can be seen here.

This is causing me much aggravation, and more time at this one  
particular client that I should really be spending.


I would *really* appreciate anyone's help on this problem. Of  
course, I'll keep working on finding a solution, but if someone  
knows what I'm going through, or can offer suggestions, that'd be  
great.


Thanks,

Chris


--
http://cjordan.us





--
http://cjordan.us



--
http://cjordan.us




[jQuery] [jqValidate] - Client Side Validation with jQuery

2008-01-21 Thread Brice Burgess


While refactoring all the Javascripts in poMMo I decided to rewrite my 
old client side validation library into something more jQuery like. The 
result could prove as a useful form validation plugin to someone.


A rudimentary demo has been posted to;
 http://dev.iceburg.net/jquery/jqValidate/

jqValidate is unobtrusive and standards-compliant. It supports multiple 
independent forms per page.


If there is any interest; I think the next steps would be to make 
validation rule sets easily extensible as well as play with comet/ajax 
server side validation.


There are facets of the jqValidate architecture that could be classifed 
as bloatful, although that's not the point I'm trying to make with this 
plugin ;) . The source *may* even be readable!


Enjoy,

~ Brice


[jQuery] Re: filter selects and get value...how?

2008-01-21 Thread Glen Lipka
I had whipped up this demo a while back.  It shows how to get the selected
option.
http://commadot.com/jquery/selectBoxNav.php

Glen

On Jan 21, 2008 2:43 PM, rayfidelity <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I have array of selects, and i filter them with:
> $inputs.filter("[name='qty[]']"). I want to get selected value. But i
> don't know how...
>
> I tried with:
>
> $inputs.filter("[name='qty[]']").filter("select
> option:selected").val();
> $inputs.filter(function(){"[name='qty[]']" && "select
> option:selected"}).val();
>
> And some other things...but without success...can anyone help?
>


[jQuery] filter selects and get value...how?

2008-01-21 Thread rayfidelity

Hi,

I have array of selects, and i filter them with:
$inputs.filter("[name='qty[]']"). I want to get selected value. But i
don't know how...

I tried with:

$inputs.filter("[name='qty[]']").filter("select
option:selected").val();
$inputs.filter(function(){"[name='qty[]']" && "select
option:selected"}).val();

And some other things...but without success...can anyone help?


[jQuery] Re: Another jdMenu problem... IE specific...

2008-01-21 Thread Chris Jordan
Thanks Jack! I'm trying to fit troubleshooting this IE problem in with
working on other parts of this particular menu project, and I may not get a
chance to try out your suggestion tonight, but I appreciate your effort, and
would love to know if you find anything. Also, when I get a chance to try
out your suggestion, I'll report back my results.

Thanks,
Chris

On Jan 21, 2008 3:44 PM, Jack Killpatrick <[EMAIL PROTECTED]> wrote:

>  Chris, I don't have time to dig into looking at your code right now, but
> I had a similar problem with jdMenu when the top level menu item did not
> have an A tag inside of it, due to how jdMenu handled either event binding
> or event bubbling. If I remember correctly, IE threw because a property was
> not present that jdMenu expected to have been bound to.
>
> I can rummage through our old code later tonight and look for diffs if
> that doesn't get you anywhere.
>
> - Jack
>
>
> Chris Jordan wrote:
>
> Hi folks.
>
> I'm having another problem with the jdMenu plug-in. In IE when I hover
> over the top-level menu the sub-menu appears in the absolute top left of the
> view-port! Bah! I don't know what I've done wrong. I've used jdMenu at
> another client of mine, and it works great in both FF and IE. This time
> around however, I *am* customizing the css file quite a bit to better suit
> my needs.
>
> The problem can be seen here .
>
> This is causing me much aggravation, and more time at this one particular
> client that I should really be spending.
>
> I would *really* appreciate anyone's help on this problem. Of course, I'll
> keep working on finding a solution, but if someone knows what I'm going
> through, or can offer suggestions, that'd be great.
>
> Thanks,
>
> Chris
>
>
> --
> http://cjordan.us
>
>
>


-- 
http://cjordan.us


[jQuery] traversing xml

2008-01-21 Thread Alexandre Plennevaux

Hello again,

i'm banging my head on this issue:

I'm using a function to search through a small bit xml. It works more or less 
except that the returned value is not correct.

Here is my function:

function findAnchor(projectName,scape, xml){
var myscape = $("scape[title='" + scape + "']", xml.responseText);
var myItem = $('item[title="' + projectName + '"]', myscape);
var myCol  = $(myItem).parent();
myVal = $(myCol).attr('title');
$.log("dsanchor for " + projectName + " in scape:" + UI.sortBy + "=" + 
myVal);
return myVal;
}


The xml file is herebelow. Now, if i try :  var dsAnchorVar = 
findAnchor('test-release','time', xml);

it returns "time", whereas it should return "2007".  Can you tell me why ? 
It seems to me the .parent(); selector does not function...









































Alexandre



[jQuery] Re: Another jdMenu problem... IE specific...

2008-01-21 Thread Jack Killpatrick
Chris, I don't have time to dig into looking at your code right now, but 
I had a similar problem with jdMenu when the top level menu item did not 
have an A tag inside of it, due to how jdMenu handled either event 
binding or event bubbling. If I remember correctly, IE threw because a 
property was not present that jdMenu expected to have been bound to.


I can rummage through our old code later tonight and look for diffs if 
that doesn't get you anywhere.


- Jack

Chris Jordan wrote:

Hi folks.

I'm having another problem with the jdMenu plug-in. In IE when I hover 
over the top-level menu the sub-menu appears in the absolute top left 
of the view-port! Bah! I don't know what I've done wrong. I've used 
jdMenu at another client of mine, and it works great in both FF and 
IE. This time around however, I *am* customizing the css file quite a 
bit to better suit my needs.


The problem can be seen here .

This is causing me much aggravation, and more time at this one 
particular client that I should really be spending.


I would *really* appreciate anyone's help on this problem. Of course, 
I'll keep working on finding a solution, but if someone knows what I'm 
going through, or can offer suggestions, that'd be great.


Thanks,

Chris


--
http://cjordan.us 




[jQuery] Re: suckerfish menu delay?

2008-01-21 Thread sozzi

The easiest solution around is to use the suckerfish plugin
"Superfish" at:http://users.tpg.com.au/j_birch/plugins/superfish/

it incorporates delay and hoverIntent if you so wish.

On Jan 21, 12:17 pm, "Marty Vance" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've got a slightly modified suckerfish menu where I would like to add
> a delay before the submenus drop down.  The top level ul is oriented
> horizontally, and crossing it with the mouse causes the submenus to
> 'bounce'.
>
> The modification is that each child ul is wrapped in a div for layout 
> purposes.
>
> Here's the code that sets up the menu behavior:
>
> $(document).ready(function(){
> $("ul#navbar_core > li").hover(
> function(){
> 
> $(this).children('a').toggleClass('navbar-on').end().find('div').animate({
> height: 'show'}, 'normal');
> },
> function() {
> 
> $(this).children('a').toggleClass('navbar-on').end().find('div').animate({
> height: 'hide'}, 'fast');
> }
> );
>
> });
>
> Any ideas out there?


[jQuery] Re: Another jdMenu problem... IE specific...

2008-01-21 Thread Chris Jordan
You said it was positioning correctly for you? What version of IE was that
in? For me, in IE6 it shows up in the top left (0,0) of the view port...
it's supposed to show just below the top-level menu choice.

Also, I know there are broken images. Ignore those and look mostly at the
ones that do have images. I'm still waiting on my graphic artist guy to get
me the rest of the images. I also don't see anywhere (unless I'm just
missing it) where the sub-menus are being positioned. You can check out all
the css if you have the Web Developer extension for FF.

Thanks again,
Chris

On Jan 21, 2008 1:01 PM, Chris Jordan <[EMAIL PROTECTED]> wrote:

> going to lunch. I'd like to exchange emails with you about this. I'll be
> back in about an hour or so. Thanks so much Karl.
>
> Chris
>
>
> On Jan 21, 2008 12:52 PM, Karl Swedberg < [EMAIL PROTECTED]> wrote:
>
> > It looked to me like it was being positioned correctly. Also looks like
> > you have a broken link to a rollover image for the top-level nav items. I'm
> > guessing that the sub-menus are using position:absolute for their
> > positioning, so you'll need to have a parent element given position:relative
> > in order for the submenus to be positioned relative to those parent elements
> > rather than the body element.
> > Hope that helps.
> >
> >
> > --Karl
> > _
> > Karl Swedberg
> > www.englishrules.com
> > www.learningjquery.com
> >
> >
> >
> > On Jan 21, 2008, at 1:42 PM, Chris Jordan wrote:
> >
> > Hi folks.
> >
> > I'm having another problem with the jdMenu plug-in. In IE when I hover
> > over the top-level menu the sub-menu appears in the absolute top left of the
> > view-port! Bah! I don't know what I've done wrong. I've used jdMenu at
> > another client of mine, and it works great in both FF and IE. This time
> > around however, I *am* customizing the css file quite a bit to better suit
> > my needs.
> >
> > The problem can be seen here .
> >
> > This is causing me much aggravation, and more time at this one
> > particular client that I should really be spending.
> >
> > I would *really* appreciate anyone's help on this problem. Of course,
> > I'll keep working on finding a solution, but if someone knows what I'm going
> > through, or can offer suggestions, that'd be great.
> >
> > Thanks,
> >
> > Chris
> >
> >
> > --
> > http://cjordan.us
> >
> >
> >
>
>
> --
> http://cjordan.us




-- 
http://cjordan.us


[jQuery] suckerfish menu delay?

2008-01-21 Thread Marty Vance

Hi all,

I've got a slightly modified suckerfish menu where I would like to add
a delay before the submenus drop down.  The top level ul is oriented
horizontally, and crossing it with the mouse causes the submenus to
'bounce'.

The modification is that each child ul is wrapped in a div for layout purposes.

Here's the code that sets up the menu behavior:

$(document).ready(function(){
$("ul#navbar_core > li").hover(
function(){

$(this).children('a').toggleClass('navbar-on').end().find('div').animate({
height: 'show'}, 'normal');
},
function() {

$(this).children('a').toggleClass('navbar-on').end().find('div').animate({
height: 'hide'}, 'fast');
}
);
});


Any ideas out there?


[jQuery] Poor Firefox performance (animations) - with link

2008-01-21 Thread Feed

Hello all,

For the past weeks I've been working on a project which I think now is
ready to show. Bear in mind that I'm no programmer whatsoever... I
"learnt" ASP and jQuery for this project and I'm sure this project
could be done much more effectively than I did.

From what I've tested it seems that it works perfectly and smootly in
IE6 (it's the only IE I have here to test) but unfortunately it
doesn't work as smooth in Firefox. The animations are not smooth.

Well, enough talking, see for yourselves...

http://www.mzweb.com.br/mzdesign/portfolio/portfolio.asp

Click "Serviços" and choose one of the thumbnails... you can see that
the animations in the project are much smoother in IE than in Firefox.
Click "Voltar" to go back.

What do you think is compromising Firefox's performance?


[jQuery] Re: Another jdMenu problem... IE specific...

2008-01-21 Thread Chris Jordan
going to lunch. I'd like to exchange emails with you about this. I'll be
back in about an hour or so. Thanks so much Karl.

Chris

On Jan 21, 2008 12:52 PM, Karl Swedberg <[EMAIL PROTECTED]> wrote:

> It looked to me like it was being positioned correctly. Also looks like
> you have a broken link to a rollover image for the top-level nav items. I'm
> guessing that the sub-menus are using position:absolute for their
> positioning, so you'll need to have a parent element given position:relative
> in order for the submenus to be positioned relative to those parent elements
> rather than the body element.
> Hope that helps.
>
>
> --Karl
> _
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
> On Jan 21, 2008, at 1:42 PM, Chris Jordan wrote:
>
> Hi folks.
>
> I'm having another problem with the jdMenu plug-in. In IE when I hover
> over the top-level menu the sub-menu appears in the absolute top left of the
> view-port! Bah! I don't know what I've done wrong. I've used jdMenu at
> another client of mine, and it works great in both FF and IE. This time
> around however, I *am* customizing the css file quite a bit to better suit
> my needs.
>
> The problem can be seen here .
>
> This is causing me much aggravation, and more time at this one particular
> client that I should really be spending.
>
> I would *really* appreciate anyone's help on this problem. Of course, I'll
> keep working on finding a solution, but if someone knows what I'm going
> through, or can offer suggestions, that'd be great.
>
> Thanks,
>
> Chris
>
>
> --
> http://cjordan.us
>
>
>


-- 
http://cjordan.us


[jQuery] Re: validate

2008-01-21 Thread Jörn Zaefferer


Mileto schrieb:

How with you to add rules and messages in the Plugin Validate in
fields that they are added by the user? In my form, the user clicks on
a button and to add a block of fields. I need that these blocks are
validated also.
  
Check out this example: 
http://jquery.bassistance.de/validate/demo/dynamic-totals.html


A few details about the different ways to specify validation rules are 
here: http://docs.jquery.com/Plugins/Validation/rules


Jörn



[jQuery] Re: Another jdMenu problem... IE specific...

2008-01-21 Thread Karl Swedberg
It looked to me like it was being positioned correctly. Also looks  
like you have a broken link to a rollover image for the top-level nav  
items. I'm guessing that the sub-menus are using position:absolute for  
their positioning, so you'll need to have a parent element given  
position:relative in order for the submenus to be positioned relative  
to those parent elements rather than the body element.


Hope that helps.


--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Jan 21, 2008, at 1:42 PM, Chris Jordan wrote:


Hi folks.

I'm having another problem with the jdMenu plug-in. In IE when I  
hover over the top-level menu the sub-menu appears in the absolute  
top left of the view-port! Bah! I don't know what I've done wrong.  
I've used jdMenu at another client of mine, and it works great in  
both FF and IE. This time around however, I *am* customizing the css  
file quite a bit to better suit my needs.


The problem can be seen here.

This is causing me much aggravation, and more time at this one  
particular client that I should really be spending.


I would *really* appreciate anyone's help on this problem. Of  
course, I'll keep working on finding a solution, but if someone  
knows what I'm going through, or can offer suggestions, that'd be  
great.


Thanks,

Chris


--
http://cjordan.us




[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-21 Thread Feed

Really, really sorry I sent the wrong link!

This is the right one:

http://www.mz-ir.com/mzdesign/portfolio/portfolio.asp


[jQuery] Another jdMenu problem... IE specific...

2008-01-21 Thread Chris Jordan
Hi folks.

I'm having another problem with the jdMenu plug-in. In IE when I hover over
the top-level menu the sub-menu appears in the absolute top left of the
view-port! Bah! I don't know what I've done wrong. I've used jdMenu at
another client of mine, and it works great in both FF and IE. This time
around however, I *am* customizing the css file quite a bit to better suit
my needs.

The problem can be seen here .

This is causing me much aggravation, and more time at this one particular
client that I should really be spending.

I would *really* appreciate anyone's help on this problem. Of course, I'll
keep working on finding a solution, but if someone knows what I'm going
through, or can offer suggestions, that'd be great.

Thanks,

Chris


-- 
http://cjordan.us


[jQuery] Re: $(window).scrollLeft is not a function ... help! :o(

2008-01-21 Thread Chris Jordan
Problem solved. I feel stupid. It was a typo in my path to the .js source
for the dimensions plug-in. Duh. :o/

Chris

On Jan 21, 2008 10:25 AM, Chris Jordan <[EMAIL PROTECTED]> wrote:

> Hi folks,
>
> I'm trying to use jdMenu for jQuery (which I have successfully used
> before), but I'm getting the following errors when trying to use it this
> time around (1.3.beta2).
>
> When using the unpacked version I get:
>
>$(window).scrollLeft is not a function
>
> When using the packed version I get the following:
>
> missing ; before statement
>
> ... which then causes this error:
>
> $("ul.jd_menu").jdMenu is not a function
>
> Can anybody help? I really need this menu to work right now.
>
> Thanks so much,
> Chris
>
> --
> http://cjordan.us




-- 
http://cjordan.us


[jQuery] [plugin] Facebox

2008-01-21 Thread Mika Tuupola



Maybe old news, but found from the intterwebs:

http://famspam.com/facebox/

--
Mika Tuupola
http://www.appelsiini.net/



[jQuery] Re: xml parsing - what am i doing wrong?

2008-01-21 Thread Alexandre Plennevaux

ok this beats me, i' m about to smatch the PC can you let me know what i'm 
missing ?

i 've got my xml search function working:

function findAnchor(projectName, xml){
var myscape = $("scape[title='" + UI.sortBy + "']", xml.responseText);
var myItem = myscape.find('item[title="' + projectName + '"]');
var myCol  = myItem.parent();
myVal = myCol.attr('title');
$.log("dsanchor for " + projectName + " in scape:" + UI.sortBy + "=" + 
myVal);
return myVal;
}


   but i must be doing wrong in traversing, because, say UI.sortBy='time', 
projectName='test-release'  it keeps on returning myVal='title' when it should 
be '2007', why ???

here is the xml 'im loading...

















































[jQuery] Re: help with jframe plugin :)

2008-01-21 Thread rolfsf


I don't know jFrame, and haven't spent much time looking, but according to
the jFrame documentation:


The following JavaScript files must be included in the head section of your
HTML page :

jquery.js : http://docs.jquery.com/Downloading_jQuery
jquery.form.js : http://www.malsup.com/jquery/form/#download
jquery.jframes.js :
http://ftp.pimentech.net/src/pimentech-scripts/scripts/src/js/jquery.jframe.js


You haven't included jquery.form.js in your document. Perhaps start
there...?



Piere wrote:
> 
> 
> http://members.chello.at/stickray/ajax
> 
> i need to call this jframe per javascript, ive wrote my own function
> but isnt working :/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/help-with-jframe-plugin-%3A%29-tp15000569s27240p15001702.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: xml parsing - what am i doing wrong?

2008-01-21 Thread Alexandre Plennevaux

-- Original Message --
To: jQuery (English) (jquery-en@googlegroups.com)
From: David Decraene ([EMAIL PROTECTED])
Subject: [jQuery] Re: xml parsing - what am i doing wrong?
Date: 21/1/2008 16:38:20

and even if it would return on time (synchronous call) you wouldn't
really return it with datascape.getAllAnchors (return is wrapped
inside the get object).

This might or might not work depending on the timing:
datascape.getAllAnchors = function(anchors){
$.get("projects/datascapes.xml",function(data){
   anchors  = $(data);
});
}
depends on how fast you need it, but it's better to wrap everything in
a function that only gets executed once the data has been completely
loaded?

function dosomething(data){
var xx = data. etc
  var thisDS = $('scape[title="'+UI.section+'"]', datascape.anchors);
var dsAnchorVar = $('item[title="' + $proj +
'"]',thisDS).parents('col').attr('title');
$.log("anchor "+$proj+"= "+ dsAnchorVar );

}

$.get("projects/datascapes.xml",dosomething);

David
http://ontologyonline.org

On Jan 21, 3:53 pm, David Decraene <[EMAIL PROTECTED]> wrote:
> the get is asynchronous,
> meaning that datascape.getAllAnchors is returned (nothing/undefined)
> before the ajaxall (get) returns success.
>
> On Jan 21, 3:41 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
> wrote:
>
> > Hello,
>
> > i'm loading a bit of xml and i'm trying to use the loaded data, but i 'm 
> > unsuccessful traversing it so far. Can you tell me what i'm doing wrong?
>
> > here is the loading code:
>
> > datascape.getAllAnchors = function(){
> > $.get("projects/datascapes.xml",function(data){
> > return $(data);
> > });
>
> > }
>
> > then further down, i need to retrieve an item's parent  col element "title" 
> > attribute.
>
> > jQuery(function($){
>
> > ...
>
> > var thisDS = $('scape[title="'+UI.section+'"]', datascape.anchors);
> > var dsAnchorVar = $('item[title="' + $proj + 
> > '"]',thisDS).parents('col').attr('title');
> > $.log("anchor "+$proj+"= "+ dsAnchorVar );
>
> > });
>
> > the console keeps on showing dsAnchorVar as "undefined"
>
> > the xml file:
>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
>
> > 
> > 
>
> > Thanks for any help,
>
> > Alexandre





thanks a lot for all your help. what i need in fact is to get a reference table 
(stored in the xml file) that i will query many times, with different 
parameters. But with your various replies you already showed me more or less 
howto do it, i'll try to work it out , thanks again



[jQuery] $(window).scrollLeft is not a function ... help! :o(

2008-01-21 Thread Chris Jordan
Hi folks,

I'm trying to use jdMenu for jQuery (which I have successfully used before),
but I'm getting the following errors when trying to use it this time around
(1.3.beta2).

When using the unpacked version I get:

   $(window).scrollLeft is not a function

When using the packed version I get the following:

missing ; before statement

... which then causes this error:

$("ul.jd_menu").jdMenu is not a function

Can anybody help? I really need this menu to work right now.

Thanks so much,
Chris

-- 
http://cjordan.us


[jQuery] Re: xml parsing - what am i doing wrong?

2008-01-21 Thread Diego A.

Where do you define "datascape.anchors"?
You use it as the context for this line, but you don't seem to have
defined it anywhere.
var thisDS = $('scape[title="'+UI.section+'"]', datascape.anchors);

Also, your jquery call is returning the jQuery version of the XML to
nowhere.

All you need to do is put the processing within the ajax call:

datascape.getAllAnchors = function(){
$.get("projects/datascapes.xml",function(){
datascape.anchors = $(data);
var thisDS = $('scape[title="'+UI.section+'"]',
datascape.anchors);
var dsAnchorVar = $('item[title="' + $proj +
'"]',thisDS).parents('col').attr('title');
$.log("anchor "+$proj+"= "+ dsAnchorVar );

});

}


On Jan 21, 2:41 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> i'm loading a bit of xml and i'm trying to use the loaded data, but i 'm 
> unsuccessful traversing it so far. Can you tell me what i'm doing wrong?
>
> here is the loading code:
>
> datascape.getAllAnchors = function(){
> $.get("projects/datascapes.xml",function(data){
> return $(data);
> });
>
> }
>
> then further down, i need to retrieve an item's parent  col element "title" 
> attribute.
>
> jQuery(function($){
>
> ...
>
> var thisDS = $('scape[title="'+UI.section+'"]', datascape.anchors);
> var dsAnchorVar = $('item[title="' + $proj + 
> '"]',thisDS).parents('col').attr('title');
> $.log("anchor "+$proj+"= "+ dsAnchorVar );
>
> });
>
> the console keeps on showing dsAnchorVar as "undefined"
>
> the xml file:
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
>
> Thanks for any help,
>
> Alexandre


[jQuery] Re: UI library loader

2008-01-21 Thread spinnach


cool plugin! but just as a sidenote, jquery already has a $.merge 
function (saw in the code you add it as a array.prototype)..


dennis.

Sergei wrote:


Hey everybody, I've made a little tool for jQuery UI library to help
developers to load all needed libraries with one line of code. More:
http://uniqueculture.net/blog/archives/3

Thanks





[jQuery] Re: Is there a way to hide the script

2008-01-21 Thread Diego A.

You need to help people help you. Why did it not work? did you get any
error messages?

Have you read some basic tutorials on how to do it?
http://www.google.co.uk/search?q=external+js+file+tutorial


On Jan 21, 3:52 pm, DeaR <[EMAIL PROTECTED]> wrote:
> I've tried already putting all the scripts in a file, and imported it into
> the html file like  and it didn't work
> as supposed to..
>
>
>
> Fabien Meghazi-2 wrote:
>
> >> If I make a long jQuery script, and when the webpage is loaded, when we
> >> look
> >> at the source code, then everyone will be able to see the jQuery script.
> >> Are
> >> there any ways to get this hidden. I wanna hide these scripts for SEO
> >> reason
> >> as well...
>
> > Why don't you put your code in a .js file that you include in your
> > html with the 

[jQuery] Re: xml parsing - what am i doing wrong?

2008-01-21 Thread David Decraene

and even if it would return on time (synchronous call) you wouldn't
really return it with datascape.getAllAnchors (return is wrapped
inside the get object).

This might or might not work depending on the timing:
datascape.getAllAnchors = function(anchors){
$.get("projects/datascapes.xml",function(data){
   anchors  = $(data);
});
}
depends on how fast you need it, but it's better to wrap everything in
a function that only gets executed once the data has been completely
loaded?

function dosomething(data){
var xx = data. etc
  var thisDS = $('scape[title="'+UI.section+'"]', datascape.anchors);
var dsAnchorVar = $('item[title="' + $proj +
'"]',thisDS).parents('col').attr('title');
$.log("anchor "+$proj+"= "+ dsAnchorVar );

}

$.get("projects/datascapes.xml",dosomething);

David
http://ontologyonline.org

On Jan 21, 3:53 pm, David Decraene <[EMAIL PROTECTED]> wrote:
> the get is asynchronous,
> meaning that datascape.getAllAnchors is returned (nothing/undefined)
> before the ajaxall (get) returns success.
>
> On Jan 21, 3:41 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
> wrote:
>
> > Hello,
>
> > i'm loading a bit of xml and i'm trying to use the loaded data, but i 'm 
> > unsuccessful traversing it so far. Can you tell me what i'm doing wrong?
>
> > here is the loading code:
>
> > datascape.getAllAnchors = function(){
> > $.get("projects/datascapes.xml",function(data){
> > return $(data);
> > });
>
> > }
>
> > then further down, i need to retrieve an item's parent  col element "title" 
> > attribute.
>
> > jQuery(function($){
>
> > ...
>
> > var thisDS = $('scape[title="'+UI.section+'"]', datascape.anchors);
> > var dsAnchorVar = $('item[title="' + $proj + 
> > '"]',thisDS).parents('col').attr('title');
> > $.log("anchor "+$proj+"= "+ dsAnchorVar );
>
> > });
>
> > the console keeps on showing dsAnchorVar as "undefined"
>
> > the xml file:
>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
>
> > 
> > 
>
> > Thanks for any help,
>
> > Alexandre


[jQuery] Re: Is there a way to hide the script

2008-01-21 Thread DeaR


I've tried already putting all the scripts in a file, and imported it into
the html file like  and it didn't work
as supposed to..


Fabien Meghazi-2 wrote:
> 
> 
>> If I make a long jQuery script, and when the webpage is loaded, when we
>> look
>> at the source code, then everyone will be able to see the jQuery script.
>> Are
>> there any ways to get this hidden. I wanna hide these scripts for SEO
>> reason
>> as well...
> 
> Why don't you put your code in a .js file that you include in your
> html with the 

[jQuery] UI library loader

2008-01-21 Thread Sergei

Hey everybody, I've made a little tool for jQuery UI library to help
developers to load all needed libraries with one line of code. More:
http://uniqueculture.net/blog/archives/3

Thanks


[jQuery] Re: clone() problem in IE7

2008-01-21 Thread Leu

Yes there seems to be a problem.
Here is an example what doesn't work in IE7 (don't know about IE6) but
works in FF.

row = $('#protoRow');
...
clonedObject = row.clone(true);

After the clone() call, working with the object "clonedObject" doesn't
work anymore, for example:

clonedObject.find('td:eq(0)').attr('id', 'test'+i);
This will not work in IE7 after the clone(true), but works in FF

It could also be something simpler:
clonedObject.html('bla');
clonedObject.attr('id'); //Gives back undefined

On Jan 16, 7:16 pm, John M Lauck <[EMAIL PROTECTED]> wrote:
> Is there an issue using clone() in IE7?  I'm not having trouble in
> Firefox 2 but IE7 seems to ignore this method.


[jQuery] Re: Help with FORM plugin

2008-01-21 Thread carvingcode

I solved the problem by placing a " $(document).ready(function(){"
call in the file being loaded into the tab (using UI.TABS).  Once I
did this, and of course added th other necessary FORM plugin goodies)
all worked fine.

I had thought that the file being loaded into the tab was included in
the DOM (it shows in FireBug), but I guess it must be added after the
creation of the tab interface.

BTW: Really enjoying working with jQuery and friends.  I had initially
started the project I'm working on using Adobe's Spry.  While all
worked well, there seemed to be a lot more coding and overhead.  And,
knowing Adobe is quite profit-centered, was not comfortable using Spry
for an open source project.



[jQuery] help with jframe plugin :)

2008-01-21 Thread Piere

http://members.chello.at/stickray/ajax

i need to call this jframe per javascript, ive wrote my own function
but isnt working :/


[jQuery] Re: Author of UI-Tabs Plug-in?

2008-01-21 Thread Rick Faircloth

Thanks, Klaus...

I suspected that I might need to do some coding
for the "mouseout" function or "mouseleave" as the new
binding feature in jQuery 1.2 is calling it, I believe.

Thanks for the code, too.  I'll a look and see what I can do.

Rick

> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Klaus 
> Hartl
> Sent: Monday, January 21, 2008 8:37 AM
> To: jQuery (English)
> Subject: [jQuery] Re: Author of UI-Tabs Plug-in?
> 
> 
> On 21 Jan., 00:36, "Rick Faircloth" <[EMAIL PROTECTED]> wrote:
> > Hi, Klaus...and thanks for the response.
> >
> > What I want to do is create a tabs setup that
> > will operate as follows and the UI/Tabs settings
> > that will cause this functionality:
> >
> > - Initially, the tab details don't show at all
> > - When a tab is moused over, the details for that tab slide in
> > - When the tab or the details div for tab is on display, and the
> >   mouse is moved off the tab and is not on details div, the details
> >   div slides up
> > - When a tab is moused over, the details div for that tab is displayed
> >   and if the user moves the mouse over the menu items horizontally, the
> >   details div remains on display, but the content change appropriately.
> >
> > I want a "mouse event" controlled version (mouseover and mouseout) that
> > works like the demo for the click-controlled version.
> >
> > Does that make any sense?
> >
> > Rick
> 
> To hide tabs in the beginning set the unselected option to true, for
> sliding set fxSlide option to true, for mouseover changing tabs set
> event to "mouseover". For the mouseout thingy you need to code your
> own solution, so far there isn't anything out-of-the-box (code
> untested but it should point you in the right direction):
> 
> var $tabs = $('#foo').tabs({
> unselected: true,
> event: 'mouseover'
> fxSlide: true
> });
> 
> var $panels = $('div.ui-tabs-panel');
> var timer;
> 
> $('li', $tabs).bind('mouseleave', function(e) {
> timer = setTimeout(function() {
> $panels.addClass('ui-tabs-hide');
> }, 200);
> });
> 
> $panels.bind('mouseenter', function() {
> clearTimeout(timer);
> });
> 
> FInd out more about all the available options in the documentation:
> http://docs.jquery.com/UI/Tabs/tabs#initialoptions
> 
> Note that I'm using the brand new "mouseleave" and "mouseenter" events
> for some convenience, thus you need jQuery 1.2.2 for this.
> 
> 
> --Klaus




[jQuery] Problem with Ajax and Firefox - request status is 0

2008-01-21 Thread Mario Villar

Hi everyone. I'm having trouble using the $ajax() jQuery function.

The same happens to me in three diferent Ajax calls in two different
projects. I'll post sample code of one of them, since I can't really
find a pattern common to all three (but different than the other Ajax
calls in my code that work as expected):

function ajaxSendForm() {
   data = {
  command: 'save',
  // a bunch of parameter names and values taken from the form
   };
$.ajax({
url: "ajaxOrderForm.aspx",
type: "POST",
dataType: "xml",
cache: false,
data: data,
error: function(req, err, obj) {
alert ("Error in Ajax call: " + err + " - " + req.status);
   },
   success: function (xml) {
 // Process return data
   }
   });
}

This produces an alert with the text: "Error in Ajax call:  - 0", that
is, empty error message and a value of 0 for the status member of the
HttpXMLRequest object. If I check the server logs I can see that the
server code is being executed. This only happens in Firefox (version
2.0.0.11, Firebug 1.05 installed), not Internet Explorer; and if I
execute the Ajax call again, it does work as expected. I have
introduced
this patch that seems to do the trick:

error: function(req, err, obj) {
// _sffirst is a global variable initialized to true;
if (_sffirst && (req.status == 0) ) {
_sffirst = false;
ajaxSendForm();
} else {
alert ("Error in Ajax call: " + err + " - " +
req.status);
}
},

This is somewhat acceptable for data recovery, but not for data
storage - I don't want every order to be recorded twice!

Has anyone else encountered this problem? Is it an error in jQuery, in
the native HttpXMLRequest object, or is it something I'm doing wrong?

Thanks in advance.


[jQuery] Masked input plugin for hour

2008-01-21 Thread brunoefa


How accept only the minutes 00, 15, 30, 45 using the masked input plugin for
hour? thanks
-- 
View this message in context: 
http://www.nabble.com/Masked-input-plugin-for-hour-tp14997181s27240p14997181.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: xml parsing - what am i doing wrong?

2008-01-21 Thread Alexandre Plennevaux

thanks for that. i tried setting async to false, but still, no luck. i can't 
make it work the way  i need it to, so let me rephrase my question:

how can i store the content of an external xml file as a jquery object ?

thanks for your help,

alexandre



[jQuery] Re: jquery 1.2.2 and animate()

2008-01-21 Thread besh

Hi Stefan,

try this one: http://plugins.jquery.com/project/color

--
Bohdan Ganicky

On Jan 21, 1:21 pm, "Stefan Kilp [sk-software]" <[EMAIL PROTECTED]>
wrote:
> hi,
>
> what is the best way to animate background-color with jquery.
>
> i tried
>
> $j(this).animate({backgroundColor:"#ff"}, 2000)
>
> to get a red background, but it doesn't work.
>
> do i have to use any plugins?
>
> thanks
> stefan
> --
> Stefan Kilp
> SK-Software, Entwicklung & Beratung
>
> email: [EMAIL PROTECTED]
>
> fon  : +49 6151 93344-0
> fax  : +49 6151 93344-20
> Herta-Mansbacher-Str. 98
> 64289 Darmstadt, Germany.
> -


[jQuery] validate

2008-01-21 Thread Mileto

How with you to add rules and messages in the Plugin Validate in
fields that they are added by the user? In my form, the user clicks on
a button and to add a block of fields. I need that these blocks are
validated also.


[jQuery] Re: xml parsing - what am i doing wrong?

2008-01-21 Thread David Decraene

the get is asynchronous,
meaning that datascape.getAllAnchors is returned (nothing/undefined)
before the ajaxall (get) returns success.


On Jan 21, 3:41 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> i'm loading a bit of xml and i'm trying to use the loaded data, but i 'm 
> unsuccessful traversing it so far. Can you tell me what i'm doing wrong?
>
> here is the loading code:
>
> datascape.getAllAnchors = function(){
> $.get("projects/datascapes.xml",function(data){
> return $(data);
> });
>
> }
>
> then further down, i need to retrieve an item's parent  col element "title" 
> attribute.
>
> jQuery(function($){
>
> ...
>
> var thisDS = $('scape[title="'+UI.section+'"]', datascape.anchors);
> var dsAnchorVar = $('item[title="' + $proj + 
> '"]',thisDS).parents('col').attr('title');
> $.log("anchor "+$proj+"= "+ dsAnchorVar );
>
> });
>
> the console keeps on showing dsAnchorVar as "undefined"
>
> the xml file:
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
>
> Thanks for any help,
>
> Alexandre


[jQuery] Re: jquery 1.2.2 and animate()

2008-01-21 Thread Cloudream

try official color plugin http://plugins.jquery.com/project/color

On Jan 21, 8:21 pm, "Stefan Kilp [sk-software]" <[EMAIL PROTECTED]>
wrote:
> hi,
>
> what is the best way to animate background-color with jquery.
>
> i tried
>
> $j(this).animate({backgroundColor:"#ff"}, 2000)
>
> to get a red background, but it doesn't work.
>
> do i have to use any plugins?
>
> thanks
> stefan
> --
> Stefan Kilp
> SK-Software, Entwicklung & Beratung
>
> email: [EMAIL PROTECTED]
>
> fon  : +49 6151 93344-0
> fax  : +49 6151 93344-20
> Herta-Mansbacher-Str. 98
> 64289 Darmstadt, Germany.
> -


[jQuery] Help with FORM plugin

2008-01-21 Thread carvingcode

Hi Group -

The FORM plugin .js file shows up in FireBug, so I know it is being
loaded.  I've attempted to use both .ajaxForm and binding .ajaxSubmit
to my form, but for some reason the FORM plugin .js is not being
called.  (NOTE:  I've even used sample code from the FORM plugin docs
(and was sure to edit in the name of my form ID into the examples.)

Some other info:

* My form is being loaded into the page via UI.TABS.
* When submitting, the user ends up looking at the blank response from
the .php file used to submit form data. Form is being submitted.
* When using the code from docs, no result from "showRequest" or
"showResponse" is shown.

I'm sure there is something I'm overlooking and would appreciate a
swift nudge in the right direction.

TIA


[jQuery] Re: jquery 1.2.2 and animate()

2008-01-21 Thread chrismarx

yeah, the color plugin, its sweet.

http://plugins.jquery.com/project/color

On Jan 21, 7:21 am, "Stefan Kilp [sk-software]" <[EMAIL PROTECTED]>
wrote:
> hi,
>
> what is the best way to animate background-color with jquery.
>
> i tried
>
> $j(this).animate({backgroundColor:"#ff"}, 2000)
>
> to get a red background, but it doesn't work.
>
> do i have to use any plugins?
>
> thanks
> stefan
> --
> Stefan Kilp
> SK-Software, Entwicklung & Beratung
>
> email: [EMAIL PROTECTED]
>
> fon  : +49 6151 93344-0
> fax  : +49 6151 93344-20
> Herta-Mansbacher-Str. 98
> 64289 Darmstadt, Germany.
> -


[jQuery] effects reduce frames

2008-01-21 Thread nik.mda

There is a way to reduce frames of jquery effects? I mean something
like setting for "animate" a parameter - numberOfFrames per second.
This I want for optimizing the way in that effects are displaying on
slow machines. In firebug i see that opacity is changing from 1 to
0.99, 0.9997 etc.. If there will be 8 frames per second, and
effect duration will be 1 second than opacity should change from 1 to
0.875, 0.75, 0.625 etc..


[jQuery] Re: clone() problem in IE7

2008-01-21 Thread Jason Davies

On Jan 16, 6:16 pm, John M Lauck <[EMAIL PROTECTED]> wrote:
> Is there an issue using clone() in IE7?  I'm not having trouble in
> Firefox 2 but IE7 seems to ignore this method.

I'm having a problem with this too: calling row.clone(true) causes a
"'nodeType' is null or not an object" error in IE7.  Any ideas?  This
is using jQuery 1.2.2.

Jason


[jQuery] Re: Jeditable + if error

2008-01-21 Thread frizzle

Please, anyone?

On Jan 14, 6:59 pm, frizzle <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I've recently discovered jQuery and especially Jeditable. It's very
> good, only i wonder how on earth can i add an error message if PHP has
> validated the input and doesn't "agree". (E.g. invalid chars).
>
> In the best case i could display a message below the text field or
> change the CSS of the text field with some explanation of the error.
>
> I hope it's kinda clear...
>
> Thanks,Frizzle.


[jQuery] jFrame :)

2008-01-21 Thread Piere

Hi all,

iam using the jFrame Plugin but somehow i need to accsess the jFrames
per Flash :/ I couldnt figure out how i should call the API to load a
Frame per javascript.

maybe someone can possible help me there? =) thanks


[jQuery] xml parsing - what am i doing wrong?

2008-01-21 Thread Alexandre Plennevaux

Hello,

i'm loading a bit of xml and i'm trying to use the loaded data, but i 'm 
unsuccessful traversing it so far. Can you tell me what i'm doing wrong?


here is the loading code:

datascape.getAllAnchors = function(){
$.get("projects/datascapes.xml",function(data){
return $(data);
});
}

then further down, i need to retrieve an item's parent  col element "title" 
attribute.


jQuery(function($){

...


var thisDS = $('scape[title="'+UI.section+'"]', datascape.anchors);
var dsAnchorVar = $('item[title="' + $proj + 
'"]',thisDS).parents('col').attr('title');
$.log("anchor "+$proj+"= "+ dsAnchorVar );

});


the console keeps on showing dsAnchorVar as "undefined"


the xml file:
































Thanks for any help,

Alexandre




[jQuery] reset cloned

2008-01-21 Thread rayfidelity

Hi,

Is there an easy way to reset the cloned input fields (text and
select) after they're cloned (preserving the parents value)?

Thanks


[jQuery] Re: Tabs and Hide/Show Divs

2008-01-21 Thread Klaus Hartl

On Jan 21, 1:22 am, MikeP <[EMAIL PROTECTED]> wrote:
> Hello.
> I'm using tabs to display lists of 
> data.http://stilbuero.de/jquery/tabs_3/http://dev.jquery.com/view/trunk/ui/current/ui.tabs.js
>
>  When you click on an item in the list, I display a div.
> $('#problempanel').show();
>
> If you click on another tab, I would like the div to hide.
>
> How can I add this?
>
> I tried an "onclick" event but then it goes to my function to hide the
> div and doesn't run the tab function.
>
> Thanks,
> Mike

The event/callback option is called "click", not "onclick". You can
find a complete documentation for tabs here: 
http://docs.jquery.com/UI/Tabs/tabs#initialoptions

Try:

$('#whatever').tabs({
click: function() {
$('#problempanel').hide();
}
});


--Klaus


[jQuery] Re: Problem with tablesorter

2008-01-21 Thread Christian Bach
Hi Guys,

I will see to it that i incorporate this into the next bug fix version of
tablesorter.

Thanks for spotting it!

/Christian

2008/1/17, Cesar <[EMAIL PROTECTED]>:
>
>
> I encountered this bug the alternate fix, if you want to use version
> 2.0 of the metadata plugin, is to open up tablesorter, and find/
> replace $.meta/$.metadata and .data()/.metadata().
>
> For the lazy people out there you can grab my version here: (Use at
> your own risk)
> http://blog.codafoo.com/javascripts/jquery.tablesorter.min.js
>
> On Jan 2, 8:51 am, KnoxBaby <[EMAIL PROTECTED]> wrote:
> > got it to work with the version of metadata that comes with the
> > release from tablesorter.com!
> >
> > On 1 Jan., 13:45, KnoxBaby <[EMAIL PROTECTED]> wrote:
> >
> > > Hello,
> >
> > > after a long discussion with karl about cluetip (http://
> > > groups.google.com/group/jquery-en/browse_thread/thread/
> > > 26229d51487e3bf9/2140d6480c81b21a#2140d6480c81b21a), I have the
> > > problem, that the inline options fortablesorterdon't work anymore:
> >
> > >http://www.jahlabs.de/jquery/test/
> >
> > > e.g. I have set class="{sorter: false}" to the column "Aktion" since
> > > it's stupid to sort after it but that's not recognized anymore ... :(
> >
> > > What's wrong about it???
> >
> > > Thanks :)
>


[jQuery] Re: Author of UI-Tabs Plug-in?

2008-01-21 Thread Klaus Hartl

On 21 Jan., 00:36, "Rick Faircloth" <[EMAIL PROTECTED]> wrote:
> Hi, Klaus...and thanks for the response.
>
> What I want to do is create a tabs setup that
> will operate as follows and the UI/Tabs settings
> that will cause this functionality:
>
> - Initially, the tab details don't show at all
> - When a tab is moused over, the details for that tab slide in
> - When the tab or the details div for tab is on display, and the
>   mouse is moved off the tab and is not on details div, the details
>   div slides up
> - When a tab is moused over, the details div for that tab is displayed
>   and if the user moves the mouse over the menu items horizontally, the
>   details div remains on display, but the content change appropriately.
>
> I want a "mouse event" controlled version (mouseover and mouseout) that
> works like the demo for the click-controlled version.
>
> Does that make any sense?
>
> Rick

To hide tabs in the beginning set the unselected option to true, for
sliding set fxSlide option to true, for mouseover changing tabs set
event to "mouseover". For the mouseout thingy you need to code your
own solution, so far there isn't anything out-of-the-box (code
untested but it should point you in the right direction):

var $tabs = $('#foo').tabs({
unselected: true,
event: 'mouseover'
fxSlide: true
});

var $panels = $('div.ui-tabs-panel');
var timer;

$('li', $tabs).bind('mouseleave', function(e) {
timer = setTimeout(function() {
$panels.addClass('ui-tabs-hide');
}, 200);
});

$panels.bind('mouseenter', function() {
clearTimeout(timer);
});

FInd out more about all the available options in the documentation:
http://docs.jquery.com/UI/Tabs/tabs#initialoptions

Note that I'm using the brand new "mouseleave" and "mouseenter" events
for some convenience, thus you need jQuery 1.2.2 for this.


--Klaus


[jQuery] Re: Post-load images? Tips?

2008-01-21 Thread Mika Tuupola



On Jan 21, 2008, at 10:02 AM, Micky Hulse wrote:



A bit more info:

The hardest part for me to figure-out is the best approach for knowing
when all of the needed images are loaded... I think I can handle all  
the

other aspects of the coding.

Is there a good technique for knowing when a group of images has fully
loaded?


One way would be to preload images sequentially one by one. When the  
last one is loaded then you could be sure all images are fully loaded.  
Something like:


-cut-
$(window).bind('load', function() {
var preload = new Array('image_1.png', 'image_2.png', 'image_3.png');
var img = document.createElement('img');
$(img).bind('load', function() {
if(preload[0]) {
this.src = preload.shift();
}  else {
/* all images have been loaded */
}
}).trigger('load');
});
-cut-

--
Mika Tuupola
http://www.appelsiini.net/



[jQuery] Re: Is there a way to hide the script

2008-01-21 Thread Fabien Meghazi

> If I make a long jQuery script, and when the webpage is loaded, when we look
> at the source code, then everyone will be able to see the jQuery script. Are
> there any ways to get this hidden. I wanna hide these scripts for SEO reason
> as well...

Why don't you put your code in a .js file that you include in your
html with the 

[jQuery] jquery 1.2.2 and animate()

2008-01-21 Thread Stefan Kilp [sk-software]

hi,

what is the best way to animate background-color with jquery.

i tried 

$j(this).animate({backgroundColor:"#ff"}, 2000)

to get a red background, but it doesn't work.

do i have to use any plugins?

thanks
stefan
--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Post-load images? Tips?

2008-01-21 Thread Micky Hulse

Hi,

I am trying to load a group of images at the $(window).load(...)
event, and then once the group is fully loaded, I want to swap the CSS
background of specific divs with said loaded images.

I am wondering what you all would suggest for an approach? Any pseudo-
code suggestions?

I am just basically needing a slight push in the right direction...
This is for a personal project, and I am doing it mainly for jQuery
learning purposes. ;)

Many thanks in advance!
Cheers,
M


[jQuery] Re: Manipulate Element After Being Added to DOM

2008-01-21 Thread Kenneth Ko
>From what you described, you are adding the element after you have bound
an event.
So your code is really doing:
1. bind function to click event of some element
2. add some element to the dom
 
you can clearly see the event wont get attached to the element.
 
you'll either have to call the code again after the element is added;
or i would suggest looking at "event delegation"
 



From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Quackenbush
Sent: Monday, 21 January 2008 1:45 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Manipulate Element After Being Added to DOM


Hello,

I'm working on a form that allows the user to click an "Add an Item"
button in order to add another item to their order.  When this button is
clicked, I have jQuery add another couple of fields to the form, so the
user can input the data.  Along with the added form fields, a "Remove
This Item" button is also added to the DOM.  All of this portion works
nicely.  It's the reverse that I'm having trouble with. 

What I'm trying to do is to call empty() on the container of the clicked
"Remove This Item" button (actually, an anchor).  I am getting no errors
at all in FireBug, but when the anchor is clicked, the jQuery script is
completely ignored and the browser follows the link. 

So, my question is: does jQuery support manipulation of an element that
has been added to the DOM via Javascript?  I would assume that it does,
but I'm not understanding why my "remove" function (code below) is being
ignored. 

$("a.remove-item").click(function() {
var splt = $(this).attr("id").split("-");
var n = splt[1];
$("#container-" + n).empty();
return false;
}); 


Thanks in advance,

Matt



NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Group Limited or third parties. If you are not the 
intended recipient of this email you should not read, print, re-transmit, store 
or act in reliance on this e-mail or any attachments, and should destroy all 
copies of them. Macquarie Group Limited does not guarantee the integrity of any 
emails or any attached files. The views or opinions expressed are the author's 
own and may not reflect the views or opinions of Macquarie Group Limited.



[jQuery] datepicker

2008-01-21 Thread Lionel Martelly
Hello,

I am facing an issue with interface where only version 1.02 of jquery works.
I managed to make all other scripts work with that, except datepicker. The 
problem I am having with date picker and 1.02, once it opens, all functions are 
available, it inserts dates, you can navigate the months ypu can clear items 
but it will not close on clicking the close button or self close after the 
second date is put.

Is there anything I could add to it to make it work?

$('#period').datepicker({dateFormat: 'MM d, yy', rangeSelect: true, firstDay: 
1});



Thank you!
___
Lionel Martelly

[jQuery] Re: flicker problem with slide

2008-01-21 Thread tashfeen.ekram

here is an example of the problem i am getting it. oddly enough, it
work fine on ie7 but not on FF 2.0.
http://www-personal.umich.edu/~tekram/flicker/

Thanks!

On Jan 20, 1:18 pm, "tashfeen.ekram" <[EMAIL PROTECTED]> wrote:
> So, I have noticed if I put a padding bewteen the bottom of my div
> layer that i am hiding ($("mydiv").hide()) and the div layer beneath
> it (that is static and not changing) the flickering goes away. any
> thoughts of getting around this?
>
> On Jan 20, 9:28 am, "tashfeen.ekram" <[EMAIL PROTECTED]> wrote:
>
> > It seems there have been a lot of talk about the flicker problem but i
> > can find the solution in the various discussion for the life of me.
>
> > I am trying to make a div layer disappear with hide and do a slideDown
> > on the div layer i want in its place. it flickers on both ie7 and ff.
>
> > thanks


[jQuery] Tabs and Hide/Show Divs

2008-01-21 Thread MikeP

Hello.
I'm using tabs to display lists of data.
http://stilbuero.de/jquery/tabs_3/
http://dev.jquery.com/view/trunk/ui/current/ui.tabs.js


 When you click on an item in the list, I display a div.
$('#problempanel').show();

If you click on another tab, I would like the div to hide.

How can I add this?

I tried an "onclick" event but then it goes to my function to hide the
div and doesn't run the tab function.

Thanks,
Mike


[jQuery] Re: Help with draggable / droppable

2008-01-21 Thread Kevin Thorpe
The problem is, I think, that the draggable plugin if used without a 
helper modifies the dragged element to position: absolute.
At that point moving it in the DOM doesn't have any visible effect, it 
simply sits where I let go of it instead of 'snapping' into
the destination cell. I've got it working with a helper though.

Scott González wrote:
> The draggable plugin only moves the element on screen (changes it's
> top and left offset), it does not natively affect the DOM in any other
> way.  The proper way to handle this is to do what you did in the drop
> callback, which is to modify the DOM yourself, but you shouldn't need
> a cloned helper to accomplish this.
>
>
> On Jan 18, 9:55 am, Kevin Thorpe <[EMAIL PROTECTED]> wrote:
>   
>> Thanks for your comments. I've just cracked it (I think). I was getting
>> the drop event ok but couldn't work out how to move the dragged div. It
>> was just sitting where I'd dropped it.
>>
>> The secret is to use a cloned helper with $('.drag').draggable({helper:
>> 'clone'}); and then move the original draggable div using:
>> $(".drop").droppable({
>> accept: ".drag",
>> tolerance: 'pointer',
>> activeClass: 'droppable-active',
>> hoverClass: 'droppable-hover',
>> drop: function(ev, ui) {
>>   if (this.children.length == 0) {
>> $(this).append(ui.draggable.element);
>>   }
>> }
>> });
>> I think my problem was that without a helper the draggable div is
>> converted to position: absolute so that it didn't matter which table
>> cell it was in.
>>
>> I just wish I knew more about the DOM.
>> 


-- 
Kevin Thorpe
Head of IT
Purchasing Index Ltd
Southbank House
Black Prince Road
London SE1 7SJ
tel: 020 7463 2022
fax: 020 7463 2025

Mailto: [EMAIL PROTECTED] 
URL: http://www.pricetrak.com
*/Registered in England No. 1728605/*

All views or opinions expressed in this message are solely those of the 
author. Accordingly, Purchasing Index Ltd does not accept responsibility 
for the contents of the message unless specifically stated otherwise. If 
you have received this message in error, please notify the sender and 
delete the message immediately.


[jQuery] Re: XML Processing

2008-01-21 Thread Shawn

I did it in this way
// jquery  version: 1.2.1 packed
if($.browser.msie){// in ie6
$xml=""+$response+"";//  ..  is needed for
ie6
}else{
$xml=$xml.replace("]]>","").replace("

[jQuery] Re: Post-load images? Tips?

2008-01-21 Thread Micky Hulse

A bit more info:

The hardest part for me to figure-out is the best approach for knowing 
when all of the needed images are loaded... I think I can handle all the 
other aspects of the coding.

Is there a good technique for knowing when a group of images has fully 
loaded?

Thanks! I really appreciate it.

Cheers,
M


[jQuery] this.parentNode has no properties

2008-01-21 Thread Goldielocks


Hi,

I am creating a number of divs dynamically which are all draggable. The divs
can be dropped in two different areas (#editDiv and #deleteDiv).

On drop on #deleteDiv I get "this.parentNode has no properties" straight
away. 

On drop on #editDiv it works fine when I drop the first div. If I drop a
second div I get "parent has no properties" and "oDrag.helperSize has no
properties".

Can someone please help me? I have tried to debug with firebug but I just
cannot figure out what is wrong. I have uploaded the code. The functions to
look at are createEditDragDrop and createDeleteDragDrop and then go from
there.  http://www.nabble.com/file/p14993409/edit.js edit.js 

I would be very grateful if someone could help me.

Regards
Cecilia

-- 
View this message in context: 
http://www.nabble.com/this.parentNode-has-no-properties-tp14993409s27240p14993409.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Is there a way to hide the script

2008-01-21 Thread DeaR


If I make a long jQuery script, and when the webpage is loaded, when we look
at the source code, then everyone will be able to see the jQuery script. Are
there any ways to get this hidden. I wanna hide these scripts for SEO reason
as well...

Thank you very much
-- 
View this message in context: 
http://www.nabble.com/Is-there-a-way-to-hide-the-script-tp14992459s27240p14992459.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] ie7 document not ready for namespace addition

2008-01-21 Thread chrismarx

id like to run this code

if ( this.vml_capable ) {
document.namespaces.add("v","urn:schemas-microsoft-com:vml");
document.createStyleSheet().addRule("v\\:*",
"behavior:url(#default#VML); position:absolute" );
...etc

but i get an error even when running this within $(document).ready().
it does succeed if i use a timeout of a few seconds. is there some
element for which i could listen for the load/ready event that would
signal its ok to run this code?


[jQuery] Re: .click()

2008-01-21 Thread Steffan A. Cline

on 1/6/08 11:55 PM, chrismarx at [EMAIL PROTECTED] wrote:

> 
> best to see the live page-
> 
> 
> On Jan 6, 9:32 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
>> on 1/6/08 5:29 PM, chrismarx at [EMAIL PROTECTED] wrote:
>> 
>> 
>> 
>> 
>> 
>>> first, it would be better jquery technique to bind your img outside of
>>> the onclick
>> 
>>> $('#imgID').click(function(){
>>>  $('#logo').click();
>>> });
>> 
>>> what function is executed when you trigger the click event on the logo
>>> input?
>> 
>>> On Jan 6, 5:46 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote:
 Running into something strange. I have an image with an onclick handler
 that
 calls on a hidden  via
 
 This works flawlessly in Safari, IE 6 & 7 but not in FF Mac (not sure about
 PC). Any ideas?
>> 
 Also, what is the best way when taking this approach? I have it where the
 file input is in a div. I initially tried using display:none for the
 container div but the file inputs stopped working. I changed the div to
 visibility:hidden and height: 0px and it works (with the exception above)
 anyone have a better suggestion on how to hide these inputs better?
>> 
 I am using jquery 1.1.3.1
>> 
 Suggestions?
>> 
 Thanks
>> 
 Steffan
>> 
>> I am hiding the file inputs and then parsing the data from the file input
>> onchange and placing it into a dummy text field so that there are no paths
>> etc when the end user views it. As you know, some browsers prepend the path
>> to the name in the file input and I wasn't thrilled with that. By trimming
>> the path and displaying only the file name looked more appealing. The end
>> user wants to have their own add/delete buttons for the images rather than
>> the standard "choose" button. The odd thing is that when I use the DOM
>> inspector in FF it shows that the image has the click attribute so I am not
>> sure why it's not firing. Would it beneficial to show all of the code or is
>> there enough mentioned to see why the click event fails? Odd that FF does
>> not show any errors or warnings in the error console.
>> 
>> Thanks
>> 
>> Steffan
>> 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 
http://www.w3.org/1999/xhtml";>














As stated it works in Safari and IE6&7. Any ideas why it fails in Firefox?


Thanks

Steffan

---
T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline 
[EMAIL PROTECTED] Phoenix, Az
http://www.ExecuChoice.net  USA
AIM : SteffanC  ICQ : 57234309
YAHOO : Steffan_Cline   MSN : [EMAIL PROTECTED]
GOOGLE: Steffan.Cline Lasso Partner Alliance Member
---





[jQuery] Re: ajax load, url variable question.

2008-01-21 Thread Hamish Campbell

Here's one way - it's possible, but messy, as you have to use eval. As
far as I can see you can't have a variable variable name, unless
you're evaluating on the fly.

For example:


var a = { b: 'x' };
var c = { a.b: 123 };
alert(c.x); // hopefully we'll get "123"


.. doesn't work, because a.b isn't a valid name.

You can do this though:


[jQuery] Re: Still working out "drop-down div menu"...

2008-01-21 Thread Rick Faircloth

Hi, Karl...

I figured you just got busy or perhaps just didn't feel you had more
time to devote to the project.

We're so close!  Just a couple of little "performance issues" to work
out.

I have been looking at Klaus' UI/Tabs plug-in, too, and think it has
great potential if we need to change approaches.

I'm sorry to hear that our daughter had to have a tonsillectomy.
I hope she's recovering well.  I'm sure she's enjoying lots of ice cream! :o)

I don't use IM much...it's been awhile, but I have an account that uses
Windows Messenger.  Is that suitable for you?

Rick



> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl
> Swedberg
> Sent: Sunday, January 20, 2008 12:38 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: Still working out "drop-down div menu"...
> 
> 
> Hi Rick,
> 
> Sorry for not getting back to you sooner. I sort of lost track of the
> thread and have been busy with a couple freelance projects, my day
> job, and my daughter recovering from a tonsillectomy.
> 
> Anyway, it seems like this conversation has moved away from general
> interest, so perhaps we should continue off-list. I'll try to respond
> to your questions below tomorrow. If you use IM, send me your info and
> I'll ping you sometime tomorrow.
> 
> 
> --Karl
> _
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
> 
> 
> 
> On Jan 19, 2008, at 11:01 AM, Rick Faircloth wrote:
> 
> >
> > Hi, Karl...
> >
> > Have we stalled out on this project?  I've been concerned about
> > asking too much of you.  If you want to transition this to a paid
> > project,
> > just let me know!
> >
> > Rick
> >
> >> -Original Message-
> >> From: jquery-en@googlegroups.com [mailto:jquery-
> >> [EMAIL PROTECTED] On Behalf Of Rick
> >> Faircloth
> >> Sent: Thursday, January 17, 2008 12:05 PM
> >> To: jquery-en@googlegroups.com
> >> Subject: [jQuery] Re: Still working out "drop-down div menu"...
> >>
> >>
> >> Well... my attempts to fix the details div showing with content
> >> didn't work.  At least I think I changed all the padding and line-
> >> heights
> >> that I attempted to change back to the way they were.  However, now
> >> the
> >> issue seems to have "disappeared"!  Whatever... as long as it works!
> >>
> >> The last issue I see now is that *sometimes* when I move the mouse
> >> between
> >> menu items, especially the home and buyers menu items, the details-
> >> div slides up
> >> and the details content remains on the screen.  It's not always
> >> that way, but it
> >> does happen in both IE and FF.  Any ideas on that?
> >>
> >> From what I can tell, you've taken the route of separating the
> >> actual div with the
> >> details from the div that slides down.  Is that part of what
> >> complicates the
> >> synchronization of the "display div" and the "content" or "details"
> >> div?
> >>
> >> Would it be simpler to actually put the details *inside* the
> >> display div to
> >> eliminate the possibility of details being left on the screen
> >> without the background div?
> >>
> >> It would seem that placing the details actually in the display div
> >> would tied them
> >> together so that if the display div is visible, the details must
> >> be, too, and vice versa.
> >>
> >> And, this is just minor at this point, the details would actually
> >> be sliding up and down
> >> with the display div.
> >>
> >> Looks like this may be a "two-wish-list-gift" assistance!  :o)
> >>
> >> Thanks,
> >>
> >> Rick
> >>
> >>> -Original Message-
> >>> From: jquery-en@googlegroups.com [mailto:jquery-
> >>> [EMAIL PROTECTED] On Behalf Of Rick
> >>> Faircloth
> >>> Sent: Thursday, January 17, 2008 11:17 AM
> >>> To: jquery-en@googlegroups.com
> >>> Subject: [jQuery] Re: Still working out "drop-down div menu"...
> >>>
> >>>
> >>> Ok... thanks, Karl.  It seems to be working better.
> >>> I'm going to make a change in the padding of the ul, #id="ul-index"
> >>> because the bottom of the li's contained therein aren't currently
> >>> reaching as far down as the #menu-index... there's a gap of about
> >>> 6px at the bottom which allows the details div to expend without
> >>> showing the menu content.
> >>>
> >>> My initial results show this solution will work.  I'll make you mods
> >>> first, then mine, then test on IE6, IE7, and FF2 (Windows All) and
> >>> report back.
> >>>
> >>> Thanks, again for all the work!
> >>>
> >>> Rick
> >>>
>  -Original Message-
>  From: jquery-en@googlegroups.com [mailto:jquery-
>  [EMAIL PROTECTED] On Behalf Of Karl
>  Swedberg
>  Sent: Thursday, January 17, 2008 10:28 AM
>  To: jquery-en@googlegroups.com
>  Subject: [jQuery] Re: Still working out "drop-down div menu"...
> 
> 
>  Hi Rick,
> 
>  After several failed attempts, I think I have this working for
>  you. I
>  had to set a flag for the menu-details div's visibility (I called
>  it
>  "bVis"). It's ini

[jQuery] Re: Plugin updated: FCKEditor, Codepress, Multiple File Upload & Star Rating

2008-01-21 Thread Diego A.
Hi,

I only keep the English language files on my website.
But the jQuery Plugin will still work fine with your installation of FCK
(and your language files).

Thanks,
Diego A.

On 21/01/2008, Miguelito <[EMAIL PROTECTED]> wrote:
>
>
>
> HI, demo not working:
>
> FCKLang is not defined
> http://www.fyneworks.com/fwx/inc/fck/editor/js/fckeditorcode_gecko.js
> Line 99
>
> IE7 Spanish and FF Spanish.
>
> Thanks.
>
>
> Diego A. wrote:
> >
> >
> > Hey everyone,
> >
> > Quick note to all those using any of my plugins, they've all been
> > updated this week and had a few (*cough*) bugs fixed. I recommend you
> > download the latest versions...
> >
> > FCKEditor Plugin: http://www.fyneworks.com/jquery/FCKEditor/
> > Codepress Plugin: http://www.fyneworks.com/jquery/Codepress/
> > Multiple File Upload Plugin:
> > http://www.fyneworks.com/jquery/multiple-file-upload/
> > Star Rating Plugin: http://www.fyneworks.com/jquery/star-rating/
> >
> > Cheers,
> > Diego
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Plugin-updated%3A-FCKEditor%2C-Codepress%2C-Multiple-File-Upload---Star--Rating-tp14803348s27240p14994717.html
> Sent from the jQuery General Discussion mailing list archive at Nabble.com
> .
>
>
> >
>


[jQuery] Re: Plugin updated: FCKEditor, Codepress, Multiple File Upload & Star Rating

2008-01-21 Thread Miguelito


HI, demo not working:

FCKLang is not defined
http://www.fyneworks.com/fwx/inc/fck/editor/js/fckeditorcode_gecko.js
Line 99

IE7 Spanish and FF Spanish.

Thanks.


Diego A. wrote:
> 
> 
> Hey everyone,
> 
> Quick note to all those using any of my plugins, they've all been
> updated this week and had a few (*cough*) bugs fixed. I recommend you
> download the latest versions...
> 
> FCKEditor Plugin: http://www.fyneworks.com/jquery/FCKEditor/
> Codepress Plugin: http://www.fyneworks.com/jquery/Codepress/
> Multiple File Upload Plugin:
> http://www.fyneworks.com/jquery/multiple-file-upload/
> Star Rating Plugin: http://www.fyneworks.com/jquery/star-rating/
> 
> Cheers,
> Diego
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Plugin-updated%3A-FCKEditor%2C-Codepress%2C-Multiple-File-Upload---Star--Rating-tp14803348s27240p14994717.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Manipulate Element After Being Added to DOM

2008-01-21 Thread George

Don't forget you could also just bind a click event to a parent
object.
That way any click in a child element, old or new, will bubble up and
trigger the click event.  In the event handler, just inspect
event.target to see which child was clicked.

George


[jQuery] Re: Manipulate Element After Being Added to DOM

2008-01-21 Thread Alexandre Plennevaux

arf, crossposting, where is that damn coffie ? :)

On 21 jan, 09:43, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
> Matt, just a remark: if you do need to add that click behaviour to P
> elements not existing at the time of the call, there is a nice plugin:
> livequery that does that.
>
> On 21 jan, 06:02, "Matt Quackenbush" <[EMAIL PROTECTED]> wrote:
>
> > Karl,
>
> > Thank you, thank you, thank you, thank you, thank you, and THANK YOU!
>
> > By the way, in case I forgot, please, let me be sure to say "Thank you!"
> > before signing off.
>
> > Thanks,
>
> > Matt
>
> > On Jan 20, 2008 9:53 PM, Karl Rudd wrote:> You might like to look at the 
> > "LiveQuery" plugin (
> > >http://plugins.jquery.com/project/livequery) as is manages all newly
> > > added elements so they get the previously attached handlers attached
> > > to them when they're added to a page.
>
> > > Karl Rudd


[jQuery] Re: Manipulate Element After Being Added to DOM

2008-01-21 Thread Alexandre Plennevaux

Matt, just a remark: if you do need to add that click behaviour to P
elements not existing at the time of the call, there is a nice plugin:
livequery that does that.

On 21 jan, 06:02, "Matt Quackenbush" <[EMAIL PROTECTED]> wrote:
> Karl,
>
> Thank you, thank you, thank you, thank you, thank you, and THANK YOU!
>
> By the way, in case I forgot, please, let me be sure to say "Thank you!"
> before signing off.
>
> Thanks,
>
> Matt
>
> On Jan 20, 2008 9:53 PM, Karl Rudd wrote:> You might like to look at the 
> "LiveQuery" plugin (
> >http://plugins.jquery.com/project/livequery) as is manages all newly
> > added elements so they get the previously attached handlers attached
> > to them when they're added to a page.
>
> > Karl Rudd