Re: [jQuery] IE Stylesheet API

2006-11-03 Thread kenton.simpson

http://msdn.microsoft.com/workshop/author/css/css_node_entry.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/cols/dnexpie/ie7_css_compat.asp
-- 
View this message in context: 
http://www.nabble.com/IE-Stylesheet-API-tf2563740.html#a7157806
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Metadata Plugin

2006-11-01 Thread kenton.simpson

I don't remember the original thread, but a developer wanted a way to allow
designers to pass arguments to a jQuery plugin to create a widget. Which was
activated by assigning an agreed upon class name.
-- 
View this message in context: 
http://www.nabble.com/jQuery-Metadata-Plugin-tf2555369.html#a7126661
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Append body

2006-10-11 Thread kenton.simpson

There is nothing wrong with your code. You may have another issue.
-- 
View this message in context: 
http://www.nabble.com/Append-body-tf2419689.html#a6755973
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Attach a Style Sheet

2006-10-10 Thread kenton.simpson

this may also help 

http://www.kelvinluck.com/article/switch-stylesheets-with-jquery

-- 
View this message in context: 
http://www.nabble.com/Attach-a-Style-Sheet-tf2418733.html#a6744899
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Attach a Style Sheet

2006-10-10 Thread kenton.simpson

Thanks for the info. i did not realize that.
-- 
View this message in context: 
http://www.nabble.com/Attach-a-Style-Sheet-tf2418733.html#a6746281
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] .each backwards ?

2006-10-07 Thread kenton.simpson

Thanks for the Idea. This works 

jQuery.fn.reverse = function() {
 this.pushStack(this.get().reverse());
 return this;
}

a long that thread a lot more resorting function may be useful.
-- 
View this message in context: 
http://www.nabble.com/.each-backwards---tf2399145.html#a6693603
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] .each backwards ?

2006-10-07 Thread kenton.simpson

I agree, do you think .sort() and .reverse() could be added to core jQuery
object in the future, or should I just add a plugin.
-- 
View this message in context: 
http://www.nabble.com/.each-backwards---tf2399145.html#a6694292
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] .each backwards ?

2006-10-06 Thread kenton.simpson

Is there a way to make .each walk backwards threw the element collection?
-- 
View this message in context: 
http://www.nabble.com/.each-backwards---tf2399145.html#a6690114
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] iUtil use it

2006-09-30 Thread kenton.simpson

Even if your not using the interface plugin you need down load the iUtil
plugin and start using it. I even think that iUtil should go core. 

Thanks Stefan Petre
-- 
View this message in context: 
http://www.nabble.com/iUtil-use-it-tf2362236.html#a6580883
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] iUtil use it

2006-09-30 Thread kenton.simpson

I don't want to hot link the file, but you can find it here
http://interface.eyecon.ro/download

Corey Jewett-3 wrote:
 
 A link would be terribly useful when promoting something this hard. :)
 
 Corey
 
 
 On Sep 30, 2006, at 9:39 AM, kenton.simpson wrote:
 

 Even if your not using the interface plugin you need down load the  
 iUtil
 plugin and start using it. I even think that iUtil should go core.

 Thanks Stefan Petre
 -- 
 View this message in context: http://www.nabble.com/iUtil-use-it- 
 tf2362236.html#a6580883
 Sent from the JQuery mailing list archive at Nabble.com.


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/iUtil-use-it-tf2362236.html#a6581137
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] iUtil use it

2006-09-30 Thread kenton.simpson

Iutil defines these function getPos, getPosition, getSize, getClient,
getScroll, getMargins, getPadding, getBorder, getPointer. There names go a
long way to describe there function. Most if not all the function return
objects with dimensional info about the passed element node. I recently used
it to write a plugin to overlay an element or elements over another element.
the .each could be changed to .attr(), but anyway. Iutil primarily use would
be in locating an elements spacial relationship to others nodes.

