[jQuery] Re: Superfish skins...

2008-05-06 Thread Joel Birch
Hi Phil, No there is no resource like that unfortunately - the styling has been down to the developer. The easiest thing to do is start with the demo CSS which as you can see is very basic, and alter the CSS file gradually (remember to check IE as you go so you know when bugs occur) to get the st

[jQuery] Re: Superfish pathClass problem

2008-05-06 Thread Joel Birch
Hi Dave, Sorry, but I don't understand your issue from what you posted. Can you explain further please. Cheers Joel Birch.

[jQuery] Re: Superfish Menu Width Auto Resize

2008-05-06 Thread Joel Birch
Personally, I just design the menu so that the longer menu items do flow onto a second or even third line if required. You have to use padding instead of text-indent to provide the horizontal spacing in this case. As for your original request which would resize the width so that the menu items ar

[jQuery] Re: Superfish image menu

2008-05-06 Thread Joel Birch
I looked at your page. It seems like you have the CSS figured out. Nice menu! The styling to show where the user is would be via classes on the relevant list item. This is not something that Superfish does - it's best done on the server-side via PHP or whatever you use there. That way your menu is

[jQuery] Re: Superfish problem & question

2008-05-06 Thread Joel Birch
Hi Chris, Sorry, but I'm not clear on what your issue is. Do you have a page you can show us? Joel Birch.

[jQuery] Re: Superfish Menu

2008-05-06 Thread Joel Birch
This sounds like IE's z-index bug. There should be a wealth of information about it that you can find via google, but more helpfully, the issue has been discussed on this list with regard to Superfish quite a few times so if you search this list specifically you should be able to find the solution

[jQuery] Re: Superfish Menu Fade-out

2008-05-06 Thread Joel Birch
Hi Reuben, No further progress to report on the closing animations for Superfish I'm afraid. Looking at your page, it seems like maybe the Accordion plugin may be more suitable for your menu. Have you looked into that? Your menu behaves just like an Accordion menu. The only thing you would miss o

[jQuery] Re: superfish pathclass and joomla

2008-05-06 Thread Joel Birch
Hello, You say it's organised like the my navbar example but also say it has three levels. The navbar example demonstrates the pathClass feature which works well for two level menus, but I have never attempted to use it on menus that have more levels than that so you are heading into uncharted te

[jQuery] Re: superfish - vertical menu, be able to drop left or right

2008-05-06 Thread Joel Birch
Hi, The order and specificity of the CSS rules are crucial. The rules you added to those new classes must be overriding the Superfish rule that disables the pure CSS reveals so that JS can take control and animate the submenus in. Joel Birch.

[jQuery] Re: Attaching Events with Live Query

2008-05-06 Thread Adam Weis
Thanks Brandon, I'll take a look. I obviously have lots to learn about jQuery. -Adam On Tue, May 6, 2008 at 11:00 PM, Brandon Aaron <[EMAIL PROTECTED]> wrote: > Adam, > > Live Query works so nicely because it sits on top of jQuery. It isn't > working for you because you aren't using jQuery's me

[jQuery] Re: Attaching Events with Live Query

2008-05-06 Thread Brandon Aaron
Adam, Live Query works so nicely because it sits on top of jQuery. It isn't working for you because you aren't using jQuery's methods to append the content to the DOM. You can however manually run the registered live queries by running the following: jQuery.livequery.run(); You might also investi

[jQuery] Re: prefill textarea

2008-05-06 Thread Karl Rudd
The textarea's id and name are all lower case (textareaname) and the selector has an uppercase character (textareaName). CSS selectors are case sensitive. There's also brackets missing in the second group of $() calls. The "val()" function is the way to get and set the content of a textarea. The

[jQuery] prefill textarea

2008-05-06 Thread JP
nothing seems to work. how does jquery prefill a textarea ? http://code.jquery.com/jquery- latest.pack.js"> $(function() { $("#textareaName").val("hello1"); $("#textareaName").text("hello2"); $("#textareaName").html("hello3"); $("[EMAIL PROTECTED]'textareaName']".val("hello4")

[jQuery] Re: $ is not defined

