[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-13 Thread rolfsf
Very nice Karl, as usual! It's similar in functionality to the http://www.reindel.com/truncate/ truncate plugin that I recently used, but feels more refined. How about making it easy to use an expand/collapse icon in place of the text? -- View this message in context: http://www.nabble.com/

[jQuery] a way to convert jquery object to text for dom injection

2008-01-13 Thread Equand
i need to insert a clone of one dom object i do var hex = $("#d").clone(); $("div").append("text blab bla"+hex+"ok nana"); and it's not working... how do i do this?

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Rick Faircloth
Thanks for the tip, Karl. This "little" drop-down menu-detail div project is turning out to be quite more than I expected. Quite complicated. You've moved to the next step I was going to have to figure out, which is how to have various content for each menu item. I could use ajax or ColdFusion

[jQuery] Announce: jQuery Expander Plugin

2008-01-13 Thread Karl Swedberg
Hey everyone, Last week I wrote a blog entry about how to hide a portion of an element's text and display a link that, when clicked on, reveals the hidden portion. http://www.learningjquery.com/2008/01/revealing-details-with-jquery Well, I decided to convert the script into a little plugi

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Karl Swedberg
Hi Rick, You might want to attach one .hover() method to the UL instead of the LIs and have that one slide the other element down and up. Then, attach another .hover() to the LIs so that you can have different content displayed depending on which one is being hovered. --Karl

[jQuery] Re: Cluetip ajaxProcess and .find Problem

2008-01-13 Thread Chris Scott
A bit more info. on this: with the latest nightly build, I don't get an error any longer, but I don't get the div w/that ID either. On Jan 11, 2008, at 10:28 AM, Chris Scott wrote: I'm using cluetip to pull a page via ajax and want to display only a certain div from the page (using an

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Rick Faircloth
Thanks, Karl... that's working better. However, now, if I run the mouse over several menu items at once, the menu-detail div goes up and down quite a few times before it stops! It acts like it's wacko! :o) Do I need to work in the "hoverIntent" plug-in or is there some core function that will

[jQuery] Re: how do I select distinct divs within a class