jQuery.fn.overlay = function(selector, strict) {
strict = strict == undefined ? strict = true : strict;
elements = jQuery(selector);
if(strict  !elements.length  0) {
throw Element not found to overlay;
}
else if(elements.length  1) {
return this;
}

var pos = jQuery.iUtil.getPos(this[0]);
elements.each( function(idx) {
sty = this.style;
sty.position =  absolute;
sty.top = pos.y + px;
sty.left = pos.x + px;
sty.width = (pos.w - 8) + px;
sty.height = (pos.h - 8) + px;
});
}
-- 
View this message in context: 
http://www.nabble.com/iUtil-use-it-tf2362236.html#a6581857
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] http://jquery.com/src page vandalized

2006-09-28 Thread kenton.simpson

the http://jquery.com/src page has been vandalized. I'd fix it but dont know
how to restore the old version.
-- 
View this message in context: 
http://www.nabble.com/http%3A--jquery.com-src-page-vandalized-tf2351675.html#a6549010
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ImagaBox plugin

2006-09-15 Thread kenton.simpson

Thanks for shareing all your great plugins, I can't wait to see the final
imagebox product.

-- 
View this message in context: 
http://www.nabble.com/ImagaBox-plugin-tf2270807.html#a6327547
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] A jQuery implementation of mootools.met menu

2006-09-14 Thread kenton.simpson

God I feel stupid. I didn't catch that at all. I copyed it from nabble and
they parsed the anchors. If I would have read the code closer I would have
seen it. Thanks.


nezza wrote:
 
 Kenton,
 
 Just noticed it is working, but the you;ve taken out the   tags, so the
 style sheet isn't working anymore.
 Essentially the code is animating white li's with white text within
 them!
 
 Change the #menu li style to suit what you need.
 
 Neil
 
 
 
 
 
 kenton.simpson wrote:
 
 I post your code here http://www.brainknot.com/code/jq_mootools_menu/
 ,but it does not work. If you can point out the error I'll fix it.  
 
 
 
 nezza wrote:
 
 Playing around with jQuery yesterday, managed to replicate the
 mootools.net side menu.
 Thanks to the fantastic Easing  Pause Plugins!
 
 Take look:
 
 html
 head
 script src=jquery-1.01.js type=text/javascript/script
 script src=jquery.easing.1.0e.js 
 type=text/javascript/script
 script src=jquery.easing.extensions.js
 type=text/javascript/script
 script src=pause.js type=text/javascript/script
 script type=text/javascript
 !--
 $(document).ready(function(){
 
 var timer = 0;
 
 $('#menu li').each(function() {
 
 timer += 150;
 $(this).css({paddingLeft: 0});
 $(this).pause(timer, 
 fx).animate({paddingLeft:130}, {duration:
 1000, easeMethod: 'backout'})
 });
 });
 
 //--
 /script
 style type=text/css 
 #menu { position: absolute; left: -160px;}  
 #menu li { font-family: tahoma; font-size: 10pt; 
 font-weight: bold;
 color: #FF; padding-top: 3px; } 
 #menu li a { display: block; background-color: #FF; 
 padding: 5px
 5px 5px 5px; width: 100px; border: solid 1px #FF; } 
 /style
 /head
 body
 ul id=menu
 li class=big tools / spanmootools/span /li
 li class=big demos # Demos (later) /li
 li # Moo Fx /li
 li # Moo Dom /li
 li # Moo Ajax /li
 li # Moo Drag /li
 
 li class=big download /download/release Download 
 /li  
 li /download/release Release /li
 li /download/svn Svn /li
 li /changelog Svn Changelog /li
 /ul
 /body
 /html
 
  http://www.brainknot.com/code/jq_mootools_menu/
 http://www.brainknot.com/code/jq_mootools_menu/ 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/A-jQuery-implementation-of-mootools.met-menu-tf2271237.html#a6310873
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] A jQuery implementation of mootools.met menu

2006-09-14 Thread kenton.simpson

Thats cool, and works well in ie6,ff1.5 and opera9