2008-05-06 Thread darren
yeah I get that error when libraries conflict. We are using the Prototype and jQuery libraries together on a project. If it is an issue of multiple libraries using the $, try the above solution of using jQuery() instead of $(). Also look into the jQuery noConflict function. On May 6, 5:42 pm,

[jQuery] Attaching Events with Live Query

2008-05-06 Thread Adam Weis
Hello, I'm having an issue attaching some events to a simple accordion that is loaded via ajax. I've tried moving the accordion script into the head with Live Query and also putting the accordion script after the html that is loaded from the ajax for it to no avail. The ajax content is loaded b

[jQuery] Re: need some help with selecting text nodes

2008-05-06 Thread darren
oh man, i wish i could do as you suggested, that was my first idea and it would make things so much easier. However, the code i'm working with is markup of Shakespeare's works. Its incredibly complex and we use Cocoon to generate these pages from xml. long story short, my employer can't afford

[jQuery] Superfish question

2008-05-06 Thread Double D
I love the superfish menu and associated Java. I have modified a page that now has the menu drop to the left instead of the right, but I lose the delay for the left submenu. I cannot figure out how to make this work. Thanks, Darryl

[jQuery] Re: Need help with hover and fadein and fade out

2008-05-06 Thread Aaron
Can you give me an example code of what I need to do to get a table to fade in above the picture which when the mouse is over the picture will activate the fade in function and also when the mouse goes off the photo or that new fadeded in table then it would fade out. The table that fades will wil

[jQuery] Re: $ is not defined

2008-05-06 Thread Adwin Wijaya
It can be becaused the $ was used by another library like in wordpress admin (if i am not wrong), $ is assigned to their own lib. so try to use this : jQuery('#yourid').val(); :) On May 6, 11:57 pm, motob <[EMAIL PROTECTED]> wrote: > When ever I get the $ not defined error, its because my core j

[jQuery] Re: pass multiple form fields to the $.ajaxFileUpload fileElementId