2008-01-13 Thread Wizzud
I'm not entirely sure what the problem is here, because - apart from the fact that your code makes absolutely no mention of a class of "rollover" - all you've done is state (with dubious accuracy) what your code does. Not what you want it to do. And the post title is no help because there are no D

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Karl Swedberg
Hey Rick, Sounds like you want to use the .hover() method. It takes two arguments -- one for mouseover and one for mouseout: .hover(function() { // Stuff to do when the mouse enters the element; }, function() { // Stuff to do when the mouse leaves the element; }); --Karl __

[jQuery] Re: submit via link and redirect dynamically

2008-01-13 Thread Danny
I'm not an AJAX guru, but it looks like the pageNumber variable is local to each of your click functions and won't be seen by the showResponse function. Make it global (actually, local to the document.ready function): $(document).ready(function(){ var pageNumber; // local variable in this docu

[jQuery] Re: :not and :headers

2008-01-13 Thread Hamish Campbell
Haven't tried it, but I think the issue is you're apply it to _everything_ (*) that is not a header. That means the body, all paragraphs, divs, spans etc. Ie, if you haven't specified a font for headers explicitly, the headers will inherit the font from the body (or a containing div, span, a etc).

[jQuery] Re: Inserting element into jQuery object

2008-01-13 Thread besh
Hi Josh, don't try to reinvent the wheel here. Just use the jQuery http://docs.jquery.com/Traversing/add#expr";>.add() method: var $divs = $('div#first,div#second'); ... $divs = $divs.add('div#third'); -- Bohdan Ganicky On Jan 10, 8:32 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > I'm havin

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

2008-01-13 Thread Mike Alsup
> I have a form which is submitted through jquery form plugin. The form > contains only one textarea which uses tinymce. The problem is that when I > try to submit the form, the new content of the textarea is not sent through > POST. If there is any content before that modifications, than that con

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Rick Faircloth
Something I didn't mention earlier is that I need for the visitor to be able to mouseover the menu item, have the 'menu-details' div slide down, then allow the visitor continue to mouseover the div content with the div sliding up... Rick > -Original Message- > From: jquery-en@googlegrou

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Rick Faircloth
Hi, Besh... and thanks for the reply. I realized my mistakes with the targeting of the 'a' selectors after Karl replied. <> My reply to Karl should show where I need some help next. It should be up anytime. Thanks! Rick > -Original Message- > From: jquery-en@googlegroups.com [mail

[jQuery] Re: Going thrue all form elements

2008-01-13 Thread Mike Alsup
> But that would skip all the textarea/select fields... No it won't. It will even include button elements. :input is a jQuery selection expression that finds all form controls. Mike

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Rick Faircloth
Hi, Karl.. thanks for the reply. Sigh... I guess it painfully obvious that I just haven't gotten this "chaining" thing down. I can't quite figure out what pertains to what. But even *I* should have caught the fact that the "a" selectors weren't in any of the referenced div's... duh. Now, I've

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread besh
Well, let's take a look on your jQuery code: $(document).ready(function() { $('div.image-wrapper').find('div.menu-details').hide() // well, this works fine, even if I don't get why you use class instead of id to locate the menu-details (you have the id="menu-details" in the markup as well)

[jQuery] jScrollPane Not Scrolling All The Way After Re-Skinning

2008-01-13 Thread studiobl
I'm using jScrollPane pretty much out of the box with the following changes: I put the scripts into assets/scripts, the css into assets/css, and the images into assets/images. Any urls have been changed to reflect this. I created three jpgs for the up arrow, down arrow (10 x 9 px) and the drag

[jQuery] Re: Going thrue all form elements

2008-01-13 Thread Abdul-Rahman
Oeps, Sorry, Works! thnx On Jan 13, 3:14 pm, "Scott González" <[EMAIL PROTECTED]> wrote: > Use $(':input').each(...) > > On Jan 12, 6:10 pm, Abdul-Rahman <[EMAIL PROTECTED]> wrote: > > > Hey guys, > > > I am trying to use the plugin > > ofhttp://fluidproject.org/blog/2008/01/11/jquery-tabindex-p

[jQuery] Problem With jquery form plugin and tinymce

2008-01-13 Thread zorrocaesar
I have a form which is submitted through jquery form plugin. The form contains only one textarea which uses tinymce. The problem is that when I try to submit the form, the new content of the textarea is not sent through POST. If there is any content before that modifications, than that content is

[jQuery] Re: Can you please check why it's not working?

2008-01-13 Thread DeaR
Oh! I've got it..Thank you, anyway, I've got another thing that I don't know how to do it. I want to create something that works like a tab. See my code below $(function() { $("#text2_message").clone().removeClass().appendTo($("#message")); $("span.text1").click(function() {

[jQuery] Re: Going thrue all form elements

2008-01-13 Thread Abdul-Rahman
But that would skip all the textarea/select fields... On Jan 13, 3:14 pm, "Scott González" <[EMAIL PROTECTED]> wrote: > Use $(':input').each(...) > > On Jan 12, 6:10 pm, Abdul-Rahman <[EMAIL PROTECTED]> wrote: > > > Hey guys, > > > I am trying to use the plugin > > ofhttp://fluidproject.org/blog

[jQuery] Re: Inserting element into jQuery object

2008-01-13 Thread besh
Hi Josh, don't try to reinvent the wheel here. Just use the jQuery http://docs.jquery.com/Traversing/add#expr";>.add() method: var $divs = $('div#first,div#second'); ... $divs = $divs.add('div#third'); -- Bohdan Ganicky On Jan 10, 8:32 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > I'm havin

[jQuery] Re: Inserting element into jQuery object

2008-01-13 Thread besh
Hi Josh, don't try to reinvent the wheel here. Just use the jQuery http://docs.jquery.com/Traversing/add#expr";>.add() method. :) var $divs = $('div.first,div.second'); ... $divs = $divs.add('div.third'); -- Bohdan Ganicky On Jan 10, 8:32 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > I'm ha

[jQuery] Re: Inserting element into jQuery object

2008-01-13 Thread Bohdan Ganicky
Hi Josh, don't try to reinvent the wheel here. Just use the jQuery http://docs.jquery.com/Traversing/add#expr .add() method: var $divs = $('div#first,div#second'); ... $divs = $divs.add('div#third'); -- Bohdan Ganicky Josh Nathanson-3 wrote: > > > I'm having a devil of a time doing someth

[jQuery] Mixing vanilla Javascript with jQuery

2008-01-13 Thread Jon Moses
I have looked on the jQuery website but I just wanted some extra advice from people building plugins. Can I just mix any vanilla javascript in with jQuery? What are the basic rules? I am a newbie to javascript and am currently doing my best to keep up with jQuery at the same time but need a bit

[jQuery] Jquery fix for IE6 position:fixed bug ?

2008-01-13 Thread jonhobbs
Hi, I am trying to create a shopping cart similar to the one on http://www.panic.com/goods/ I have tried their technique to get the cart fixed at the bottom of the screen in IE6 but there are several problems with it (first off my body tag background isn't scrolling! Then the heights get a bit m

[jQuery] Load external content

2008-01-13 Thread frizzle
Hi there, I'm pretty new to jQuery, and i seem to be unable to find what i need. I have a (php-based) file-manager. What i need is when people browse folders, to replace the current folder with the chosen one. Imagine my dir looks somewhat like this: /images dir /illustrations dir /f

[jQuery] Re: How to remove duplicates from dropdown select box

2008-01-13 Thread Fabrizio
Hello Artzone, It's my first reply , I'm so excited . I try this with you example and it work . You could change #mylist with and other 'id' it will work also. It work with a 'id' , but with a 'class' you have to change the code. $(document).ready( function(){ var a = new Array

[jQuery] Re: jQuery API extension for Dreamweaver

2008-01-13 Thread Chris Charlton
Glad everyone is diggin' the jQuery API extension for Dreamweaver. I added a demo video on the main page of the website: http://xtnd.us New beta would be out before Jan. is over. I am hoping to release it before end of Jan., but we're taking some time to go through and make sure the icons look do

[jQuery] submit via link and redirect dynamically

2008-01-13 Thread antiheld2000
hi, i'm developing a little site, where the user has the possibility to fill in several forms. i want that the user can navigate through those forms via normal html links. on click the form should be submitted and on success the content in div #xy be updated in relation to the link. i tried it li

[jQuery] Re: jQuery.browser.version doesn't recognise IE7 anymore

2008-01-13 Thread fuzziman
I can confirm that this is the case, on a WindowsXP machine with IE7 installed, I have the same userAgent string, so get the same result. There is no problem with my Windows Vista IE7 because the userAgent string is different. NetHawk wrote: > > > Don't know, if this has been observed by any

[jQuery] how do I select distinct divs within a class

2008-01-13 Thread cellis
heres the deal, I've got some jq that looks for any with a class of .rollover , and its replacing the images of ALL of the images with a surroudning with a class of .rollover. Any ideas? $(document).ready(function(){ $(".menuImage").hover( function() { curr = $(this).find("

[jQuery] Re: Pretty XML?

2008-01-13 Thread sagannotcarl
It sounds like what you really want is to use an xml stylesheet. I'm not sure what the best way to do that with jQuery is. There may be some way to do it natively, also a quick search brought up this plugin: http://www.jongma.org/webtools/jquery/xslt/ An explanation of xlst: http://www-128.ibm.co

[jQuery] Re: preventing open element from being closed and reopened in accordion menu (not using accordion plugin)

2008-01-13 Thread Brad Hile
Was just reading another post "Trying to show a div on mouseover of menu item... " and pointed me to the solution The answer: if ($(this).parent().next().is(':hidden')) On Jan 13, 11:03 am, Brad Hile <[EMAIL PROTECTED]> wrote: > Hi > I have a simple accordion menu and would like to pre

[jQuery] Re: don't get it: how to pass a variable to a callback function

2008-01-13 Thread antiheld2000
so, no ideas? i explain my problem, maybe someone has an idea for a workaround: i have 5 pages with forms. i want the user to navigate through the forms by clicking on links, not clicking on submit buttons. logically the form has to be submitted, when a link is clicked. so i need to call a callba

[jQuery] Deselecting all items in a -field..

2008-01-13 Thread Bob den Otter
Hi all, This is something I spent way too much time on, trying to figure out why it didn't want to do what I wanted in IE7. I'm posting it here, so maybe it will save some others a bit of time. The problem: You have a and you wish to deselect all options. It turns out that you need to chang

[jQuery] Re: Countdown - my first plugin

2008-01-13 Thread Feijó
I did thought about that But within 1 sec window, wont be a little anoying ? Imagine 5 or 10 of that in the same page, too much annimation... :) For a optional resource is interisting, I will investigate how to. Thanks Feijó - Original Message - From: Glen Lipka To: jquery-e

[jQuery] Re: Countdown - my first plugin

2008-01-13 Thread Glen Lipka
Maybe consider a visual display similar to this: http://commadot.com/jquery/slotMachineEffect.php So that the numbers that countdown don't just blink, they animate. Glen On Jan 12, 2008 3:59 AM, Feijó <[EMAIL PROTECTED]> wrote: > Check it out! > > http://plugins.jquery.com/project/countdown >

[jQuery] Re: jQuery.browser.version doesn't recognise IE7 anymore

2008-01-13 Thread corpore
... and another thing: The version of Firefox is not correctly returned either (have no problems in this regard with IE). I'm currently using Firefox ver.: 2.0.0.11 and jQuery retrieves ver.: 1.8.1.11. Fred NetHawk wrote: > > Don't know, if this has been observed by anybody else. Just wanted t

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Karl Swedberg
Hey Rick, It looks like you're trying to bind the mouseover to links inside div.image-wrapper, but when I looked at your DOM, I didn't see any links there. That's probably why it's not working for you. ;-) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Going thrue all form elements

2008-01-13 Thread Scott González
Use $(':input').each(...) On Jan 12, 6:10 pm, Abdul-Rahman <[EMAIL PROTECTED]> wrote: > Hey guys, > > I am trying to use the plugin > ofhttp://fluidproject.org/blog/2008/01/11/jquery-tabindex-plugin/ > to set the tabindexes for my form. I am going through it by querying > it as following but it

[jQuery] Attempts failing to cause div to slide up, slide down

2008-01-13 Thread Rick Faircloth
Hi, all. I've made several attempts to figure out how to cause a div to slide up and slide down when a menu item is moused-over but so far, all attempts have failed. I can get the div to hide upon initialization of the page, but the slide is non-responsive. My jQuery has been tried like this:

[jQuery] Re: Superfish feature request

2008-01-13 Thread Joel Birch
Hi Jesse, I have been working on separating out the code you provided into it's own plugin (kind of sillily named "Supposition", I really hate the name now so please feel free to suggest something better) so that it can be optionally added to a Superfish menu if the user desires, leaving the ori