nezza wrote:
 
 Playing around with jQuery yesterday, managed to replicate the
 mootools.net side menu.
 Thanks to the fantastic Easing  Pause Plugins!
 
 Take look:
 
 html
   head
   script src=jquery-1.01.js type=text/javascript/script
   script src=jquery.easing.1.0e.js 
 type=text/javascript/script
   script src=jquery.easing.extensions.js
 type=text/javascript/script
   script src=pause.js type=text/javascript/script
   script type=text/javascript
   !--
   $(document).ready(function(){
   
   var timer = 0;
   
   $('#menu li').each(function() {
   
   timer += 150;
   $(this).css({paddingLeft: 0});
   $(this).pause(timer, 
 fx).animate({paddingLeft:130}, {duration:
 1000, easeMethod: 'backout'})
   });
   });
 
   //--
   /script
   style type=text/css 
   #menu { position: absolute; left: -160px;}  
   #menu li { font-family: tahoma; font-size: 10pt; 
 font-weight: bold;
 color: #FF; padding-top: 3px; }   
   #menu li a { display: block; background-color: #FF; 
 padding: 5px
 5px 5px 5px; width: 100px; border: solid 1px #FF; }   
   /style
   /head
   body
   ul id=menu
   li class=big tools / spanmootools/span /li
   li class=big demos # Demos (later) /li
   li # Moo Fx /li
   li # Moo Dom /li
   li # Moo Ajax /li
   li # Moo Drag /li
   
   li class=big download /download/release Download 
 /li  
   li /download/release Release /li
   li /download/svn Svn /li
   li /changelog Svn Changelog /li
   /ul
   /body
 /html
 

-- 
View this message in context: 
http://www.nabble.com/A-jQuery-implementation-of-mootools.met-menu-tf2271237.html#a6311001
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jXs plug-in updated

2006-09-13 Thread kenton.simpson

I recently updated jXs to support rev 249. I also internalize the DOM
creation ,and add bug support for dynamic radio box's in IE. I have noticed
a similar problem with multiple selects, but have not had a chance to fix
that yet.
-- 
View this message in context: 
http://www.nabble.com/jXs-plug-in-updated-tf2264213.html#a6282729
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jXs plug-in updated

2006-09-13 Thread kenton.simpson

Sorry, Sam is correct the link is  http://www.brainknot.com/code/jxs.htm
http://www.brainknot.com/code/jxs.htm . It was a very late when I posted. I
forgot to include the link.

-- 
View this message in context: 
http://www.nabble.com/jXs-plug-in-updated-tf2264213.html#a6284586
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] scrollbar

2006-09-07 Thread kenton.simpson

when you reach a solution could you post a link to a working example of your
scroll bar code.


Will Jessup wrote:
 
 Ack, ok i asked about the scrollbar stuff too soon - figured it out:
 
 http://www.willjessup.com/sandbox/jquery/scrollbar/scrollbar.html
 
 need some work, but i think that should do it (for me at least)
 
 Will
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-scrollbar-tf2236740.html#a6202080
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] little help

2006-09-07 Thread kenton.simpson

I'm using nabble for my post. I would seem somethings are not posting where 

