Hi all,
I've written a short accordion-like script to show/hide a element. The
problem is the slideToggle animation skips just before completion
rendering it very 'unsmooth'. The slideUp seems to work just fine.
At first I thought it would be fixed by removing all padding but
didn't seem to fix
The great thing of html of course is that you can use css, means you
can style it easily (demo has very basic styling, some rounded corners
in firefox).
Not sure how flexible styling in raphael is, I'm not familiar enough
with it.
Also don't think canvas or svg will be any faster, because the issu
Hello, I am using the jQuery UI accordion widget and cannot get it to
animate. I am calling like this:
$('.ui-accordion').accordion()
My jQuery UI build contains the "effects core" and "effect slide".
What am I missing in order to achieve the animation? Thank you!
Hi there, I've got some next/prev links going with my jquery cycle and
I'm trying to also include the div .folio_cycle to be clickable for
next image; can someone help me with that reference?
http://rejectedrobot.com/portfolio/new.html
up, please!
thanks
On 3 Gen, 11:50, Saledan wrote:
> Hi,
> yes i supposed that browsers older than ie6 are now unsupported by
> jQuery and web developers, i just play with those versions... the
> important issues are with ie 6 and 7.
> Yes, maybe the issue is with cache, but the strange thing i
ok , thanks :)
On Mon, Jan 5, 2009 at 10:34 PM, Ricardo Tomasi wrote:
>
> There is no way out!
>
> Actually, there is one: load the remote page via a proxy of your own,
> where you can parse it and remove the script... websites are not meant
> to be "captured" by others.
>
> On Jan 5, 6:39 am, Ab
Hey Richard, Brandon,
Thanks... the kind citizens of IRC and a little more forum digging pointed
me to the answer (I'd have updated this thread sooner, but being new to the
group meant my posts were moderated). I'm working on something that's in
development and can live on the edge within the jQu
Ddoesn't the animation actually consist of an expanding div - meaning,
the contents (and the outermost div) are fixed in position? Nothing
is actually 'sliding down'
On Jan 7, 8:58 pm, Wacko Jacko wrote:
> Hi All,
>
> Quite new to jQuery so would very much appreciate your help.
>
> http://www.p
On Thu, Jan 8, 2009 at 10:52 AM, donb wrote:
>
> I think you will have to calculate it from the table's position + the
> width of each column. Table cells do not have x,y coordinates
> defined.
>
>
That you mean's i has define the table width and column height? how i get
the index of column? i
I think you will have to calculate it from the table's position + the
width of each column. Table cells do not have x,y coordinates
defined.
On Jan 7, 10:45 pm, "saiful.ha...@gmail.com"
wrote:
> hi all,
>
> I want make simple sub menu, id mouse over the column of table will
> show the div with
I'm currently using the SVN Trunk version of jQuery and jQuery UI and the
sortables, which use drag and drop, are working for me. If you are willing
to live on the edge, which I'm guessing you are since you are trying to use
preview releases, you might want to try trunk to see if that fixes your
is
hi all,
I want make simple sub menu, id mouse over the column of table will
show the div with some text finally.
can i get the XY position foreach column in table?!
JQuery Code
$(".left_menu_td").mouseover(function(){
$("#sub_menu").css({"top":this.position().top,
"left":this.position.left, "di
I'm not sure you'll have success (yet) combining a (preview) released
version of jQuery UI 1.6 with a (preview) released version of jQuery 1.3.
Here's a summary
jQuery UI 1.5.3 will only work with jQuery 1.2.6 (not 1.3)
jQuery UI 1.6 final will only work with jQuery 1.3 final (not 1.2.6)
The prob
Hi All,
Quite new to jQuery so would very much appreciate your help.
http://www.punklogic.com.au/contact-punk-logic.htm if you click on the
tab in the header called 'PunkLogic elsewhere' you will notice I have
used the toggle command to view a div in the header. Problem is, the
elements etc in
Hello,
I've got a menu on my page that opens when clicked, and stays open
until it's reclicked or the user clicks anywhere else on the page.
Basically, it behaves the same as an application menu. The problem is
that a large part of the page is occupied by an iframe and I can't
figure out how to g
I do not know Javascript or Jquery very well, but by process of
elimination I have determined this script(not written by me) is the
cause of the non-secure error message in IE on a shopping cart
checkout page.
elm = $('#display_cart_summary')
elm.html(elm.html().r
Through the wonders of jQuery 1.2.6, jQuery UI 1.6rc2/4 and LiveQuery, I am
able to make divs that are generated after the page load be draggable via
something like so:
$(".results_container").livequery(function() {
$(this).draggable({
helper: 'clone',
Thanks for your code
I'm using ContextMenues to invoke non modal js-windows
showing additional datas (pictures, datasets ...) in my WP-CMS.
This works fine with jqModal for inline content but not with ajax!
If the jqModal-window is not closed there is no event
and no callback to update the wi
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 wrote:
>
> I choose to validate from PHP because of a couple things.
>
> 1. It's more secure because nobody can se
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 re
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 links that are my menu items, i.e
Next page
I want the links to be set via a jQuery click event such as:
Great information, I have some very strong ideas of when and how I'll
impliment jQuery and php validation now.
Thanks much,
Nikola
> 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 tend
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
search window in global scope is slower than search window in local
scope
On Jan 8, 9:50 am, Jinpu Hu wrote:
> oh,thank you
> i see
>
> On Jan 8, 9:25 am, Ricardo Tomasi wrote:
>
> > It has to be a local var:
>
> > (function(){
> > var window = this;
>
> > })();
>
> > On Jan 7, 11:17 am, Jinpu
oh,thank you
i see
On Jan 8, 9:25 am, Ricardo Tomasi wrote:
> It has to be a local var:
>
> (function(){
> var window = this;
>
> })();
>
> On Jan 7, 11:17 am, Jinpu Hu wrote:
>
> > I see "var window = this" from latest svn code
>
> > I use firebug debugger it.
>
> > info:"Exception: redeclarat
January
February
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 name from "selector" variable?
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 wrote:
> Thanks!
>
> It does need some computations that scale exponentially with the
> amount of nodes shown...
> but I think it seems to perform ok with
It has to be a local var:
(function(){
var window = this;
})();
On Jan 7, 11:17 am, Jinpu Hu 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 reference
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_ wrote:
> How would you select elements that have CSS background images ending
> w
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 thin
Thanks for the info, I was thinking along the same lines but wasn't
altogether sure.
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 wrote:
>
>var handler = function(e){
>
>//How do I know what event triggered this function?
>//this does not work:
>
> 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 cas
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
$(doc
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");
}
jq('i
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 wrote:
> Thanks much, I'm going to try these all out later today.
$(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"});
...what if the areas i need to scroll to are defined as anchors in
html 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 anc
$(document).ready(
function() {
$("#text_span")
.mouseover(
function () {
$("#isPopUp
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
I am wondering what the relative advantages / disadvantages are of
validating purely in php vs. in jQuery.
Thanks much, I'm going to try these all out later today.
> 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
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
How would you select elements that have CSS background images ending
with .png? And then add a class.
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 wrote:
>
> (I'm using the uncompressed v1.5 download here!)
>
> It looks like the implementation of the remote method is supposed to
> support custom me
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, 8:38
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 wrote:
> In the hide img function just call hide tip.
>
> On Jan 7, 8:53 am,
you're quite welcome :)
On Jan 7, 3:02 pm, roxstyle wrote:
> thank you so much, that is going to work.
>
> On Jan 7, 11:55 am, amuhlou wrote:
>
> > I accidentally replied directly to the author, so for anyone curious
> > about the same thing, you could use the following code:
>
> > $(document).
thank you so much, that is going to work.
On Jan 7, 11:55 am, amuhlou 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 td").each(function(i) {
>
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();
$(this).children().width($tdWid
On Wed, Jan 7, 2009 at 12:41 PM, BrianH 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 when I was
> deve
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 va
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.).
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
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 transparen
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 w
In the hide img function just call hide tip.
On Jan 7, 8:53 am, "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 another obj
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" 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
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 a
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
docu
(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:
915
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?
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 t
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 ex
Hi
Why Jquery validation not working in thick box ?
pls advise me
thanks for advance
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 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 with the help of jQuery (h
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 wrote:
> Hi Joe!
>
> Sorry, I was wrong, as the namespace is reversed. But maybe using it
> this way is easier and a bit
"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, th
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 elements
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 file
thanks for you are knowledge and the best :)
On Wed, Jan 7, 2009 at 9:55 PM, Karl Swedberg 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
> descendant TABLEs:
>
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
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
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
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'}",
contentT
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 'content-type
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
va
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 liqui
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 = row.a
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
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_elem
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();
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,
On Tue, Jan 6, 2009 at 2:15 PM, BrianH 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 would really apprecia
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 jus
Ok, thanks! I accept it! :)
On jan. 7, 16:00, MorningZ wrote:
> try to append the time (something unique from the last) on the URL
>
> so if you had:
>
>
>
> then setting the src to something like
>
> $("#somethin").attr("src", "user1.jpg?x=" + new Date());
>
> should do the trick
>
> .
> On Ja
try to append the time (something unique from the last) on the URL
so if you had:
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 wrote:
> Hi folks!
> I have a simple profile image upload scri
So in my code I have:
$(document).ready(function($)
{
if ($("#TextBox11").val()|| $("#TextBox12".val())
{
$("#TextBox11").valid();
$("#TextBox12").valid();
};
$("#form1").validate(
{
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 sec
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 no
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");
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 th
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 wrote:
> In your script it appears that you are try
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
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.
Try the "keyup" event instead
http://www.bloggingdeveloper.com/post/KeyPress-KeyDown-KeyUp-The-Difference-Between-Javascript-Key-Events.aspx
Not sure that's totally the solution, but it's worth a try...
i will note though, DB update on every single keypress? surely there
must be a better way t
> 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 funct
Very good help..can i join two condition?
$('td:not(:has(table))') and $('tr:has(td)') ...
On Jan 7, 10:28 am, Karl Swedberg 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 has and it shoul
1 - 100 of 120 matches
Mail list logo