You really helped me out here! Thanks!!!
On 24 sep, 07:32, Sam Sherlock [EMAIL PROTECTED] wrote:
I used firebug console to test removing the jscrollbar
my code is like this
div id=updates
h2Updates #045; Recent Additions to this Site/h2
div
Hi, I can't test anything right now, but are you setting up the
ready() function after appending the iframe?
On Sep 23, 9:11 pm, hubbs [EMAIL PROTECTED] wrote:
Yeah, this really is not working. Could someone please help me to
understand how to make multiple frames use the same jquery instance
Right at the start:
$('[class^=Round_gen]').filter(function(){
return /Round_gen[0-9]+/.test( $(this).attr('class') );
}).each(function(){
// at this point $(this) is a single element
var $this = $(this);
var params = $(this).attr('rel').split(':');
etc, etc.
/*** you don't need this,
I have got the solution and sharing with you people so that someone may get
help from it ..
rich:jQuery selector=window name=windowResize query=bind('resize',
function(){jQuery('#MySplitter').trigger('resize');}).trigger('resize')
timing=onload/
..alee
http://techboard.wordpress.com
On Wed,
Give this a try:
var validator = $(#form1).validate({rules:...});
validator.settings.rules = { newrules... };
Jörn
On Fri, Sep 19, 2008 at 2:49 AM, MACE [EMAIL PROTECTED] wrote:
The problem:
I have a form that changes its validation rules based on user input. I
have tried:
Rock on.. that made more sense... I was not understanding why I needed
that line... but I get it now as far as the rest...
it's just a trageting issue I think this is the latest try
(the last part)
this.innerHTML = 'div class=clear_children readME'+this.innerHTML
+'/divdiv
You can't query a MySQL database from JavaScript. There has to be some
serverside script to execute a query and return the results. Thats
what search.php is supposed to do.
Jörn
On Tue, Sep 23, 2008 at 8:51 PM, allan2008 [EMAIL PROTECTED] wrote:
Hello.
I'm trying to figure out the
Expect the feature of ajaxQueue necessary for autocomplete to be
merged into autocomplete some time in the feature. That should clear
out the current confusion.
Jörn
On Tue, Sep 23, 2008 at 11:32 PM, D.Kreft [EMAIL PROTECTED] wrote:
On Sep 20, 5:33 am, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
Here just a little example how you can do this:
// index.htm
...
script
$(#autocomplete).autocomplete(search.php);
/script
...
// search.php
?php
mysql_connect(localhost, user, pass);
mysql_select_db(mySearchTable);
$query = mysql_query(SELECT * FROM T_Search WHERE name LIKE ' .
$_REQUEST[q] .
hi
i'm using the tablesorter plugin and i need to sort a data column in
this format
dd.mm. (which i think is the european way)
I read another thread about this in which european data was formatted
like this
1. -MM-DD and YY-MM-DD
Anyone implemented this kind of sorting?
Thanks vitto
I'm using the cycle plugin on this page:
http://oliverstephenson.in/home
If you disable JS and check, it'll be positioned properly. But once
the JS is applied, the container (#features) is thrown off to the
right, outside the page (causing a horizontal scroll bar), only in IE6
and IE7. Works
Hi, at first I would like to know if there's any reason why
documentation of autocomplete have been removed from UI documentation?
However my real problem is to change url option dynamicaly, when
change event is triggered:
my html code:
-
form action=
jQuery (English) | Google Groups
Activity: High activity. Language: English. Group categories:
Computers Software ... how to add elements to a jQuery object
without copying it ...
@
afternoon all
how do i go about accessing the value of the cycle's variables, namely
the value 'cyclePause'.
i am trying to call the pause, resume functions from a click event,
and need to get the cycle's current status to call the appropriate
function.
cheers
vince
I have several textbox with same name liTitle[]. But when validate,
only the first one will be validate.
I search validatation's source code.
Here is the problem and my fix:
L404:
elements: function() {
var validator = this;
//
Hello guys I'm a php programmer and I love the idea of jquery not to
have to load page after page for each thing that happens in a website,
I've look into it and I want to try it out. The fisrt script i want to
make using jquery is a comment form, that submits the comment and if
the comment is
Give this custom parser a shot
$.tablesorter.addParser({
id: 'DD-MMM-YY',
is: function(s) {
return false;
},
format: function(s) {
s = '' + s; //Make sure it's a string
I'm not sure you want/need to start looking at Plugins right away for
such an easy task
My suggestion is to head over to the docs (http://docs.jquery.com),
pull up the Ajax section and take a load at the $.ajax and $.load
methods to start with
Thanks Joel, I found this:
http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test.zip
Is this the latest version that was worked on? I'll play with it a
bit today.
hi
i tried the code, no effect though..
On 24 Set, 13:39, MorningZ [EMAIL PROTECTED] wrote:
Give this custom parser a shot
$.tablesorter.addParser({
id: 'DD-MMM-YY',
is: function(s) {
return false;
},
Thanks Joel, I found this:
http://users.tpg.com.au/j_birch/plugins/superfish/supposition-test.zip
Is this the latest version that was worked on? I'll play with it a
bit today.
Just a quick look at the test page shows that it appears to work fine
in both Firefox 3.01 and IE8 beta2, but not at all in Opera 9.52. I
haven't put it on the test server yet though.
thanks
So will you guys be providing tshirts, hats, etc to purchase at some
point? I know people going to the jQuery conference thing in boston
get a shirt, but what about the rest of us poor schlubs?
On Sep 23, 10:23 am, Rey Bango [EMAIL PROTECTED] wrote:
Hi Aaron,
The logo you're linking
in the plugin code there's this shortdate parser,
ts.addParser({
id: shortDate,
is: function(s) {
return /\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s);
},
format: function(s,table) {
var
Just a quick look at the test page shows that it appears to work fine
in both Firefox 3.01 and IE8 beta2, but not at all in Opera 9.52. I
haven't put it on the test server yet though.
I set ajaxCache to false but problem did not resolve.
Here is the problem. When page load cluetip binding all it's URL's
then caching all these.
On my page based on user action I need to rebuild these URL's. but
cluetip using whatever it's initially build.
These URL's has query string so Query
Yep. We're planning on doing that after the conference.
Rey...
Aaron Barker wrote:
thanks
So will you guys be providing tshirts, hats, etc to purchase at some
point? I know people going to the jQuery conference thing in boston
get a shirt, but what about the rest of us poor schlubs?
On Sep
Well, for one, i copied and pasted that code from another post i made
a month ago that was *very* similar... in doing so, i didn't change
the name of the parser that got wired up, that would be one reason why
it may not work (get wired up), but i can tell you that the sorting
parser itself most
You can use the extraParams-option with a function to set that value
as a query parameter.
Jörn
On Wed, Sep 24, 2008 at 9:38 AM, Kristaps [EMAIL PROTECTED] wrote:
Hi, at first I would like to know if there's any reason why
documentation of autocomplete have been removed from UI documentation?
Working example of above:
http://paste.pocoo.org/show/86103/
But isn't the fact that he is trying to use that extra parameter as
the driving force behind what URL to hit mean that this situation
cannot be fixed by using the extraParams option?
Thank you very much, will look into it :D
On Sep 23, 9:30 pm, Richard D. Worth [EMAIL PROTECTED] wrote:
See
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_ev...
It contains a couple of workarounds.
- Richard
On Tue, Sep 23, 2008 at 8:03 PM, mario [EMAIL PROTECTED]
ok
thanks a lot...your code was working and it was just a fault of mine
in writing the date!!
Thanks again!!
Vitto
On 24 Set, 16:00, MorningZ [EMAIL PROTECTED] wrote:
Working example of above:
http://paste.pocoo.org/show/86103/
I ended up doing something very similar to this, and was able toget it
working..
Thank you kindly for your comments they are much appreciated. Its nice
to know there are a lot of resources in the community..
On Sep 22, 2:35 pm, Eric [EMAIL PROTECTED] wrote:
If I understand your question
Hello jquery-Group,
i would like to integrate a callback into the lightbox-plugin. May
somebody can give me a hint how to do that? I dont need all the image-
stuff from the plugin, but want to use the overlay-method and load
forms via ajax into the overlay by a callback.
Thx in advance
Boris
Hi,
Clicking a link and writing an FLV Flash player object:
pa href=# onclick=changeFLV()Test/a/p
div id=playerContainer /div
script type=text/javascript
function changeFLV() {
//$(#playerContainer).html(
document.getElementById(playerContainer).innerHTML = object
Sure, but if he can just switch to a query parameter its trivial to
resolve. And from a URL design viewpoint he obvioulsy IS dealing with
a parameter...
Jörn
On Wed, Sep 24, 2008 at 4:02 PM, MorningZ [EMAIL PROTECTED] wrote:
But isn't the fact that he is trying to use that extra parameter as
no taker?
On Sep 23, 12:34 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi all. I'm working on a site where id like an image to fade in as
the page shows up. The tricky part (i think) is that you can't trace
the load of a background image. So ive made a new image dynamically
and traced
It's now on the test server and working. However, I had to use
superfish1.4.1.js instead of 1.4.8. It works in all of the browsers
mentioned above. In IE6 there is overlap where the hovered menu is
behind the one to the right of it. For those who have js turned off,
I'll have to include an
I am using a form statement. Consider, a form with an input statement
with id=id1 statement.
When the value of id1 changes ajax is fired which loads a modified
form with a new textfield with id say id2.
Now, the js fragment in the file which was $
('#id2').blur(Actions..) is not executed.
Hi Ricardo,
I am not appending an iframe, it is hardcoded. I am trying to append
to the parent document from within the iframe, and have the event in
the parent bound to the appended element from the iframe.
On Sep 23, 11:49 pm, ricardobeat [EMAIL PROTECTED] wrote:
Hi, I can't test anything
Oops, I'm sorry. I think I sent a mail instead of posting the
messages.
I'm not a good hand at this site, so I made a mistake. Please don't
get me wrong.
Sorry.
On Sep 24, 6:54 am, Phillip [EMAIL PROTECTED] wrote:
Thanks for the reply. I gave it shot, but still no dice. The good news
is
I'm in much the same boat. I've been using openLayer's python based proxy,
but wouldn't mind seeing a more secured php based one, if you'd be willing
to post. Of course, I'm currently limited to php4, so I may not be able to
use it, but... still curious.
Also, phil?, what are you querying
Give your UL tag an id 'menu', and replace your document.ready code
with this:
$(document).ready(function() {
$('ul#menu li a').each (function () {
$(this).append ('span class=hover/span');
var $span = $(' span.hover', this).css('opacity', 0);
$(this).hover
try this:
$(function() {
$('*').filter(function() { return this.id.match(/^s\d+$/); })
.each(function(n) {
$(this).cycle({
timeout: 0,
speed: 500,
fx: 'fade',
prev: '#s' + (n + 1) + '_prev',
next: '#s' + (n + 1) + '_next',
after:
http://www.phpfour.com/blog/2008/03/06/cross-domain-ajax-using-php/
?php
/**
* Transport for Cross-domain AJAX calls
*
* This is an implementation of a transport channel for utilizing
cross-domain
* AJAX calls. This script is passed the data through AJAX along with
two special
* hidden
Hello,
I'm trying to output an alert box on load of an iframe. Here is the
code I am using:
script type=text/javascript
$(document).ready(function() {
$(window.frames[0]).load(function() {
alert('done loading');
});
});
/script
It works in Firefox, but not in
If my first message was not an e-mail to an author and it is
moderated before revealed public, my second message was a real
mistake. If so, please just delete my second message and this. I'm
sorry again for my many mistakes. I'll learn how to use this group
properly.
On Sep 24, 6:54 am, Phillip
Just a heads-up that I got the help I needed on this topic from
PengoWorks' Calculation plugin at
http://www.pengoworks.com/workshop/jquery/calculation/calculation.plugin.htm
johhnnyboy wrote:
Hello,
Im looking for a jquery script that allowes removing comments (which
are placed in divs) for the site with an animation and then removes it
also from my database.
Something similar to hyves comments system.
that's a bunch of things working together...
jquery
i usually use the first method you described; a global var maintained by
2 functions, start and stop.
the other way is too complicated imo :)
AdamV wrote:
I'm writing an AJAXy application and when I start doing an ajax call,
I want to block the UI and show a loading graphic until the loading
I found the solution on your forum. Sorry for bothering.
Hello... here is another thry to work around this issue... any ideas
on this...
$(this).contents([childNodes=0]).not(.readME).addClass(sizeME);
var $size = $(.sizeME);
var $read = $(.readME);
function doSomething() {
var NEWheight = $read.offsetHeight;
var NEWwidth = $read.offsetWidth;
i realize that... i just needed this in a rare case where jquery is
showing an element before resizing it, even though the resize
statement (css) is before the show()...
On Sep 23, 9:05 pm, ricardobeat [EMAIL PROTECTED] wrote:
Yeah, it's just like doing
$('color','red'); alert('color
Try this for the success parameter:
success: function(html) {
var $html = $(html);
var title = $html.filter('title').text();
alert(title);
}
Basically, you have to use .filter() instead of .find();
Here's a demo page:
Here is another go... the problem is that It's not erroring out at
all... I need to figure this out... I just don't have the time under
my belt to do this right... I'v only beed working with javascript for
less then a year, and jquery for like 3 months ~may-be... any help
would be great... thank
FWIW,
After trying jquery html() and similar methods, myDiv.innerHTML,
document.write, and every library available for writing out a flash
object that can coexist with jquery (and thickbox) and work on
windows, here is the only one that worked:
Do you or anyone else have any suggestions, or experience with any of
the options?
On Sep 23, 9:37 pm, Richard D. Worth [EMAIL PROTECTED] wrote:
If you're looking for formatting in an actual textarea (not a rich
editor/iframe), look no further than markItUp!:
Head here:
http://groups.google.com/group/processingjs
And discuss! I already have one question and don't want to post it
here on the jQuery board so I figured I'd go ahead and create the
group.
Cheers.
Joe
And further FWIW,
Actually, I think the thing that made it work on windows was supplying
the base param for the object...
param name=base value=http://theserver.com/app//
There went about 16 hours down the tube...
it has been a great conversation.
On Sep 24, 2008, at 1:23 PM, Robert
So tring to work this out... I did this
function doSomething() {
var self = this;
var NEWheight = $(self).contents(embed).offsetHeight;
var NEWwidth = $(self).contents(embed).offsetWidth;
alert (NEWwidt+NEWwidth);
alert (NEWheight+NEWheight);
I vaguely remember that I have seen a jQuery version of this
http://web.archive.org/web/20030405135609/http://www.scriptbreaker.com/examples/scroll_menu.asp
(unobtrusive unordered list to menu transformation script) But, can't
get that by googling.
Has anyone bookmarked such plugin? TIA
--
Hi,
Playing around with the lightbox. Works nice!
Only one 'little' problem though:
When using it with IE6, the browser locks an the computer is having a
hard time. I already tried to explicitly add ie6_support: true.
I used css to hide the info box (and close link), that couldn't cause
the
Ok little by little
this does output the alerts but I can't seem to target the embed...
function doSomething() {
var NEWheight = self.childNodes[1].offsetHeight;
var NEWwidth = self.childNodes[1].offsetWidth;
alert (NEWwidth+NEWwidth);
alert (NEWheight+NEWheight);
Nevermind... got it.. but I would welcome any help on improving
this thanks for the help
$('[class^=Round_gen]').filter(function(){
return /Round_gen[0-9]+/.test( $(this).attr('class') );
}).each(function(){
$(this).each(function() {var $this = $(this);
var params =
Also tried to remove the show_linkback option in the construction
(read it in bug report).
Now I only have the files option in the constructor. Also tried to use
the non-packed version.
Snef schreef:
Hi,
Playing around with the lightbox. Works nice!
Only one 'little' problem though:
When
I've just started using the javascript .addMonth(1) function for
adding a month to the selected date.
It is working flawlessly so far.
I took a look for a subtractDay() function, but haven't found much.
Apparently you can use a php type date function in javascript
[code]
d = new
Hi again!
I tried to get the script done by myself since no one unfortunately
answered my last entry - this is the bit of code i managed to get
done:
$(document).ready(function() {
$(input).change(function() {
var char_count = $(this).val;
Because the text method returns a string, it's missing appendTo and
other methods. Now, of course I can do this:
$(#sandbox).text($(a).text());
But I'd prefer to do this:
$(a).text().appendTo(#sanbox);
What goes between text and appendTo? Or is the first example the best
way to do this?
i just want to bring this up for discussion to see what people have to
say about it and to further my understanding of how jquery works and
why it works that way. maybe its a bug?
imagine the base code bHello World!/b
// fails to assign click handler:
$(b).wrap($(a href='#'/).click(function(){
hi,
i am using jquery in drupal i have a list like
Div class='room'
car1 (edit)
car2 (edit)
/div
edit=(a href=javascript:void(0) class=editedit/a)
that was link define behind edit caption.
now in jquery:
$(.edit).click(function(){
add_new_room();
return false;
})
function
this should be pretty easy to answer. im a complete newbie to jquery
and javascript, but id like to use the cycle plugin (http://malsup.com/
jquery/cycle/) on my website to animate a few images. i know html and
css but i could not find clear steps or documentation on the website
as to how to
that sounds like an issue that needs debugging, not a (superfluous)
change to the library core...
On Sep 24, 1:06 pm, Alex Weber [EMAIL PROTECTED] wrote:
i realize that... i just needed this in a rare case where jquery is
showing an element before resizing it, even though the resize
yeah bud thats a given i just wanted to confirm that there wasn't a
callback and why not.
thanks for all the replies!
ajpiano wrote:
that sounds like an issue that needs debugging, not a (superfluous)
change to the library core...
On Sep 24, 1:06�pm, Alex Weber [EMAIL PROTECTED] wrote:
I thought I was getting the hang of jquery and javascript, but then i
wrote this small function, and it is really taking a long to run -
like 15+ seconds.
The purpose of the function is that i have a list of concerts ordered
by date.
I want to show the date when the date changes, so for all
Karl Swedberg-2 wrote:
Try this for the success parameter:
success: function(html) {
var $html = $(html);
var title = $html.filter('title').text();
alert(title);
}
Basically, you have to use .filter() instead of
Do you have a live page to show this in operation? because with that
little bit of code it's very difficult to point you in the right
direction
One piece of advice right off the top:you have to keep under
control how many divs with class divideDate are on the page
this should be pretty easy to answer. im a complete newbie to jquery
and javascript, but id like to use the cycle plugin (http://malsup.com/
jquery/cycle/) on my website to animate a few images. i know html and
css but i could not find clear steps or documentation on the website
as to how to
If you click on the scroll bar and try to click anywhere else on the
page without selecting an item, the results never go away in IE7. It
works fine in other browsers.
Example: http://education.llnl.gov/jquery/
Click the Auto Complete on the left and type Mod into field.
Is this a known bug?
Hi,
I was just wondering if there is anyway to listen for changes on the
location bar when a link sets an anchor on the same page.
Example:
current location: www.something.com/
I click on a link and it takes me to:
www.something.com/#someanchor
Is there anyway to listen for this
Javascript has the built in property location.hash that will return the
value of the anchor along with the # sign.
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mario
Sent: Wednesday, September 24, 2008 3:09 PM
To: jQuery (English)
I believe you can't assing an event handler to an element before it is
added to the DOM. This works for me:
$('b').wrap($('a href=#/a').click(function(){
alert(foo);
});
Or if you want the click event assigned to a and not b
$('b').wrap($('a href=#/a').parent().click(function(){
I think he's looking for something more along the lines of IE8's
onhashchange event[1]. Unfortunately, this is something that, to my
knowledge, no other browser implements.
[1] http://msdn.microsoft.com/en-us/library/cc288209(VS.85).aspx
On Wed, Sep 24, 2008 at 3:27 PM, Andy Matthews [EMAIL
Rene,
Thanks for your help. Your solution works great.
Jim
On Wed, Sep 24, 2008 at 6:54 AM, Rene Veerman [EMAIL PROTECTED] wrote:
Give your UL tag an id 'menu', and replace your document.ready code
with this:
$(document).ready(function() {
$('ul#menu li a').each (function () {
text() is really meant to retrieve text content as a string, and
append() is for appending elements, it's probably going through a lot
more hoops than just using text().
So it looks like the first way is the best way to do it, enjoy the
beauty of jQuery: extend it!
$.fn.textCopy =
There is no way a css() and show() could happen in the wrong order, as
the second one only executes after the first one returns the object.
Is it an animated resize?
On Sep 24, 3:59 pm, Alex Weber [EMAIL PROTECTED] wrote:
yeah bud thats a given i just wanted to confirm that there wasn't a
Thank you all, yes I was looking for something along the lines of what
Aaron said.
Well at least now I'm certain it can't be done...
On Sep 24, 3:33 pm, Aaron Heimlich [EMAIL PROTECTED] wrote:
I think he's looking for something more along the lines of IE8's
onhashchange event[1].
That worked perfectly. Thank for your help, I was completely stumped.
On Sep 24, 11:51 am, dlimpid [EMAIL PROTECTED] wrote:
try this:
$(function() {
$('*').filter(function() { return this.id.match(/^s\d+$/); })
.each(function(n) {
$(this).cycle({
timeout: 0,
Implement it yourself:
function onhashchange(){
//do stuff
};
$('a').click(function(){
if (this.href.indexOf('#')+1) onhashchange();
});
- ricardo
On Sep 24, 5:33 pm, Aaron Heimlich [EMAIL PROTECTED] wrote:
I think he's looking for something more along the lines of IE8's
onhashchange
Thanks for the help guys! I understand this much better now. I really
appreciate your work Jorn, thanks for sharing with us!
sorry i just took a look at the code and its a fadeIn() not a show()
but really it doesn't change anything.. here's the code:
$('#produtos_contato').css('width','350px');
$('#produtos_links').fadeIn(resize);
where resize() is a function that stretches the left menu panel as far
down or up as
Hello jquery community,
So I'm still wadding around jquery/dom/js but had to dive into the
deep end to support under-resourced projects. I have a couple code
questions and was also wondering what the best resource would be for
on-the-fly question/answer sort of thing: irc channel(s)? I'm hoping
what the best resource would be for on-the-fly question/answer sort
of thing: irc channel(s)?
This isn't operators are standing by... groups/forums like this are
people, other users, helping out for the sake of
the onload event is not very reliable, maybe using the old way (I
don't have IE6 to test it out:
(function($) {
$.fn.pageOpening = function(path) {
$(#loadingGal).show();
var imageObj = new Image();
$(imageObj).attr(src,path)[0].onload =
For a start try using $('div.divideDate'). This means that jQuery can
just check div elements for the divideDate class rather than every
element on the page.
Karl Rudd
On Thu, Sep 25, 2008 at 5:01 AM, pedalpete [EMAIL PROTECTED] wrote:
I thought I was getting the hang of jquery and
Hi,
This works for me (FF3) (code running in the parent frame):
$('#test',frames[0].document).click(function(){ //bind function to
event from element *inside iframe*
$('bTESTE/b').appendTo('body').click(function(){ // append
element to the *parent frame* and assing a click handler to it
As the jQuery instance is from the parent window, you have to specify
that you want an element from the iframe:
$ = window.parent.$;
$(function() {
$(#test, frames['thisframe']).click(function() { // element in
iframe
$(#hold).append('a href=#Inserted from iFrame/a br /'); //
element in
I think I'm pretty close to getting this to work, but it's not quite.
This is essentially tab functionality, but the initially showing div
needs to be randomly chosen.
I can either show the random div initially, but then the links don't
work. Alternatively, I can make the links work, but then I
Im having trouble getting this to work, I feel like Im really close.
Does anyone have any idea?
var path = location.pathname.substring(1);
if ([EMAIL PROTECTED] == path]) {
$('.nav ul#example li.addClass('active'));
}
I have a fairly complex jquery-based form in a ColdFusion back-end
app, with a tabbed interface that fires validation on each tab change,
as well as on submit. Lots of moving parts. I don't think there's
anything wrong here, works fine...
The problem is that in IE, the form is getting submitted
1 - 100 of 124 matches
Mail list logo