[jQuery] Needing each element attribute, jQuery only returning the first element attributes

2009-08-16 Thread Samuel
Hi people. I was trying to port a script to a system that I'm developing but I have some trouble with it's function. The thing is, I have a list with elements that contain inline styles for background-images. The script I'm using creates a element inside the element with a CSS selector that sh

[jQuery] Re: why does load cost so much time?

2009-03-26 Thread Samuel
thanks, Leo. Actually I just tried closing firebug, which could be much faster, so I think it might be due to firebug itself raising the problem. 2009/3/26 Leonardo K > Maybe this question about performance should be ask in jQuery Dev Group. :D > > > On Thu, Mar 26, 2009 at 1

[jQuery] Re: why does load cost so much time?

2009-03-26 Thread Samuel
Hope get your helps. On Thu, Mar 26, 2009 at 1:14 AM, Samuel wrote: > supplement more information on the issue. > > $('.words') have html data, ie, this node is not empty, so it must cost > some time to remove the children. > > I made tens of tests, and the averag

[jQuery] Re: why does load cost so much time?

2009-03-25 Thread Samuel
the time as a very critical factor, so there is no negotiation on the time. Any suggestion on how to improve the speed is hugely expected, but your suggestions are iframe are also strikingly hoped. Thanks again. On Thu, Mar 26, 2009 at 12:42 AM, Samuel wrote: > Hi, > > recently I

[jQuery] why does load cost so much time?

2009-03-25 Thread Samuel
renderLearning($('#prev_word').attr('href')); return false; }) }) } your helps are highly appreciated. Thanks very much. Regards, -- Samuel(吴焱红) Blog:http://wuyanhong.blogspot.com

[jQuery] Re: JQuery XML parsing is not working in IE?

2009-03-09 Thread Samuel
ver > platforms)... > > On 20 фев, 12:02, Samuel wrote: > > Is there any solutions for this? I have a similar problem. > > > > I've added mimetype="text/xml" in Django's views.py > > > > It works well on firefox, opera and chrome, but not

[jQuery] Re: JQuery XML parsing is not working in IE?

2009-02-20 Thread Samuel
else >o.duplex_type="Full"; > > > o.fwd_mode=rap_util.formatFwdMode($("fwd_mode",this).text()); > o.wired_port_empty=""; >o.user=$("user_count",this).text(); > > o.tx_packets=rap_util.formatPackets($("tx_packets",this).text()); > > o.rx_packets=rap_util.formatPackets($("rx_packets",this).text()); >wiredPorts.push(o); >}); -- Samuel Wu

[jQuery] Fwd: Django flash my page automatically after a form submitting in jquery

2009-01-20 Thread Samuel
gone to end of itself. What;s this "return false" for? Thanks very much for your helps. I'm struggling on this problem for hundreds of hours :(. -- Forwarded message -- From: Samuel Date: Wed, Jan 21, 2009 at 12:43 AM Subject: Django flash my page automatica

[jQuery] Re: AJAX delay response.

2009-01-20 Thread Samuel
eceived + few more seconds before triggering success. > > this is the only time i encountered this one. some of my projects is > > not the same as this. But on my previous projects i did not put it in > > a function and not in a separate JS file. this is right here is on a > > different js file and within a function. Does it matter? Im really > > lost pls help > > > > website ishttp://creativouae.com/creativo_leave > -- Samuel Wu

[jQuery] Re: Django flash my page automatically after a form submitting in jquery

2009-01-20 Thread Samuel
an 21, 2009 at 12:43 AM, Samuel wrote: > Hi, > > After struggling in google for days on this problem , I hope any of you > could help me solve it. > > My problem is that after I submit a form in jquery with $.post to the > server, which is powered by Django. The post data ha

[jQuery] Django flash my page automatically after a form submitting in jquery

2009-01-20 Thread Samuel
ence["ensent"] > example.translation=sentence["cnsent"] > example.user=request.user > example.save() > return render('noResponse.xml') > I thought they were very easy functions, but really out of my understanding what on earth the problem is! I really need your helps. Thanks in advance. -- Samuel Wu

[jQuery] Re: UI Colorpicker plugin doesn't work with IE

2009-01-04 Thread Samuel Santos
Not soon enough for me I'm afraid. Please be free to use the CSS and HTML on my example to update the plugin or the documentation if you find it useful. --Samuel On Dec 29 2008, 5:02 pm, "Richard D. Worth" wrote: > These are known issues and are some of the reasons color

[jQuery] Re: UI Colorpicker plugin doesn't work with IE

2009-01-04 Thread Samuel Santos
Not soon enough for me I'm afraid. Please be free to use the CSS and HTML on my example to update the plugin or the documentation if you find it useful. --Samuel On Dec 29 2008, 5:02 pm, "Richard D. Worth" wrote: > These are known issues and are some of the reasons color