John Resig wrote:
 
 That is correct and the $(function is shorthand. and the [ is require and
 the
 function will not work with out it.
 
 oops by bad!!! I guess I need to review the docs agian.
 
$.ajax(post,  savecomment.cgi, { comment: $(#fldcomment).val()
 });
 
 You only need the [ { name: ..., value: ... }  ] syntax if the
 order of the parameters matters to you. And since there's only one,
 this is a moot point.
 
 --John
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/little-help-tf2235942.html#a6202198
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Erasing contents of a form

2006-08-20 Thread kenton.simpson

use .val() on form elements or you could reset the form

Bruce MacKay wrote:
 
 Hi folks,
 
 I use the function below to send user comments to a database and get 
 refreshed on the current page - no problems.
 
 However, I cannot seem to erase the contents of the comments form 
 (id=NewCommentZ) for subsequent use - the text area and text input 
 elements remain populated with the previously entered content.
 
 The disabled lines in the code below are my guesses - no more - of 
 how to erase the form's contents, but I wasn't lucky.
 
 I'd appreciate someone providing me with some direction/hint towards 
 a solution.
 
 Thanks,
 
 Bruce
 
 
 
 $.fn.ajaxSubmit = function(e) {this.submit(function(){ var params = 
 {}; $(this) .find([EMAIL PROTECTED], [EMAIL PROTECTED]'text'], 
 [EMAIL PROTECTED]'hidden'], [EMAIL PROTECTED]'password'], [EMAIL PROTECTED], 
 textarea) .filter(:enabled) .each(function() { params[ this.name 
 || this.id || this.parentNode.name || this.parentNode.id ] = 
 this.value; }); 
 toggleContent('NewCommentZ');$.post(this.getAttribute(action), 
 params, function(text){
  $(div#comments2).html(text).fadeIn(slow);
 
 $('#hilightcomment').highlightFade({color:'yellow',speed:2000,iterator:'linear'})
  //$(NewCommentZ).html();
  //$(this).find([EMAIL PROTECTED], [EMAIL PROTECTED]'text'], 
 [EMAIL PROTECTED]'hidden'], [EMAIL PROTECTED]'password'], [EMAIL PROTECTED], 
 textarea).html();
  }); return false; });}
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/%22Erasing%22-contents-of-a-form-tf2137463.html#a5898820
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Textarea: redux

2006-08-15 Thread kenton.simpson

Have you try emptying your cache and restarting IE. Sometimes IE cache gets
corrupted and It stop responding in a predictable manner.

Chad Lansford wrote:
 
 Size returns 1.
 
 Funny you ask, I actually just finished going over the HTML... yeah, it's
 definitely unique.
 
 On 8/15/06, Klaus Hartl [EMAIL PROTECTED] wrote:


 Chad Lansford schrieb:
  thanks klaus...
 
  still no luck.  i tried $('#SendMessage1_txtMessageBody').get(0).value,
  $('#SendMessage1_txtMessageBody').get(0).innerText and
  $('#SendMessage1_txtMessageBody').get(0).innerHTML.  still getting
  nothin...


 Ok, what does

 $('#SendMessage1_txtMessageBody').size()

 return?

 Is your HTML valid? Is that id truly unique?

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Textarea%3A-redux-tf2085155.html#a5813350
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] XPath

2006-08-15 Thread kenton.simpson

$(dl dt a).click(function (event) {
  event.preventDefault();
  event.stopPropagation();
  $(this).parent().next().show(); 
}); 


Fil wrote:
 
 
 I want the expression to verify that the link is in the correct data
 structure, i.e. inside a dt that is inside a dl and where
 $(this).parent().next() is a dd.
 
 Said differently: I want to tell my script if the link is inside a dt
 then show() the corresponding dd (if it exists).
 
 That's why I was trying to use XPath and the parent::x syntax (and failed
 miserably, ha ha).
 
 
 In the SVN build of jQuery you can do:
 
 $(this).parent().next().show();
 
 jQuery SVN can be found here:
 http://jquery.com/src/jquery-svn.js
 
 --John
 
  I have the following structure:
 
 dl
  dt url x /dt
  ddtext/dd
 /dl
 
 
  I select the   element in this, and I want to show() the corresponding
 dd.
 
 
  This works but is not very precise:
  $(../../dt/../dd, this).show();
 
  I'm trying to write it more precisely with something like:
  $(parent::dt/parent::dl/dd, this).show();
 
  but I'm not finding the correct expression...
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/XPath-tf2106968.html#a5813465
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Different JQuery Version in Plugins

2006-08-08 Thread kenton.simpson

The problem is that jQuery is currently under intense development. This makes
it difficult for plug-in developers as a collective to keep up. You can't
say you support svn because svn is not a version. This problem will
eventually fix its self once we reach 1.0. 
-- 
View this message in context: 
http://www.nabble.com/Different-JQuery-Version-in-Plugins-tf2070712.html#a5706816
Sent from the JQuery forum at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/