super.. that's a step in the right direction
thank you
On Fri, Jun 5, 2009 at 11:30 PM, Gustavo Salomé wrote:
> $count=$(".div_count");
> var clone_count =!$count.('data') ?1:$cont.data('clone_count')+1;
> $count.data('clone_count',clone_count);
>
> 2009/6/5 Peter Marino
>
> Hi jQuery,
>> I have
Wow...thanks for all comment/help.
finally i followed Gustavo's suggestion and it is what exactly i am
looking for. MANY THANKS.
so can tell furthermore how when user click that menu text and stop
those effect?
I am really new from JQ and know using kinda of click function to
implement, but no e
Nothing jumps out at me with the supplied code snippet. Is there a way
you can provide HTML, CSS and JavaScript either in a live page (or
isolated) that demonstrates the issue you are having?
Side notes:
- At first glance I don't see any reason to use anchorLinks.each() ...
using anchorLinks.clu
// delete
then
$("li").removeClass("even").removeClass("odd")
.filter(":odd").addClass("odd")
.end()
.filter(":even").addClass("even");
On Jun 5, 7:57 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> I have a li layout which have the even odd class applied to them. Each item
>
What is your doctype for the page? strict doctypes will render under
document.documentElement rather than document.body.
Not sure if there's any particular reason you're doing it this way
though. It would probably be much simpler to do something like
jQuery("body").append("")
On Fri, Jun
Is it possible to include some more code with this? It's difficult to
tell what's going on when we can't see the source.
Thanks.
On Fri, Jun 5, 2009 at 2:11 PM, lysholm wrote:
>
> So I'm sure I'm just missing something simple, but I'm having a
> problem with the cascade plug in. When debugging
sorry. lots of stuff going on. hoped to have one out today. maybe this
weekend.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jun 5, 2009, at 2:15 PM, MorningZ wrote:
http://blog.jquery.com/
"this week in jQuery"-s last entry: May 1st :-(
Nothing n
On Jun 5, 2009, at 2:00 PM, James wrote:
Try giving this post a read for tips on inserting large amount of data
into the DOM:
http://groups.google.com/group/jquery-en/browse_thread/thread/9889ebd5e10c9122
James,
thank you for the link. The particular thread above deals with
inserting a la
Thanks for the responses. I did realize after I posted that I hadn't
converted the css changes yet...
What about postBody? What is it?
On Fri, Jun 5, 2009 at 5:59 PM, waseem sabjee wrote:
> $("#myelement").css({ position:"absolute" })
>
> thats how you set css in jquery
>
>
> On Fri, Jun 5, 2009
Hello,
I am using a jQuery script to insert iframe in the document after the
page load completes as follows:
jQuery(window).load(function() {
var container = jQuery(‘#container_id”);
jQuery(‘’).prependTo(container);
});
Apparently there is a problem (or probably a speed-up trick) with
F
So I'm sure I'm just missing something simple, but I'm having a
problem with the cascade plug in. When debugging in visual studio, it
stops on the "if($.ui.cascade.ext) {" line (line 35), and says it is
null or not an object. When debugging in firebug, it says
"$.ui.cascade is undefined". Can s
http://videobox-lb.sourceforge.net/
Does a similar plugin exist for JQuery?
Thanks
Hi guys!
I was trying to set up the plug in produced by fyneworks
http://www.fyneworks.com/jquery/multiple-file-upload/.
I've got a problem. I believe it's very simple for you:
This script generates different but I don't know
which are their NAME.
In the support pages they suggest to PHP users t
Hi. I've just started using jQuery Autocomplete a few weeks ago.
While using jQuery, I found that I needed to know how many records
were returned and also if the result set returned was empty. After
searching the jQuery documentation I couldn't find any property or
method that returned this value
For FF:
window.getSelection().removeAllRanges();
range = document.createRange()
range.setStart(YOUR_ELEMENT, start_position);
range.setEnd(YOUR_ELEMENT, end_position); //0
window.getSelection().addRange(range);
For IE the equivalent is something like:
get the range with document.body.createTextRa
I will try to create an example of what I am trying to do. Bear in
mind that the actual manipulation is being done in javascript/jquery
but I do not see the need to show the code to explain the problem.
Suppose I have created a div that appears like a regular textarea (it
is editable), with the ad
I have a li layout which have the even odd class applied to them. Each item
in the li has a delete link,click deletes the li but i am left with
li class even
li class even
li class odd
if i delete an odd one or vice versa
how can i upon delete re-assign the even odd classes so they remain lookin
Hi Brian,
Thanks for your reply.
Here is the sample code i am using for jquery cluetip
var anchorLinks = jQuery('.anchor-link');
anchorLinks.each(function(i) {
jQuery(this).cluetip({
cluetipClass: 'rounded',
I'm attempting to create a mini slide show of rotating image. I'm
using jquery cycle lite:
http://malsup.com/jquery/cycle/lite/
and pngfix
http://jquery.andreaseberhard.de/pngFix/
I've used both before and don't seem to conflict with each other.
However, in previous incarnations I was applying
I think GaVra solution is gonna crash the browser.
Try something like:
$.fn.repeat = function(speed, time){
var $this = $(this);
$this.fadeIn(speed);
setInterval(function(){
$this.fadeOut(speed, function(){$this.fadeIn(speed);});
}, time*1000);
};
$('#obj_to_blink').repeat ("slow"
You can define the error class with errorClass: "classname" and add
the css input.classname { }
On Jun 5, 5:39 pm, Leonardo Aidar wrote:
> When i valid the formulary with j-query validate, it increases the width(or
> size) of my imput.
> How can i take out this option? Please help me, its urgent
Im not sure if i get what you want to do but
try this:
$div=$('#div');
div.data('old',div.html());
2009/6/5 dhoover
>
> I have a web app where I have created a div to masquerade at a
> textarea so I can add highlighting according to so rules. I rely on
> setting designmode=true. After certain am
I agree with waseen
2009/6/5 waseem sabjee
> to be honest. it would not be wise using multiple different js libraries.
>
> you basically have multiple definitions that do the exact same thingit
> really is best to stick to a specific library as much as you can.
>
>
> On Fri, Jun 5, 2009 at 8
The plugin add a class that sets the input padding attribute.
Check the css adn remove it.
2009/6/5 Leonardo Aidar
> When i valid the formulary with j-query validate, it increases the width(or
> size) of my imput.
> How can i take out this option? Please help me, its urgent!
> thanks.
>
--
G
$("#myelement").css({ position:"absolute" })
thats how you set css in jquery
On Fri, Jun 5, 2009 at 11:55 PM, waseem sabjee wrote:
> heres something cool
>
>
> in your index.php have an empty div
>
>
>
>
>
>
> now create a different file new.php
>
> in this file have the following
>
> Message
heres something cool
in your index.php have an empty div
now create a different file new.php
in this file have the following
Message One
just testing
in your index.php have the following jquery
$(function() {
$.ajax({
url:"new.php",
success: function(html) {
var messageOne = $(#Messa
$.ajax({
url : "data.php", // target URL
type: "GET", // get or post
success: function(html) { // html or data on success
alert(html):
}
});
On Fri, Jun 5, 2009 at 9:31 PM, deex wrote:
>
> Hey all...
>
> I am doing a conversion of prototype to jquery and am stuck on a
> script... I can't figur
$count=$(".div_count");
var clone_count =!$count.('data') ?1:$cont.data('clone_count')+1;
$count.data('clone_count',clone_count);
2009/6/5 Peter Marino
> Hi jQuery,
> I have the following:
>
> if ( $(".div_count").data("clone_count")==undefined )
> {
> $(".div_count").data( "clone_count", 1 );
>
Nevermind. D'oh!
On Jun 5, 4:59 pm, infoaddicted wrote:
> This Week in jQuery, vol. 6
> -http://blog.jquery.com/2009/05/01/this-week-in-jquery-vol-6/
> ?
>
> On Jun 5, 2:15 pm, MorningZ wrote:
>
> >http://blog.jquery.com/
>
> > "this week in jQuery"-s last entry: May 1st :-(
>
> > Nothing n
This Week in jQuery, vol. 6 -
http://blog.jquery.com/2009/05/01/this-week-in-jquery-vol-6/
?
On Jun 5, 2:15 pm, MorningZ wrote:
> http://blog.jquery.com/
>
> "this week in jQuery"-s last entry: May 1st :-(
>
> Nothing new for the jQuery peeps to note in 5 weeks?
On 5 jun, 12:11, talisien wrote:
> I'm having some troubles with passing variables to jQuery.format
>
> I have a script (php) that's checks if the domain part exists. If not
> it will show an message
>
> The following code works #1
>
> It split an email address and assigns the domain name to th
There is, AFAIK, no more "robust" onload function. The shorthand
for it is quite easy: instead of:
$(document).ready(function () {
...
you only have to do
$(function() {
...
Make sure that you're not confusing the template if() block, which
would be server side, with java
When i valid the formulary with j-query validate, it increases the width(or
size) of my imput.
How can i take out this option? Please help me, its urgent!
thanks.
I have a web app where I have created a div to masquerade at a
textarea so I can add highlighting according to so rules. I rely on
setting designmode=true. After certain amounts of idle time my code
grabs the text from the div, which consists of tags and
tags and re-generates the html with new s
http://www.ltdmag.com/hometest/
If you view the above URL the TEST IMAGE at the top is actually a
custom field image for 3 blog posts.
the HTML seems to be formatted correctly and my cycle plugin also
seems to be called and formatted correctly.
I have disabled ALL plugins as well, and tested to
http://www.ltdmag.com/hometest/
If you view the above URL the TEST IMAGE at the top is actually a
custom field image for 3 blog posts.
the HTML seems to be formatted correctly and my cycle plugin also
seems to be called and formatted correctly.
I have disabled ALL plugins as well, and tested to
Hey all...
I am doing a conversion of prototype to jquery and am stuck on a
script... I can't figure out how to define certain fields.
Here's the prototype call:
new Ajax.Request(url,
{
method:'post',
postBody: 'media_id='+media_id,
onSu
I'll also try to look into it this weekend. Might have to do with
animations running. Will see if I need to put a stop() in somewhere.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jun 5, 2009, at 4:08 PM, Brian Cherne wrote:
I exchanged a few messages
I exchanged a few messages with Renaud (aka LideIn), trying to get
sample code... but that effort stalled. I've got a busy weekend, but
if you supply some sample code or send me a URL (on or off-list) I'll
take a look early next week.
Cheers,
Brian.
On Fri, Jun 5, 2009 at 11:11 AM, sduffer wrote
$(function() {
// wait for DOM to fully load
$("#target").html('<\/iframe>'');
$("#imageUpload").live("load", function() {
alert("iframe loaded");
});
});
On Fri, Jun 5, 2009 at 9:43 PM, GaVrA wrote:
>
> I am not really sure, but i think this would be the way to make it:
>
> $(function() {
> /
$("#mylink").live("click", function() {
alert("this alert will fire");
});
$("#mylink").die("click", function() {
alert("this alert will not fire");
});
On Fri, Jun 5, 2009 at 9:31 PM, James wrote:
>
> I didn't look through what the code does, but doing what you want to
> do should have the co
to be honest. it would not be wise using multiple different js libraries.
you basically have multiple definitions that do the exact same thingit
really is best to stick to a specific library as much as you can.
On Fri, Jun 5, 2009 at 8:29 PM, Ricardo wrote:
>
> jQuery saves the '$' object o
Try using hover event. It accepts two functions, 1st for mouseover,
and 2nd for mouseout. Something like this:
$(function() {
$(selector).hover({function () {
//function for mouseover
},function () {
//function for mouseout
});
});
On Jun 5
I am not really sure, but i think this would be the way to make it:
$(function() {
//jquery code
});
And maybe put that on page bottom or something like that.
On Jun 5, 8:54 pm, Amit Saurav wrote:
> Hello,
>
> I have a use case in which I need to insert an IFrame as a child to an
> existing DI
Im not sure if there is some function for this, but i guess you could
use something like this:
var a = 1;
while(a == 1){
$("a.tm_link").fadeOut("slow").fadeIn("slow");
};
and then on click you just put smtn like this:
a = 2;
:) maybe some tweeks but i guess it should work...
On Jun 5, 6:59 pm
I didn't look through what the code does, but doing what you want to
do should have the code separated out similar to this:
http://snipt.org/kGk
On Jun 5, 8:32 am, "Dave Maharaj :: WidePixels.com"
wrote:
> This is what I have so far
> So this is the initial click which loads a form .
>
> $('a[c
Hello I'm using the jquery validate plugin from bassistance.de. In my
form I have 3 select (day, month and year) to determine the birth date
of the user (the 3 inputs are used as independent fields). My problem
is that when I validate it, if the user has not entered the day, month
of year, I get o
Hello I'm using the jquery validate plugin from bassistance.de. In my
form I have 3 select (day, month and year) to determine the birth date
of the user (the 3 inputs are used as independent fields). My problem
is that when I validate it, if the user has not entered the day, month
of year, I get o
geez, it's so frkn hard to post a reply here. i had to signup, make a
nickname, select email prefs gaaah.
but, i spent a looong time with this same issue, fix is to use the stop
() method:
$("a.tm_link").stop().fadeOut("slow").fadeIn("slow");
this stops the animation when minute changes oc
ok just joined and posted there
Armand
On Fri, Jun 5, 2009 at 7:48 PM, Richard D. Worth wrote:
> This is great. Would you mind posting here as well?
>
> http://groups.google.com/group/jquery-ui
>
> Thanks.
>
> - Richard
>
>
> On Fri, Jun 5, 2009 at 1:23 PM, Armand Datema wrote:
>
>> Hi
>>
>> J
Hello,
I have a use case in which I need to insert an IFrame as a child to an
existing DIV just after the page load completes. That is, the request
to fetch content for this Iframe should go to the server "after" all
the media in the page has loaded, basically after the page "load"
event and not
This is what I have so far
So this is the initial click which loads a form .
$('a[class^="edit_"]').click(function(){
var url_id = $(this).attr('href');
var e = $(this).attr('class');
var x = $(this).attr('id').split('_');
var y = x[0];
var z = x[1];
jQuery saves the '$' object on init, if it exists. noConflict()
'returns' it to the old owner. Passing true the 'jQuery' object is
also freed. There's not much to it:
jQuery.extend({
noConflict: function( deep ) {
window.$ = _$;
if ( deep )
Just had to ask, are you also providing the callback function also?
$('a[class^="edit_"]').bind('click');
should be:
$('a[class^="edit_"]').bind('click', someFunction);
On Jun 5, 8:13 am, MorningZ wrote:
> First off, you are starting off with some really bad habits...
>
> something like
>
> On
http://blog.jquery.com/
"this week in jQuery"-s last entry: May 1st :-(
Nothing new for the jQuery peeps to note in 5 weeks?
First off, you are starting off with some really bad habits...
something like
One
Two
Three
and then saying
'a[class^="edit_"]'
is a bad way to access those links, as "class" acts a little different
than a parameter like "width" or "id"
something like
One
Two
Three
and then saying
'a.edit
Did you get any clue to solve this issue. I am facing the same problem
now
On May 17, 6:24 am, Lideln wrote:
> Hi,
>
> I have been using clueTip, and decided to use the hoverIntent feature.
> Unfortunately, in some cases, the tooltip does not hide when I move
> away from the element, and stays d
I have 6 links , each loads a form into its respective div. How can I
disable the links if one of the 6 is clicked preventing a user from opening
up 6 forms at once?
I have
$('a[class^="edit_"]').unbind('click');
which stops the click from working but once the form is submitted i now need
to ena
Try giving this post a read for tips on inserting large amount of data
into the DOM:
http://groups.google.com/group/jquery-en/browse_thread/thread/9889ebd5e10c9122
As for having many form elements, are these elements hidden by
default? Usually the page becomes slower as you add more content on
th
This is great. Would you mind posting here as well?
http://groups.google.com/group/jquery-ui
Thanks.
- Richard
On Fri, Jun 5, 2009 at 1:23 PM, Armand Datema wrote:
> Hi
>
> Just wanna show of our portal system based on DotNetNuke jQuery and
> jQueryUI
>
> We took the sortable example and modi
you can try this
var divsize = $("div").width();
however if one div size differs you won't get an accurate reading
so try this
var divsize;
$("div").each(function(i) {
divsize += $("div").eq(i).width() + ', ';
});
this will return the widths of each div seperated by a comma in your
variable
ok,
i did this instead,
> $(".pulldownOptionsContainerHidden").append(
> $(" class='pulldownOption'>").html(key).attr("value", key)
> );
maybe ie gets confused when not being specific enough? fortunately in
this case i am not counting on dealing with an array.
Liam
On
There is no global 'width' function in jQuery. It's a method of jquery
objects, try it this way:
$(function(){
console.log( $('div').width() );
});
On Jun 5, 8:35 am, runrunforest wrote:
> Hi,
>
>