[jQuery] Re: Please help me on a .lt method

2008-12-30 Thread Samuel
ery? > 2. Did you write something like > var $table =$('table') before using $table.find() ? > > > On Dec 30, 7:30 pm, Samuel Wu wrote: > > Hi, everyone > > > > I started writing jquery from last week with the help from a very good > > book Learn

[jQuery] Re: Please help me on a .lt method

2008-12-30 Thread Samuel
ng English Vocabularies in a month, and I hope my scripts work well on my site. Thanks again. On Wed, Dec 31, 2008 at 1:17 PM, Karl Swedberg wrote: > Hi Samuel, > Sorry about the problems you're having with the code. The .lt() and .gt() > methods were removed from jQuery shortly after th

[jQuery] Please help me on a .lt method

2008-12-30 Thread Samuel Wu
Hi, everyone I started writing jquery from last week with the help from a very good book Learning Jquery. I met a problem when reading the book, which has the script: $table.find('tbody tr').show() .lt(2) .hide() .end() .gt(5) .end(); Where 2 and 5 are different from the book, but I think it

[jQuery] UI Colorpicker plugin doesn't work with IE

2008-12-28 Thread Samuel Santos
I've been trying to get the UI Colorpicker plugin working, but it has been tricky because the documentation and CSS styles are either missing or pretty buggy. I've got a working example http://samaxes.appspot.com/zip/ colorpicker.zip">here. My example works correctly with almost all the browsers

[jQuery] Re: Options

2008-12-16 Thread Samuel Santos
I posted an example at http://www.samaxes.com/2008/12/16/stripes-and-jquery-autocomplete/. I hope this can be usefull to others. Feedback is welcome. On Dec 16, 3:23 am, Samuel Santos wrote: > Yes, I'm using Jorn's plugin. > > I totally missed it. In Jorn's blog t

[jQuery] Re: Options

2008-12-15 Thread Samuel Santos
omplete#options > > On Dec 15, 12:55 pm, Samuel Santos wrote: > > > Where can I find a complete list of all the available options of the > > jQuery Autocomplete plugin?

[jQuery] [autocomplete] Options

2008-12-15 Thread Samuel Santos
Where can I find a complete list of all the available options of the jQuery Autocomplete plugin?

[jQuery] registering a callback on an jcarousel image

2008-11-27 Thread Samuel Vogel
Hey guys, I have the following code to to something, when an image in the carousel gets clicked: $(document).ready(function(){ jQuery('#mycarousel').jcarousel({ itemLoadCallback: mycarousel_itemLoadCallback, initCallback: test }); }); function test (a, b) { $('li

[jQuery] Re: How do I write a JQuery expression for this?

2008-07-21 Thread Samuel Vogel
We can't really help you with the information you provided. How is the PDF placed in the ? You could also just toss an exerpt of your markup at us. That'd be fine... Regards, Samy 2008/7/21 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Within a span with class "TreeView", there is a table. Within

[jQuery] Getting image src while using iepngfix

2008-07-20 Thread Samuel Vogel
Hey guys, I do have an image overlay running at: http://preview.ndoki.de/ It works like a charm in all browsers, except IE6. I noticed that it does not work, because the iepngfix script changes the src-attribute of the images, since my navigation is made up from transparent PNGs. But the jQuery ro

[jQuery] traversing over items (like foreach in php)

2008-07-06 Thread Samuel Vogel
Hey guys, I have a list that contains images as anachors. I need to iterate over the items and apply the height of each image to the anachor that surround it (to fix a displaying problem in IE). My code would look somehow like this: $("#navi ul li a").attr("height", $("#navi ul li a img").attr("he

[jQuery] form submit on choosing select option

2007-11-06 Thread Samuel Vogel
Hey guys, It seems that I'm unable to make up the right search term for google to find what I'm looking for: The eays jQuery way to make my form get submitted as soon as the user chooses an element from my select box. Should be easy,shouldn't it? Regards, Samy

[jQuery] Re: Looking for code snippet to "premark" input fields

2007-10-25 Thread Samuel Vogel
legroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Samuel Vogel > *Sent:* Thursday, October 25, 2007 6:35 AM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Looking for code snippet to "premark" input fields > > Hey guys, > > I'm on the search for an

[jQuery] Looking for code snippet to "premark" input fields

2007-10-25 Thread Samuel Vogel
Hey guys, I'm on the search for an small code snippet, that does change the value of an input field to lets say "put username here" and clears the field, as soon as the user clicks into the field and writes to it. Does somebody have this lieing arround? so long, Samy