2008-05-06 Thread Shane
As far as I can tell you have to manually add the desired extra variables to the url query string, like so: $.ajaxFileUpload ( { url:'ajax_fileUpload.cfm?createpoloroid=' + $ ("#createpoloroid").val() + '&createmedium=' + $ ("#createmedium").val(),

[jQuery] Re: addUnique

2008-05-06 Thread Ariel Flesler
This is actually a bug, I opened a ticket and added a diff, will be fixed soon. http://dev.jquery.com/ticket/2811 -- Ariel Flesler http://flesler.blogspot.com On 6 mayo, 13:50, Iconico <[EMAIL PROTECTED]> wrote: > On May 1, 7:42 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > > > That actually so

[jQuery] Re: append div trouble

2008-05-06 Thread Richard D. Worth
When you do $('#navigation').empty().append(hex); you're adding brand spanking new links to the DOM from straight html. They have no special click-handler applied. Maybe hide them instead of removing them? Then just show to restore? Otherwise, hopefully this will be of some help: http://docs.jqu

[jQuery] Re: using.attr('type') returns undefined

2008-05-06 Thread Richard D. Worth
Worked fine for me: http://paste.pocoo.org/show/48200/ Maybe you forgot to put your code in a document.ready? - Richard Richard D. Worth http://rdworth.org/ On Tue, May 6, 2008 at 6:12 PM, JP <[EMAIL PROTECTED]> wrote: > > if i have > > if I do: > > $('#fname').attr('type') - it returns "un

[jQuery] Re: [ANNOUNCE] Unobtrusive JavaScript with jQuery

2008-05-06 Thread Richard D. Worth
I just thumbed through those slides. What a fantastic presentation! Highly recommended to new or old jQuery users. - Richard Richard D. Worth http://rdworth.org/ On Tue, May 6, 2008 at 5:33 PM, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > "Unobtrusive JavaScript with jQuery", XTech 2008 presentat

[jQuery] using.attr('type') returns undefined

2008-05-06 Thread JP
if i have if I do: $('#fname').attr('type') - it returns "undefined" how can I get the "type" ?

[jQuery] jQuery AJAX IE Error

2008-05-06 Thread MediaJunkie
The offending jQuery code: $.ajax({ type: "POST", url: "/?ct=rating&rt_v=rr&rt_rk=" + markerObject.number, dataType: "html", success: function(d

[jQuery] jQuery keeping tabs on the election

2008-05-06 Thread Shaun Kester
I noticed jQuery and ui.tabs being used today to track the election on http://www.indystar.com/apps/pbcs.dll/article?AID=// NEWS05/80326049">indystar.com. It is, as always, great to see jQuery out in the wild.

[jQuery] Re: async treeview - still have problems re-initializing the tree

2008-05-06 Thread Jörn Zaefferer
Created a ticket out of this, not solved yet, but not forgotten either: http://dev.jquery.com/ticket/2810 Jörn On Fri, May 2, 2008 at 4:52 PM, rolfsf <[EMAIL PROTECTED]> wrote: > > We're still having problems implementing a 'refresh' button for a > treeview tree. We need to be able to re-initi

[jQuery] Re: slide down animation "jumps" at the end

2008-05-06 Thread Yann
I removed all the margin/padding of the element that's being modified to no avail... I should have mentioned that. Thanks for the feedback!

[jQuery] Re: extending objects with jquery

2008-05-06 Thread real
You might want to check this out: http://ejohn.org/blog/simple-javascript-inheritance/ On May 6, 11:13 am, Javier Martinez <[EMAIL PROTECTED]> wrote: > I'm moving from mootools to jquery and trying to port my UI framework > to jquery. > Some of my widgets are extending from another widget. For ex

[jQuery] Re: The CSS will not show at the first time of mouse over

2008-05-06 Thread [EMAIL PROTECTED]
Hi! It's me again. I think I solved the problem: The link for the tiny print-stylesheet (in the content-files) was incorrect. :-( Kind regards Andreas

[jQuery] Re: The CSS will not show at the first time of mouse over

2008-05-06 Thread flipthekid
hi andreas, i'm brand new to this board, but have been trying out the jquery for a while now. i can't seem to get the same results you're describing, on a mac anyway. but you should preload those roll over images for the icons. or better yet, use the css 'sprite' method. basically you have both

[jQuery] Re: validating dynamically generated data

2008-05-06 Thread pedalpete
Have you checked out the validate plugin? http://plugins.jquery.com/project/validate Their is a method they have where you can actually run an ajax call to your server to check for a valid input, or you could use it with your statically set value as you have already done. On May 6, 1:01 pm, jp

[jQuery] [ANNOUNCE] Unobtrusive JavaScript with jQuery

2008-05-06 Thread Klaus Hartl
"Unobtrusive JavaScript with jQuery", XTech 2008 presentation by Simon Willison - slides: http://simonwillison.net/static/2008/xtech/ --Klaus

[jQuery] Re: [ANNOUNCE] Spaz Twitter Client uses jQuery

2008-05-06 Thread Joe
Nice, will definitely look into it. Just started building apps in AIR and the first thing that came to mind was using jQuery. Joe www.subprint.com On May 6, 2:46 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > Yep. The only reason I didn't mention it in this context is because > Snitter is not a

[jQuery] append div trouble

2008-05-06 Thread flipthekid
hey folks, brand new here. been fiddling with jquery for a little bit now, but this one has me stumped. the goal is to de-link the links on a navigation system depending on what you've clicked on. but i need a restore function which i'm trying to do with append the functions work fine without th

[jQuery] Re: TableSorter + Filtering + Ajax

2008-05-06 Thread patrick davey
Hi Kevin, That looks like a really excellent plugin - might have to give it a try. The one thing it doesn't do that I need it to - is *filtering*. That is, say I am returning rows and one of the columns is a city - and there may be multiple rows with the same city data. I want to be able to cho

[jQuery] [clueTip plugin 0.9.6] The CSS will not show at the first time of mouse over

2008-05-06 Thread [EMAIL PROTECTED]
Hi pros! (Sorry for my bad english. I'm from Germany.) This is my first project with jQuery. It's cool but hard to understand for me. I'm (just) a designer. The problem is that nothing happens when I move over the images with the mouse. At the second time the clueTip appears. BUT somtimes with t

[jQuery] Re: how to redirect an Ajax loaded page to another page...

2008-05-06 Thread aldomatic
I found a work around, yes I was asking for some magic :) Thanks though. On May 6, 2:51 pm, Christoph Haas <[EMAIL PROTECTED]> wrote: > On Dienstag, 6. Mai 2008, aldomatic wrote: > > > How do I redirect an Ajax loaded page to another page? The Meta > > refresh does not work. Anyone? > > You are

[jQuery] Re: how do it?

2008-05-06 Thread Karl Swedberg
Luciano, If you're trying to get the value of an element with an ID of "search", and make it upper-case, do this: $('#search').val().toUpperCase(); --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 6, 2008, at 3:10 PM, Luciano Mazzetto wrote: sur

[jQuery] Re: strange behaviour: multiple selectors responding

2008-05-06 Thread Karl Swedberg
Hi Bob, I'd probably just do this without the ajaxStart and ajaxStop methods. Try this: $("#contests ul li span a").toggle( function(){ //store ref to toggling element for use in ajax callbacks... var lnk = $(this); var url_title = lnk.html(); lnk.html(

[jQuery] Re: jQuery AJAX Autocomplete with ASP .NET

2008-05-06 Thread MorningZ
Use a generic handler (ashx file) to spit out the needed list as plain text On May 6, 5:33 am, Lokesh <[EMAIL PROTECTED]> wrote: > Hi, > > How can I use jQuery AJAX Autocomplete script to call my AJAX method > from ASP .NET instead of php.

[jQuery] validating dynamically generated data

2008-05-06 Thread jpl80
I need to validate some dynamically generated form data to ensure clients can't order more of something than we have in stock. I can't set static comparisons. Here is my html: manual 1 90 Qty: manual 2 48 Qty:

[jQuery] Re: how to redirect an Ajax loaded page to another page...

2008-05-06 Thread Christoph Haas
On Dienstag, 6. Mai 2008, aldomatic wrote: > How do I redirect an Ajax loaded page to another page? The Meta > refresh does not work. Anyone? You are expecting too much magic to happen. Unless you handle redirections yourself it won't work. Just fetch the correct URl and you don't need any redir

[jQuery] Re: slide down animation "jumps" at the end

2008-05-06 Thread Scott Trudeau
IIRC this can be caused by padding and/or margin being other than 0. On Tue, May 6, 2008 at 2:10 PM, Yann <[EMAIL PROTECTED]> wrote: > > I got a smilingly simple problem but I have spent way to much time > trying to fix it unsuccessfully already... Hoping some jQuery guru can > figure this one ou

[jQuery] Re: [ANNOUNCE] Spaz Twitter Client uses jQuery

2008-05-06 Thread Rey Bango
Yep. The only reason I didn't mention it in this context is because Snitter is not a OSS project and the code cannot be used to create your own client. I actually use Snitter and it's great! Rey Andy Matthews wrote: Same thing with Snitter. -Original Message- From: jquery-en@goog

[jQuery] Re: [ANNOUNCE] Spaz Twitter Client uses jQuery

2008-05-06 Thread Andy Matthews
Same thing with Snitter. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Tuesday, May 06, 2008 1:53 PM To: jquery-en@googlegroups.com Subject: [jQuery] [ANNOUNCE] Spaz Twitter Client uses jQuery If you've ever been interested i

[jQuery] Re: jQuery Trac unavailable

2008-05-06 Thread Nick Fletcher
On May 6, 2:47 am, thatvetguy <[EMAIL PROTECTED]> wrote: > I get that "duplicate entry" error a lot too. I'm not sure the ID is > always the same... I think they just need to upgrade Trac. I have to hold my nose just right to navigate the site. Not very professional IMO.

[jQuery] Re: how do it?

2008-05-06 Thread Luciano Mazzetto
sure!, but i need do it ? $('input#search').toUpperCase(); // ??? On Tue, May 6, 2008 at 12:27 PM, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > first, get your markup correct: if you need to use several times the same > ID, then use a CLASS instead. ID are for UNIQUE entities. > > besides

[jQuery] Re: suggestions for a hover zoom on text...

2008-05-06 Thread gr00vy0ne
Thanks, I changed the code and it is running better especially when running Firefox and Safari are working very well. IE 6/7 still remains a problem. I've narrowed it down to where the layer popup is showing up. For instance, if I make the "layer pop-up" render above (y-axis not z) the hover poin

[jQuery] Re: how do it?

2008-05-06 Thread Luciano Mazzetto
sorry, i do this it and return ERROR no function.. $('input#search').toUpperCase(); On Tue, May 6, 2008 at 4:10 PM, Luciano Mazzetto <[EMAIL PROTECTED]> wrote: > sure!, but i need do it ? > > $('input#search').toUpperCase(); // ??? > > > > On Tue, May 6, 2008 at 12:27 PM, Alexandre Plennevaux

[jQuery] how to redirect an Ajax loaded page to another page...

2008-05-06 Thread aldomatic
How do I redirect an Ajax loaded page to another page? The Meta refresh does not work. Anyone? Thanks.

[jQuery] [ANNOUNCE] Spaz Twitter Client uses jQuery

2008-05-06 Thread Rey Bango
If you've ever been interested in learning how develop AIR apps w/ jQuery then take a look at the Spaz Twitter client http://funkatron.com/spaz. It's a OSS project where you can download the source and see how things are done. It's also a pretty neat Twitter client as well. :) Many thanks

[jQuery] slide down animation "jumps" at the end

2008-05-06 Thread Yann
I got a smilingly simple problem but I have spent way to much time trying to fix it unsuccessfully already... Hoping some jQuery guru can figure this one out for me... The javascript is pretty basic: // set defaults $('.news_content').hide(); $('.news_item_bg div:first').

[jQuery] Re: Photo Crop proposal

2008-05-06 Thread Richard D. Worth
On Mon, May 5, 2008 at 11:21 AM, LTG <[EMAIL PROTECTED]> wrote: > Please see the video of my prototype here: > > http://www.hdgreetings.com/view.aspx?name=JQuery%20Crop%20Prototype&video=http://download.hdgreetings.com/crop.flv Funny story. At 0:45 in your video, the picture of the family sittin

[jQuery] Re: event data ?

2008-05-06 Thread motob
The best way to see what the btn object is all about is to download and install firebug. Then use the console to output that object. for example: $('.mybutton').bind('click',function(btn){ console.log( btn); } ); Then on the console panel of firebug, you'll see the btn object, which is clickabl

[jQuery] Re: hover and fadin and fade out need help...

2008-05-06 Thread Aaron
I also want to add in I am making a javascript file meaning myscode.js and I included it in my website which is in html. once I do that would it run the js or do I have to do a special call using

[jQuery] error with $(this).val(value) in IE 6.x

2008-05-06 Thread code_berzerker
for some empty select elements inside form and table I've done something like that: $.each( $('#form_table .mt_type'), function() { elemId = $(this).attr('id'); //alert(elemId); $(this).html('\ -- wybierz --\ val1\

[jQuery] error with $(this).val(value) in IE 6.x

2008-05-06 Thread code_berzerker
for some empty select elements inside form and table I've done something like that: $.each( $('#form_table .mt_type'), function() { elemId = $(this).attr('id'); //alert(elemId); $(this).html('\ -- wybierz --\ val1\

[jQuery] Re: addUnique

2008-05-06 Thread Iconico
On May 1, 7:42 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > That actually sounds like a bug. What version ofjQueryare you using? > AFAICT,jQuery().add() is supposed to usejQuery.merge to avoid > duplicates. Can you create a test case and post a bug report? I'm using 1.2.3, the latest. I don't th

[jQuery] Re: Contributors to jQuery and GPL license

2008-05-06 Thread Rey Bango
Simon, Your best bet is to contact John Resign directly as he can answer your questions. I've cc'd him in this email. Rey... Simon wrote: The company I work for is interested in using jQuery in a software project. However in order to do so we have to perform due dilergence checks that the c

[jQuery] Re: $ is not defined

2008-05-06 Thread motob
When ever I get the $ not defined error, its because my core jQuery library is not there, for example when I switch from jquery.pack to jquery.min and I forget to change the

[jQuery] Re: Reinitialization of css values

2008-05-06 Thread Richard D. Worth
$(this).attr('style', ""); -or- $(this).removeAttr('style'); - Richard On Tue, May 6, 2008 at 9:51 AM, Gildas <[EMAIL PROTECTED]> wrote: > > Hello people! > > I'm looking for a solution to put div properties to initial state. > > Explanation : > $("div").toggle(function(){ >$(this).ani

[jQuery] Re: extending objects with jquery

2008-05-06 Thread motob
jQuery isn't really a javascript framework, so any extending and inheritance issues need to be dealt with using JavaScript's prototype chain. So you could do something like this: function View(){ ... } function DataGrid(){ ... } DataGrid.prototype = new View(); //here is your inheritance N

[jQuery] Re: $ is not defined

2008-05-06 Thread Jake McGraw
Could you provide an example of this online? - jake On Tue, May 6, 2008 at 12:33 PM, mdg583 <[EMAIL PROTECTED]> wrote: > > Hi, I don't know where this problem is coming from, but I find that > over the course of a few jquery AJAX operations and a ajaxForm submit, > for a little while I find t

[jQuery] $ is not defined

2008-05-06 Thread mdg583
Hi, I don't know where this problem is coming from, but I find that over the course of a few jquery AJAX operations and a ajaxForm submit, for a little while I find that "$ is not defined". Basically, I am loading a form into the current document using the jquery load function, and then setting up

[jQuery] Modal Dialog in blockUI

2008-05-06 Thread Adam
Is it possible to show an external webpage inside of a blockUI modal dialog? I'd like to call another page via ajax and populate the dialog instead of using a reference to a hidden div, etc.

[jQuery] Contributors to jQuery and GPL license

2008-05-06 Thread Simon
The company I work for is interested in using jQuery in a software project. However in order to do so we have to perform due dilergence checks that the code in jQuery meets the terms of its license. I realise that jQuery is offered under dual MIT and GPL licenses which is great. However, is any r

[jQuery] Re: the dropdown menu flashes on the screen on page load.

2008-05-06 Thread all4one
style="display:none worked great! thanks On May 2, 2:33 am, yabado <[EMAIL PROTECTED]> wrote: > You may want to specifically tell the menu dive to not display, hard > coded. > > > > On May 1, 6:04 pm, "Theodore Ni" <[EMAIL PROTECTED]> wrote: > > > > > You'll need to give us more information,

[jQuery] Re: newbie struggling with JSON

2008-05-06 Thread Josh Nathanson
That sounds like something could be going astray on the server. You can check your ajax call in Firebug by opening the console, then clicking the "Net" tab, then click "XHR" - you should see the url that is being requested, plus request and response tabs. Check the response tab and make sur

[jQuery] Re: [ANNOUNCE] jQuery UI v1.5b3 is Now Available for Download plus New Site

2008-05-06 Thread Rey Bango
Please post this bug on the jQuery UI mailing list. Thanks, Rey Quinode wrote: little bug inthe last resize example : when resizing the top border under FF 2 Mac, it comes over the text

[jQuery] Re: need some help with selecting text nodes

2008-05-06 Thread Glen Lipka
I tried to cut corners by skimming your html. I see it now. The divs close and the text is after the div. This is really strange HTML to me. Why not just put the text inside the div? Or just wrap the text inside a span? If you wrap the text inside spans, then the jQuery is pretty simple. I whi

[jQuery] jQuery UI Bug Reporting & Discussion - PLEASE READ

2008-05-06 Thread Rey Bango
Please post any issues with jQuery UI on the jQuery UI mailing list. http://groups.google.com/group/jquery-ui?hl=en Rey...

[jQuery] Re: jQuery UI v1.5b3 is Now Available for Download plus New Site

2008-05-06 Thread Rey Bango
Please post this error on the jQuery UI mailing list. http://groups.google.com/group/jquery-ui?hl=en Rey... Adwin Wijaya wrote: I used 1.5b2 and it worked well.. but when I changed to 1.5b3 it doesnt work .. like the datepicker ... I use this class instead using one by one jquery.ui-all-1.5b

[jQuery] Re: how do it?

2008-05-06 Thread Alexandre Plennevaux
first, get your markup correct: if you need to use several times the same ID, then use a CLASS instead. ID are for UNIQUE entities. besides that, this $('input #search') should be $('input#search') Hope this helps! alex On Tue, May 6, 2008 at 3:46 PM, Luciano <[EMAIL PROTECTED]> wrote:

[jQuery] extending objects with jquery

2008-05-06 Thread Javier Martinez
I'm moving from mootools to jquery and trying to port my UI framework to jquery. Some of my widgets are extending from another widget. For example a "datagrid" and a "dataview" objects extends from "view" object (because both uses same methods from view). With Mootools I have something like this

[jQuery] Re: using variables with jquery

2008-05-06 Thread Carl Von Stetten
quirksmode, Try this: $('#js_innerwrapper').animate({left:"+="+$.gamewidth}, 1000, 'easeOutSine'); HTH, Carl quirksmode wrote: > Hi, > > I need to make a div slide across the screen using the animate > command. It works when I use the following: > > $('#js_innerwrapper').animate({left:"+=500"}

[jQuery] using variables with jquery

2008-05-06 Thread quirksmode
Hi, I need to make a div slide across the screen using the animate command. It works when I use the following: $('#js_innerwrapper').animate({left:"+=500"}, 1000, 'easeOutSine'); However, i need to be able to change the 500 to be width of the div, which i get using: $.gamewidth = $('.gamewrap

[jQuery] Autocompleter using a static dropdown

2008-05-06 Thread Pickledegg
I have a dropdown of countries that has already been output to the browser. All the autocompleter examples I have seen use ajax to look up the input data and return a SQL like match. How do I make an autocompleter by just using the available option tags?

[jQuery] Re: jQuery UI v1.5b3 is Now Available for Download plus New Site

2008-05-06 Thread Adwin Wijaya
I used 1.5b2 and it worked well.. but when I changed to 1.5b3 it doesnt work .. like the datepicker ... I use this class instead using one by one jquery.ui-all-1.5b4.js but using beta2 it work perfectly ... here is the error : $.effects has no properties [Break on this error] $.effects.blind =

[jQuery] Reinitialization of css values

2008-05-06 Thread Gildas
Hello people! I'm looking for a solution to put div properties to initial state. Explanation : $("div").toggle(function(){ $(this).animate({ width : "90%", height : "90%", left : "5%", top : "5%" },500); },fu

[jQuery] how do it?

2008-05-06 Thread Luciano
I have a input = search and a form = form-search, well i need create action keypress on input search i do this: $(document).ready(function() { $('input #search') .keypress(function(){ $('#inf').fadeIn('normal');

[jQuery] IE7 accordion bug with images

2008-05-06 Thread Philip
I've set up an accordion style interface featuring text and images inside the collapsing content, this works fine in IE6, FF and Safari but IE7 seems to have problems with it, if the content isn't set to .hide() then it will display, but as soon as it's collapsed/ expanded again the problem arises

[jQuery] Re: Problem with IE6/7 show/hide and relative positioned elements below

2008-05-06 Thread kareneliot
http://fox-land.co.uk/clients/test/test.png shows the bug in IE6/7 after the elements have been hidden.

[jQuery] Re: event data ?

2008-05-06 Thread Adwin Wijaya
Thanks .. but I still curious what is inside the variable that passed through function callback (btn in my example) and how to have access on it. On May 6, 6:39 pm, motob <[EMAIL PROTECTED]> wrote: > $('.mybutton').click(function(){ > alert($(this).attr("id")); //get the id > $(this).attr("di

[jQuery] Re: Problem using livequery jquery.form and simplemodal together

2008-05-06 Thread Eric Martin
The first thing that jumps out at me is $ ('.ajaxadd').ajaxForm(options); Where is options defined? On May 5, 10:02 pm, paulp75 <[EMAIL PROTECTED]> wrote: > Ok I have a set of results from a search, and for each record in the > result set, there is a form built. > When they click add to cart, i w

[jQuery] Re: Toggle(fn,fn1) not working as expected

2008-05-06 Thread noon
Thanks a lot !

[jQuery] Re: use jQuery selector on IE5.5

2008-05-06 Thread Dan G. Switzer, II
Angus, >I just know that in jQuery + IE5.5 most selectors return empty array. >After digging into source code I found that it will try to get the >nodeName and nodeType of document (nodeType=9) which IE 5.5's document >element doesn't have these two attributes. As a quick fix I add the >followin

[jQuery] Re: Toggle(fn,fn1) not working as expected

2008-05-06 Thread Richard D. Worth
Here you go: $("p.more a").toggle( function() {$(this).html("« Less"); alert('1');}, function() {$(this).html("More »"); alert('2');} ).click(function() { $(this).parent().siblings("div.overflow").toggle(); }); You were adding new (more) toggle methods each time the link was clicked. You ju

[jQuery] Re: jQuery UI v1.5b3 is Now Available for Download plus New Site

2008-05-06 Thread [EMAIL PROTECTED]
It's an awesome job Congratulations from Belgium to all contributors ! On May 6, 2:47 pm, Joe <[EMAIL PROTECTED]> wrote: > The new website is slick...great work. > > Nice to see the Liferay sponsorship as well.  I started a project > using Liferay.  What an intensely robust solution! > > Jo

[jQuery] Re: jquery doesn't work after changing innerhtml

2008-05-06 Thread Richard D. Worth
Here are a couple of other options as well: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F - Richard On Tue, May 6, 2008 at 7:25 AM, motob <[EMAIL PROTECTED]> wrote: > > When you use innerHtml it completely destroys the anchor tag and >

[jQuery] Re: jQuery UI v1.5b3 is Now Available for Download plus New Site

2008-05-06 Thread Joe
The new website is slick...great work. Nice to see the Liferay sponsorship as well. I started a project using Liferay. What an intensely robust solution! Joe www.subprint.com On May 5, 9:20 am, Rey Bango <[EMAIL PROTECTED]> wrote: > jQuery UI v1.5b3, the jQuery project's UI & effects libra

[jQuery] Toggle(fn,fn1) not working as expected

2008-05-06 Thread noon
$("p.more a").click(function() { $(this).parent().siblings("div.overflow").toggle(); $(this).toggle( function() {$(this).html("« Less"); alert('1');}, function() {$(this).html("More »"); alert('2');} ); }); I am referring to "p.more a" when

[jQuery] Re: newbie struggling with JSON

2008-05-06 Thread Stan McFarland
Josh, thanks for the tip. console.log(code) outputs "undefined." Any other suggestions? Thanks again, Stan On May 5, 7:42 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > Stan, > > I'd suggest using Firefox with the Firebug extension, and doing a > console.log(code) in your callback.  Th

[jQuery] Re: newbie struggling with JSON

2008-05-06 Thread Stan McFarland
Josh, It worked with a relative URL, but not the absolute URL. Odd... -stan On May 5, 7:42 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > Stan, > > I'd suggest using Firefox with the Firebug extension, and doing a > console.log(code) in your callback.  This will give you better information

[jQuery] Re: processing json object

2008-05-06 Thread Nicola Rizzo
ops! for(var i = 0; i < records.length; i++){... On Tue, May 6, 2008 at 5:16 AM, JP <[EMAIL PROTECTED]> wrote: > > thanks ! > > I only had to add: > ... i < records.length; ... > > > On May 4, 2:14 pm, "Nicola Rizzo" <[EMAIL PROTECTED]> wrote: > > success: function(json, status){

[jQuery] Get body from an XHTML document loaded using an HTTP request

2008-05-06 Thread Marco
Hi! This code seems not to work: $.get(pag, function (data) { alert( $("body", data).html() ); }); Could someone Please help me? The page I am trying to manipulating is the following: = http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> http://www.w

[jQuery] Re: event data ?

2008-05-06 Thread motob
$('.mybutton').click(function(){ alert($(this).attr("id")); //get the id $(this).attr("disabled", "disabled"); //disable the clicked button }); On May 6, 3:33 am, Adwin Wijaya <[EMAIL PROTECTED]> wrote: > Hi > > I got a problem ... I have more than 1 buttons and each buttons has > unique n

[jQuery] Re: jquery doesn't work after changing innerhtml

2008-05-06 Thread motob
When you use innerHtml it completely destroys the anchor tag and replaces it with another one. Not sure if jQuery does this or the browser, but when you destroy an element, all event listeners are destroyed too. So you'll either have to re-initialize the click listener when you use innerHtml, or j

[jQuery] Re: php mysql

2008-05-06 Thread Brad Hile
I'm certainly not a jquery.guru but do use jquery for database update (php/mysql) I think from your post your thinking of jquery in the same league as server side languages like php & ruby and its not. Its client side javascript with all the restrictions that brings but a much nicer way of dealing

  1   2   >