Using couchdb to build a EMAIL messaging solution with threaded inline
replies
http://pylab.blogspot.com/search/label/couchdb
Hello,
I'm searching a DataGrid PlugIn. But I can't find, what I'm looking for :-(
I need one feature badly:
The Grid should use the complete content panel. So it needs to resize
the width and height, when the browser resizes.
I took a look at flexigrid and jqGrid. But they don't have a feature
I haven't really found a good solution for debugging in IE7. Any
suggestions or recommendations?
Thanks,
Nikola
wow ricardo... yes, great fun I've been having... AND your abbreviated
version in your last above DOES work...
SO, I use it, and remove the long duplicated version I had
ONE thing.. that's kinda obvious to me now, and mentioned a bit
above..
IS that of course... doing $('ul.first a,
Nikola ha scritto:
I haven't really found a good solution for debugging in IE7. Any
suggestions or recommendations?
Thanks,
Nikola
These are 2 bookmarks, don't know if exists something better.
1. http://getfirebug.com/lite.html
2. http://www.my-debugbar.com/wiki/
Bye
--
gianiaz.net -
thank you for ur reply.
but it still wont work when try it the way you said.
script type=text/javascript src=jquery.js/script
script type=text/javascript
$(document).ready(function() {
$(document).keypress(function(evt) {
if (!evt)
evt
Nikola ha scritto:
I haven't really found a good solution for debugging in IE7. Any
suggestions or recommendations?
Thanks,
Nikola
Forgot Fiddler for debugging xhr requests.
I'm looking at the new version of firebug lite, and it seems it can
debug also xhr request, but for I didn't
Thank you everyone! You've all been very helpful!
On Jan 4, 3:36 pm, Ricardo Tomasi ricardob...@gmail.com wrote:
Function arguments have no value by themselves. el is just a short
for element, to make scripts understandable, it makes it explicit
that an element is expected.
function
Dear All.
I have found the issue.
When i'm append elements to a span tag page get refresh. But when use
a Div tag all fine.
Thank you for looking into this issue.
On Jan 6, 9:05 pm, Ricardo Tomasi ricardob...@gmail.com wrote:
could you point us to the livepagewhere this is happening? It
Hi there guys! I want to share with you a new tutorial focused on
adding some functionality to search boxes of our websites:
http://yensdesign.com/2009/01/improving-search-boxes-with-jquery/
It shows you how to make:
- Autofocus when the DOM is ready.
- Highlight a search box when it gets the
Hello to you all,
I have looked in this group and could not find anyone trying the same
thing as i am trying to accomplish.
I am trying to add a class to an object if the next object has the
same attribute. I don't know the name of the attributes value the 2
have in common.
the code i have is:
Im trying to do something like this:
joe would click somewhere on the page, type in a message and hit
submit/enter. all of that is done with javascript. javascript also
figures the X/Y coordinates on the page and then sends an AJAX request
(would best in JSON format) saying user Joe wrote Hello
isn't that not the same as setting width:100% to all childs?
On Jan 7, 2:42 am, roxstyle resut...@gmail.com wrote:
I have a table where each td has its width declared in css rules.
Inside some td i have either p or div
I want to have these elements inherit the width of the parent td.
I
Hello, I am using JQuery 1.2.6, lightbox .5, and cycle together to
create a slideshow feature for a site i'm doing.
the scripts load for me on my computer, but not for my client using
(he tried two machines IE 6, firefox 3) it just tiles all images
vertically and lightbox doesn't function.
I've got a text field (named searchParam) that onkeypress will trigger
a function that will extract the field's value using $
('#searchParam').val() and use that value to be used in a database
query. I've noticed that when I'm typing the value, the JS code is
one step behind. That is, if I've
I'm using a lot of jQuery for my new site, and wonder ...
How can I better compress my code, which seems very long.
If any kind souls could tip me off with some pointers, I'd be much,
much, very much obliged.
Olly
the_guv
guvnr.com
The site is http://guvnr.com
My jQ is (hopefully fairly
I have created a few Dialogs and want them contained within a div.
I was surprised to see that the containment options is not available
for the UI Dialog. Is there any technical reason for this. I have
used
$.extend($.ui.resizable.defaults, {
containment: '#myContainingDiv'
}
but I also want
Hello I'm new to jquery and im trying to use the jQuery plugin:
Validation but i want to use an alert with it and also count how
many error have occured and put that in the alert as well.
how do i achieve this
thanks
I had some fun creating a pure HTML-DOM based Force-directed graph
layout, similar to a touchgraph (http://www.touchgraph.com/) view.
Built with the help of jQuery (hereby again: wonderful library), no
canvas or SVG used (only DOM manipulations).
You can see an experimental demo at:
Very good help..can i join two condition?
$('td:not(:has(table))') and $('tr:has(td)') ...
On Jan 7, 10:28 am, Karl Swedberg k...@englishrules.com wrote:
On Jan 6, 2009, at 8:53 PM, Vicky am wrote:
Hello Karl, Very good it works. Also how isay if td does not have
table. one of my td
Hello, I am using JQuery 1.2.6, lightbox .5, and cycle together to
create a slideshow feature for a site i'm doing.
the scripts load for me on my computer, but not for my client using
(he tried two machines IE 6, firefox 3) it just tiles all images
vertically and lightbox doesn't function.
Companion.JS from Core is useful too. Details at Debugbar site,
debugbar is best I know of.
--
guvnr.com
- Web Design Spain
inc. the_guv's Tips Tutorials:-
web wise - producing, blogging surfing
content - how-to's and highlights
pc care - hone IT, enjoy IT
... or just fix a feed.
Hello Christine Davis,
ShowToolTips recently added a feature, not provided further
established with the approval of jquery.validate for it, the link in
this demo: http://www.aemundo.com.br/jquery/validate/demo.html
toggleClass() takes a class name as argument, not a selector.
$(document).ready(function() {
$(a).filter(#click).click(function(){
$(div .six).toggleClass(two);
}).end()
});
On Jan 6, 10:20 pm, amuhlou amysch...@gmail.com wrote:
In your script it appears that
Hi,
$('#toto_contaner').children();
That only works, if all .toto elements are direct children of #toto_contaner
and there are no other elements in #toto_contaner.
In case only the second assumption does not hold, I guess
$('#toto_contaner div.toto').hide() is the fastest solution.
If the
Hi folks!
I have a simple profile image upload script. The problem is that I
can't change the actual image with jQuery, because is cahed ( i
suppose ).
Only one picture allowed per users so I renamed their files to
user1.jpg, user2.jpg, etc.
I tried to use $('#somethin').attr(src, userN.jpg);
Thanks! I didn't think I'd ever fix that one, but with your tip it
took only 5-10 minutes to fix my related issue. In my case I also had
to add a position:relative to the container holding my superfish menu,
so I could give it a z-index higher than the other position:relative
container that was
Just to follow this up a little, I'm guessing the slow loading you see
has nothing to do with MySQL and everything to do with trying to load
800 rows worth of data into the browser. So I would guess that your
option 1 would not give you any advantage since the browser would
still take several
So in my code I have:
$(document).ready(function($)
{
if ($(#TextBox11).val()|| $(#TextBox12.val())
{
$(#TextBox11).valid();
$(#TextBox12).valid();
};
$(#form1).validate(
{
try to append the time (something unique from the last) on the URL
so if you had:
img id=somethin src=user1.jpg /
then setting the src to something like
$(#somethin).attr(src, user1.jpg?x= + new Date());
should do the trick
.
On Jan 7, 9:41 am, Thomas tom.ronc...@gmail.com wrote:
Hi
Ok, thanks! I accept it! :)
On jan. 7, 16:00, MorningZ morni...@gmail.com wrote:
try to append the time (something unique from the last) on the URL
so if you had:
img id=somethin src=user1.jpg /
then setting the src to something like
$(#somethin).attr(src, user1.jpg?x= + new Date());
I actually found this while waiting for this message to be approved to the
list, what I ended up using was a slight modification so it does a deep
clone/copy
var aCopy = jQuery.extend(true, {}, $('#something option:first').data
('value'));
dave.methvin wrote:
Is there a way to get just a
On Tue, Jan 6, 2009 at 2:15 PM, BrianH emilyandbr...@gmail.com wrote:
I had a need for a certain functionality on my web page and thought I
would try my hand at writing my first jQuery plugin (I'm sure that's
how everyone gets their first plugin started). Since this is my first
plugin, I
The current version of dialog is designed to be a viewport dialog, not
related to any other element. The general plan is to build in support like
you have described when we have layout support/modules in jQuery UI.
The workaround you're using seems reasonable. If it's not working as you'd
expect,
In this line:
$(.row div).next([Type=+$(this).attr(Type)+])
'this' is refering to the 'window' object or some other context, not
the element you just selected.
$('.row div').each(function(){ //inside each 'this' is the current
element
var $this = $(this), next = $this.next();
if
You have set .draggable to be called as soon as the document is ready,
making any element with the id of 'myNewDiv' draggable. The problem is,
you're not creating that element until you click on a link. See
Hi all. I'm using this very simple script to load remote content inside a
div:
$(document).ready(function() {
$(#frm :input:visible:enabled:first).focus();
$().ajaxStart($.blockUI).ajaxStop($.unblockUI);
$('.carrega').click(function(){
var row = this;
row.abbr =
In order to ensure flight safety, the EU member states from November 6
passenger baggage from the implementation of the new requirements. By
then, all countries in the European Union airport boarding or transfer
passengers EU countries, the carry-on hair gel, toothpaste, face cream
and other
I'd like to suggest a small feature, having fadeToggle() (similar to
toggle() and slideToggle()).
Thanks!
Erik
I've written some code to be able to set the tabindex automatically in
our pages.
It looks like this:
$(document).ready(function() {
var el = $(.fieldsetDiv);
if (el.children().length == 0) {
el.remove();
}
//setting tabindex automatically
var
hi,
am trying to call a server function like this
$(document).ready(function (){
$('#Button1').click(function()
{
$.ajax({
type: POST,
url: remotefunctions.aspx/Test,
data: {'str':'1'},
contentType:
It would be interesting to see './files/v-winter.txt' as well,
specifically how it's being served.
Total shot in the dark, but I remember having had a similar problem
(IE-only) when I started playing with XML files many moons ago.
Maybe it would help if you served that file with an
Hi saiful!
You have several syntax errors in your code, but I assume they're just
typos (for once, you have isPopUp in your one selector, instead of
#isPopUp).
Your problem likely stems from misinterpreting the mouseout event,
though. That event fires *every time the cursor leaves a child of
I see var window = this from latest svn code
I use firebug debugger it.
info:Exception: redeclaration of const window
but in core.js
var
// Will speed up references to window, and allows munging its name.
window = this,
// Will speed up references to undefined, and
Yes, it can be done. I'm not sure if you're now trying to select rows
or cells or both, though.
Here is a way you can select rows that have descendant TDs but don't
have descendant TABLEs:
$('tr').filter(function() {
return $('td', this).length !$('table', this).length;
});
--Karl
thanks for you are knowledge and the best :)
On Wed, Jan 7, 2009 at 9:55 PM, Karl Swedberg k...@englishrules.com wrote:
Yes, it can be done. I'm not sure if you're now trying to select rows or
cells or both, though.
Here is a way you can select rows that have descendant TDs but don't have
Looks good to me, too.
I'm not very confident that this will work, but you might want to try
changing your references to be root relative rather than document
relative:
So, instead of
../../assets/js/jquery-1.2.6.js
just do
/assets/js/jquery-1.2.6.js
with all of the js and css files.
Thank you so much!
I have fixed items 1,2, and 3. For items 4 and 5, I had created an
issue on the project site:
http://code.google.com/p/postlink/issues/detail?id=1
I know I shouldn't use alerts (that was more for me when I was
developing the plugin). I would prefer to just ignore any
Unfortunately, it doesn't help my
problem
Are you sure you understand what Fiddler does?
With the program running to the side of IE, you can see:
1) that the getJSON request is actually made (which btw, it'll be
good to get in the habit of proper capitalization in JavaScript)
2) if it was,
Oh nice!
Yeah what I need to do is get the source from you and add the cookie
settings to the plugin. It's been working like a charm!
joe
On Jan 6, 11:45 am, Balazs Endresz balazs.endr...@gmail.com wrote:
Hi Joe!
Sorry, I was wrong, as the namespace is reversed. But maybe using it
this
Very impressive! Seems a bit sluggish at times in FF 3.0.5, but nice
work!
Joe
On Jan 7, 5:12 am, David Decraene david.ma.decra...@gmail.com wrote:
I had some fun creating a pure HTML-DOM based Force-directed graph
layout, similar to a touchgraph (http://www.touchgraph.com/) view.
Built
Hi
Why Jquery validation not working in thick box ?
pls advise me
thanks for advance
Hi,
First I just wanted to say how much I love Klaus' Tabs system, I've
been using it a lot lately and it has worked flawlessly.
I'm using nested tabs and I've been attempting to create a function
which reloads the selected nested tab. I'm sure this is a trivial task
but my limited JavaScript
Stuck on an IE bug. Check it out at:
http://fansn.com/temp/thickbox/
You'll notice when you click the link in IE, the Slideshow comes above
the thickbox and does not scroll with the window. Notice though when
you close it, you can see it properly working for a split-second. So
I've been trying
(I'm using the uncompressed v1.5 download here!)
It looks like the implementation of the remote method is supposed to
support custom messages from the server when using the remote method
but because of a trivial bug, they don't work.
This quick change fixes the problem (details below)
From:
I am facing two issues in using the tabs library :
1. ) I read the old version at
http://stilbuero.de/jquery/tabs/
here a method is given to adjust height of all tabs to the largest
by :
$('#container').tabs({ fxAutoHeight: true });
but in version 3 I couldn't find anything like this in the
We have a page that when you hover over images the tooltip shows, when
you click on the image, the list of images is hidden but the tip seems
to still say on the screen till i move mouse over another object that
has a tip on it.
Is there any way around this problem?
For counting errors, use numberOfInvalids(), which comes with the
showErrors-Method. Set onfocusout: false, if you don't want the plugin
to validate on leaving the element. There are some examples in the
documentation:
http://docs.jquery.com/Plugins/Validation/validate#toptions
On Jan 7, 8:18
Without an example page or code showing how the tooltips are
generated, it's very difficult to diagnose the problem.
On Jan 7, 11:53 am, i...@wenn.com i...@wenn.com wrote:
We have a page that when you hover over images the tooltip shows, when
you click on the image, the list of images is
In the hide img function just call hide tip.
On Jan 7, 8:53 am, i...@wenn.com i...@wenn.com wrote:
We have a page that when you hover over images the tooltip shows, when
you click on the image, the list of images is hidden but the tip seems
to still say on the screen till i move mouse over
no, not exactly.
if the div contains a long email or url with no spaces-the div will
expand beyond the intended width set for the td and essentailly
break the table layout. What i am trying to achieve is to place the
actual td content in a div and have the div (1) inherit the
parent td width,
DURING IMAGE CHANGES the white part of the picture which I believe is
transparent is visible and cuts into the next image. Is this normal
and unaviodable?
On firefox/linux I have 3 jpgs 3 gif (hope I did the transparency
right) and 3 png images...
they are mostly white pictures so if
Thanks!
It does need some computations that scale exponentially with the
amount of nodes shown...
but I think it seems to perform ok with a not too high amount of
nodes, for an implementation that only uses html elements. Who nows,
with future browsers (or a better algorithm :)) things might
Does anyone have any good documentation that describes the different
steps a browser goes through when requesting a web page? I'm
interested in the timing of different browser 'events' (ie 1st byte
received, some HTML is rendered, dom-ready, browser.onload, all HTML
is rendered page done, etc.).
Using
myvar==undefined (or any variable, which is undefined)
is about 30% faster than
typeof myvar==undefined
About window, I don't know if that would speed up accessing it but
being a local variable it may be a bit faster. I think the main
purpose is to allow some minifiers to replace local
On Wed, Jan 7, 2009 at 12:41 PM, BrianH emilyandbr...@gmail.com wrote:
Thank you so much!
I have fixed items 1,2, and 3. For items 4 and 5, I had created an
issue on the project site:
http://code.google.com/p/postlink/issues/detail?id=1
I know I shouldn't use alerts (that was more for me
I accidentally replied directly to the author, so for anyone curious
about the same thing, you could use the following code:
$(document).ready(function() {
$(.tbl tbody td).each(function(i) {
var $tdWidth = $(this).width();
thank you so much, that is going to work.
On Jan 7, 11:55 am, amuhlou amysch...@gmail.com wrote:
I accidentally replied directly to the author, so for anyone curious
about the same thing, you could use the following code:
$(document).ready(function() {
$(.tbl tbody
you're quite welcome :)
On Jan 7, 3:02 pm, roxstyle resut...@gmail.com wrote:
thank you so much, that is going to work.
On Jan 7, 11:55 am, amuhlou amysch...@gmail.com wrote:
I accidentally replied directly to the author, so for anyone curious
about the same thing, you could use the
If I'm understanding correctly the hide img list function is based on
the click event, so putting the hide tooltip function inside of it
would only work if the user always clicks on every image.
On Jan 7, 1:48 pm, Kean shenan...@gmail.com wrote:
In the hide img function just call hide tip.
I would take this a step further and suggest cutting out a lot of
headache in your code by using a php framework to manage a lot of the
functions you want to use.
I would check out codeigniter.com. CI has pagination and db helpers
so you don't have to write all the code yourself.
On Jan 7,
Thanks for the details, should get fixed in the next release:
http://dev.jquery.com/ticket/3807
Jörn
On Wed, Jan 7, 2009 at 5:36 PM, adamnfish adamnf...@gmail.com wrote:
(I'm using the uncompressed v1.5 download here!)
It looks like the implementation of the remote method is supposed to
How would you select elements that have CSS background images ending
with .png? And then add a class.
I'm trying to find an autocomplete/potentially combobox plugin that
does everything we're looking for so I don't have to roll our own. So
far the Jörn's is working the best but I can't seem to make it do
exactly what I want. Here's the behavior I desire, perhaps there are
some options I'm missing
DURING IMAGE CHANGES the white part of the picture which I believe is
transparent is visible and cuts into the next image. Is this normal
and unaviodable?
On firefox/linux I have 3 jpgs 3 gif (hope I did the transparency
right) and 3 png images...
they are mostly white pictures so if
Thanks much, I'm going to try these all out later today.
I am wondering what the relative advantages / disadvantages are of
validating purely in php vs. in jQuery.
I choose to validate from PHP because of a couple things.
1. It's more secure because nobody can see my PHP code, but they can
see my jQuery code.
2. If the user has JavaScript disabled, or for some other reason the
jQuery is unable to validate the code, it will still be validated.
On the other
script type=text/javascript
$(document).ready(
function() {
$(#text_span)
.mouseover(
...what if the areas i need to scroll to are defined as anchors in
html map elements on top of a large inline image? and the areas that
trigger the links are image map areas too. clicking on the image map
areas scroll from one area to another. ideally not using absolute
positioning, but with html
$(document).ready(function(){
$(.searchUser tbody td:first-child).css({width:80px});
$(.searchUser tbody td:nth-child(2)).css({width:110px});
$(.searchUser tbody td:nth-child(3)).css({width:145px});
$(.searchUser tbody td:nth-child(4)).css({width:70px});
$(.searchUser tbody
http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express is
supposed to...
(Although I haven't personally tried it - I have the regular version
myself)
On Jan 7, 4:40 pm, Nikola nik.cod...@gmail.com wrote:
Thanks much, I'm going to try these all out later today.
var handler = function(e){
//How do I know what event triggered this function?
//this does not work:
alert('e = ' + e);
if(e==focus) alert(focus);
else if(e==blur) alert(blur);
}
Here you find what bind() do:
http://docs.jquery.com/Events/bind
-Mensagem Original-
De: Saiful Haqqi
Para: jquery-en@googlegroups.com
Enviada em: quarta-feira, 7 de janeiro de 2009 20:12
Assunto: [jQuery] Re: mouseout problem
script type=text/javascript
Are you sure you understand what Fiddler does?
Yea, I saw what it does and I really appreciate the tip. It's really
useful and I could see the actual GET was working returning the data.
The problem was with the json data in the file I was opening (a
fundamental mistake on my part).
Just in
alert(event.type)
See
http://docs.jquery.com/Events_(Guide)#event.type
for more info.
- Richard
On Wed, Jan 7, 2009 at 5:46 PM, bob xoxeo...@gmail.com wrote:
var handler = function(e){
//How do I know what event triggered this function?
//this does
Thanks for the info, I was thinking along the same lines but wasn't
altogether sure.
OK, I lied - one more question.
I'm having an issue that appears intermittently when the user loads
the page, and their mouse is already over a designated link that
triggers the menus. When the user is over the link before the page has
finished loading, the toggle function gets confused, and
This seems to work.
$('elements').filter(function(){
return $(this).css('backgroundImage').indexOf('.png')+1;
});
Out of curiosity, are you trying to deal with png transparency in IE6?
On Jan 7, 4:29 pm, _cam_ camsk...@gmail.com wrote:
How would you select elements that have CSS background
It has to be a local var:
(function(){
var window = this;
})();
On Jan 7, 11:17 am, Jinpu Hu huji...@gmail.com wrote:
I see var window = this from latest svn code
I use firebug debugger it.
info:Exception: redeclaration of const window
but in core.js
var
// Will speed up
using NO Canvas or SVG is not that great a feature is it? :)
Make that use raphael.js and it's all set!
On Jan 7, 5:13 pm, David Decraene david.ma.decra...@gmail.com wrote:
Thanks!
It does need some computations that scale exponentially with the
amount of nodes shown...
but I think it
select name=month id=month
option value= SELECTED/option
option value=1 January/option
option value=2 February/option
function do_something_based_on_tag_name(selector) {
if(???=='select') {}
}
var selector = jq('#month');
do_something_based_on_tag_name(selector);
How do I get tag
oh,thank you
i see
On Jan 8, 9:25 am, Ricardo Tomasi ricardob...@gmail.com wrote:
It has to be a local var:
(function(){
var window = this;
})();
On Jan 7, 11:17 am, Jinpu Hu huji...@gmail.com wrote:
I see var window = this from latest svn code
I use firebug debugger it.
search window in global scope is slower than search window in local
scope
On Jan 8, 9:50 am, Jinpu Hu huji...@gmail.com wrote:
oh,thank you
i see
On Jan 8, 9:25 am, Ricardo Tomasi ricardob...@gmail.com wrote:
It has to be a local var:
(function(){
var window = this;
})();
On
I like to implement all my validation logic server side and to make it more
userfriendly I like to ajax my forms and send the validation errors back as
json.
I know this might not be the prefered method for some but it means you only
have to write your validation code in one language. (because as
I am wondering what the relative advantages / disadvantages are of
validating purely in php vs. in jQuery.
Neither is a replacement for the other, so using both is the best
solution.
Client-side validation with jQuery lets you give the user feedback
without requiring a page reload. That tends
Great information, I have some very strong ideas of when and how I'll
impliment jQuery and php validation now.
Thanks much,
Nikola
I'm trying to use livequery, toggle, and ajax together. The toggle methods
fire off ajax requests that will update the div containing the DOM elements
that are bound to the click/toggle (the reason I'm trying to use livequery
in the first place). Unfortunately, it seems like livequery always
I would guess that I'm missing something here rather than it being a
problem of Superfish (and Suckerfish too)...
Instead of wanting to change HTML page when you click on one of the a
href links that are my menu items, i.e
ul
lia href=the_next_page.htmlNext page/a
/ul
I want the links to
It seems like a good idea to to both. That way if the user does have
JavaScript disabled, there is still validation on the server side.
On Wed, Jan 7, 2009 at 1:47 PM, Will Anderson javayaht...@gmail.com wrote:
I choose to validate from PHP because of a couple things.
1. It's more secure
1 - 100 of 118 matches
Mail list logo