I have used an object in the past as a function argument, but this was
for a plugin that I wrote. Using it in the architecture of a plugin
it worked.
BUT, this time, I just want to write a normal function, but still use
an object to set defaults and pass in changes to those defaults
through as
I've been using Google Talk and thought you might like to try it out.
We can use it to call each other for free over the internet. Here's an
invitation to download Google Talk. Give it a try!
---
khaled abbad wants to stay in
James thanks a ton for answering, but no changes with your suggestion:
Internet Explorer 6 won't show a thing, but Firefox and Safari will
show thumbnails and link without any problems.
I'm sure this is a stupid tiny issue but I cannot detect what it is.
Here is the code I'm using (29 Kb):
Hello,
the code bellow shows my problem. I have a link, when i click on this
link
the DIV with the Form slide in. This works.
But when I submit the form the result was executed twice. And I Don't
know why.
When I leave the code for slide in the form, the form was submited
only once.
Why jQuery
Hi ,
Am very much confusion in php login session tracking ,
This is my requirement ,
Am doing travel booking portal ,
Before submit checkout , i have the radio option , that is existing user Yes
No for new new user ,
If user clicks yes , then am showing the login form ,
Here i am entering
Cluetip works well for me.
Bharat
One should not prevent the other. It's probably some conflict, do you
have any other scripts besides jQuery in your page?
On Jun 23, 3:52 pm, Matthew mvbo...@gmail.com wrote:
Hi all,
I am trying to slideUp a container Div and using the slideUp's
callback parameter call slideDown on a
Maurício
Beautiful!
Maujor wrote:
I've hosted a live example for the effect at: http://jsbin.com/irera/
Edit it at: http://jsbin.com/irera/edit
Maurício
-Mensagem Original-
De: webguy262
Para: jquery-en@googlegroups.com
Enviada em: terça-feira, 23 de junho de
Hi
Right to the point:
I don't want to use the cancel button functionality of the ratings
plugin (version 3.12) so I don't want it showing in front of the
stars. I was expecting to find a configuration setting for this, but
didn't (did I miss it)? I added a line [control.cancel.hide()] to the
Hi,
Is it possible to call a http url for ajax query i.e.
$(document).ready(function(){
$.ajax({
type: GET,
url: http://www.domain.com/mypage.php;,
data: site_id= + site_id,
success:
http://kitfoxink.com/www/library/jquery-autocomplete/demo/
The demo of the dropdown list is working on the server, but not
working on the page.
I am trying to use more than one script in my page (lightbox is added)
If one or the other is removed all works fine. I found
-
script
jQuery.noConflict();
// Use jQuery via jQuery(...)
jQuery(document).ready(function(){
jQuery(div).hide();
});
//
If there's some kinda conflict test to make an extra callback call,
ie.
function doSlideDown(){
$(#externalform).slideDown(500);
}
$(#pageWrap).slideUp(1000, function(){
doSlideDown();
$(#btn_uopBack).fadeIn(250);
})
..fredrik
On Jun 23, 8:52 pm, Matthew
You have to prevent the form it self from posting. I think when you
return false, you return it to the jQuery event, not the post event.
Try this:
$('#tpcsubmit').closest(form).submit(function(e) {
e.preventDefault();
$(this).ajaxSubmit(optionstpcsubmit);
});
..fredrik
On Jun 24, 10:41
Hello, I'm just starting with jQuery and would like to know the best
way to identify children elements of this to perform animation on.
Some Googling brought me this seemingly useful code snippet: jQuery
(img, this);
But I don't know the correct syntax for this.
Here's my newbie
Hi,
I'm trying to get a onBlur event working in Safari. The problem lies
in getting the triggering element. I have no idea what the problem is.
Using this to get a triggering element:
var _trigger = e.originalEvent.explicitOriginalTarget ||
e.relatedTarget || document.activeElement;
For some
Hey everyone, I've only been into Jquery for a few months so I haven't
mastered the code yet, was hoping someone could help me.
I'm set up using Gallerific just like this -
http://www.twospy.com/galleriffic/advanced.html
I am using it to show a portfolio of clients work. However, for each
I've got jQuery and 2 plugin libraries running on my website. One runs
the navigation and the other runs a dropdown search box. Everything
works great on my localhost, but when I copied the directory to the
external server none of the jQuery worked.
I'm not getting any Errors in my error log,
Not really sure what you are after. But I think you need to make an
new instance of test first:
var test = function (defaults){
this.defaults = defaults || this.defaults;
alert(this.defaults.test);
}
test.prototype = {
defaults : { test : 'nothing' }
};
new test();
new test({test:
Hi Guys,
I am using .noconflict in my Jquery script on a page with another
library. The problem I am facing is that the other library is still
producing an error even WITH .noconflict being used.
I think its because the other library is being called first - as when
I put the jquery library
Hello!
How can I force this plugin to set path in cookie to /? 'Cause I
have this plugin as navigation menu on my site, and when I go to
another page, it creates new cookie for this new page (for example, on
the main page the cookie path is /, and when I go to /photo/theme/
nature the cookie path
Hello,
I am incredibly new to the world of jquery.
What I am trying to do is create tabs (using the tabs plug-in) that
load dynamic content via AJAX (so it makes a call to a jsp). What
this does is this loads a new part of a form. What I want to do is
when the user clicks on a new tab, I also
I use datepicker UI.
Is it possible to be selected multiple events, dates taken from a
mysql with PHP?
can you give me links to similar developments
Goal: From window A, I want to manipulate the DOM of window B, where
window B is the result of calling window.open().
My attempts are shown below, but Window B is never updated.
winRef = window.open(,Window B);
Try 1:
$(winRef).find(body).append(div id=containermr container/div);
Try 2:
Hi,
I am new to jquery but am quite familiar with JavaScript.
What I am trying to do is create tabs (using the tabs plug-in) that load
dynamic content via AJAX (so it makes a call to a jsp). What this does is
this loads a new part of a form. What I want to do is when the user clicks
on a new
I'm with James.
Make a var html that you append to content.
But for your problem, IE6 is something that should never been
invented !!
Try some somtehing like:
var html = 'div class=thumb'+nu+'a href=http://mylink.com;img
src=images/'+thumb+'.jpg alt='+alt+' name=image'+nu+'
style=border:3px
Hello,
I am incredibly new to the world of jquery.
What I am trying to do is create tabs (using the tabs plug-in) that
load dynamic content via AJAX (so it makes a call to a jsp). What this
does is this loads a new part of a form. What I want to do is when the
user clicks on a new tab, I also
here i've been working with this for the past few days. it should do
the trick
http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/
On Jun 23, 2:44 pm, Paul paulverh...@gmail.com wrote:
Hi there,
This is what I'm trying to do:
When a user selects a group in the
When using jQuery.js "$" is shorthand for "jQuery". It can also be used
as shorthand in other script libraries so you will find examples using
the longhand. For simplicity assume you are only using jquery and
jquery plugins
The following are the same:
jQuery("div").hide();
$("div").hide();
http://deweyresearch.oclc.org/pages/035262491.html
On the above page, we have two jCarousels that are advancing one-at-a-
time until you get to the final item. (22 clicks for carousel at top
of page, 16 clicks for the Related Works carousel half way down the
page. Try this one, it's easier to
jQuery only support IE6+
On Tue, Jun 23, 2009 at 09:49, pHoEniX phoenix1m...@gmail.com wrote:
Hi.
Recently I had to make a project in IE 5.5 too. IE 5.5 throw almost
instantly error. I have downloaded the developer version and try to
figure out what could cause the errors.
By commenting
Hi, im using the 'success' param to add some extra step when validating: i
change the background color of the parent div to green. Also, if there is an
error i want to change the background color of the parent div to orange, but
i cant found a function/callbackMethod/propiertie like 'error' or
Hi all,
I have to validate a textbox if the user select a particular value in
a combobox.
For example, if the user select the Specify new color in the
following combobox:
select id=color name=color
option value=-1Specify new color/option
option value=1Red/option
option
Use the highlight and unhighlight options for that.
Jörn
On Wed, Jun 24, 2009 at 2:34 PM, Manolet Gmailmano...@gmail.com wrote:
Hi, im using the 'success' param to add some extra step when validating: i
change the background color of the parent div to green. Also, if there is an
error i want
Hi Charlie,
You're right. I'm working on a wordpress theme. 'current-cat-parent'
is a class created by WP. So here is a part of the code generated:
superfish.js:
sf.c = {
bcClass : 'sf-breadcrumb',
menuClass : 'sf-js-enabled',
anchorClass :
I am trying to use more than one script in my page (lightbox is added)
If one or the other is removed all works fine. I found
-
script
jQuery.noConflict();
// Use jQuery via jQuery(...)
jQuery(document).ready(function(){
jQuery(div).hide();
});
// Use
autocomplete border for suggestion list is not showing properly when i
am changing it's width. please help. Thanks in advance.
Hi ,
i am newbie to Jquery and Dynatree also.
I want to Load my tree dynamically and need to get the tree data from
db.
For that I am using initajax() like this
$(function(){
$(#myTree).dynatree({
initAjax: {
url: http://localhost:8080/TreeSample/pages/
hi, i would like to ask what must i change and in which file / line so
i can have instead of on hover and closing automatically the ability
to expand by myself and close myself the menu with accordion list
choise...the site preview is: http://preview.nosmoke.gr
ty in advanced for your help
How about some code, or what it's doing / not doing? We can't help you
unless you help us.
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of smiling_face
Sent: Wednesday, June 24, 2009 8:22 AM
To: jQuery (English)
Subject:
thanks for fast response.
Sorry but the form was still executed twice.
Best Regards
Johannes Geppert
-
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
On 24 Jun., 11:42, fredrik carl.fredrik.bonan...@gmail.com wrote:
You have to
What happens when you tie the event to the form instead of the submit
button:
$('#teilprojekt_create').submit(function(e) {
e.preventDefault();
$(this).ajaxSubmit(optionstpcsubmit);
});
If that doesn't work, see what the length of $('#tpcsubmit').closest
(form) is.
jQuery.noConflict() is used for using jQuery framework with other
framework.
I think you problem is that you load jQuery framework twice:
script type=text/javascript src=http://ajax.googleapis.com/ajax/
libs/jquery/1.3.2/jquery.min.js/script
and:
script type=text/javascript
Thanks a ton! Worked!!
And totally agreed, IE6 should be out of way for (mental) security
reasons :D
Thanks again!
fredrik escribi:
I'm with James.
Make a var html that you append to content.
But for your problem, IE6 is something that should never been
invented !!
Try some somtehing
Don't really understand the Validate Plugin, but you can use this to
validate if user selected newcolor or any other:
if(parseInt($('#color').val) === -1 $('#newColor').val().length ===
0){
/** user hasn't filled out a new color in #newColor when choose to
Specify new color **/
}else{
how can i set the attribute of an item in a select box to selected?
Still no luck :(
With your code: http://christien.info/tijdelijk/edge/test.php
The original layout without the lightbox code:
http://christien.info/tijdelijk/edge/aboutus.php
2009/6/24 fredrik carl.fredrik.bonan...@gmail.com
jQuery.noConflict() is used for using jQuery framework with other
How do I create a namespace within jQuery ?
(function($) {
var myNS = {};
})(jQuery);
(function($) {
$.fn.myNS.foo_1 = function(){
};
})(jQuery);
(function($) {
$.fn.myNS.foo_2 = function(){
};
})(jQuery);
$(#id1, id2).myNS.foo_1();
$(.cls1,
I'm creating a photo gallery admin section. I'm allowing the user to
decide which single image they would like to be the gallery image (the
image that displays on the list of galleries page). I am using a green
box to show which image is currently set as the gallery image, and a
red box to show
ok , ive posted about 6 questions in this group since i joined and not
one has answered. not even an attempt.
I've seen question, both easier and more difficult that mine being
answered. Am i asking in the wrong way? Is there something im
forgetting to include?
what can i do to make my
ok , ive posted about 6 questions in this group since i joined and not
one has answered. not even an attempt.
I've seen question, both easier and more difficult that mine being
answered. Am i asking in the wrong way? Is there something im
forgetting to include?
what can i do to make my
Looking through the archives to this group I can see that at least two
of your questions have been answered:
http://groups.google.com/group/jquery-en/browse_thread/thread/63045dd1dd66ee81/9910e8ed72d0c764?lnk=gstq=shaded#9910e8ed72d0c764
On Jun 24, 2009, at 11:10 AM, shaded wrote:
ok , ive posted about 6 questions in this group since i joined and not
one has answered. not even an attempt.
I've seen question, both easier and more difficult that mine being
answered. Am i asking in the wrong way? Is there something im
On Tue, Jun 23, 2009 at 7:13 PM, Kittrickkit.macallis...@gmail.com wrote:
I've got jQuery and 2 plugin libraries running on my website. One runs
the navigation and the other runs a dropdown search box. Everything
works great on my localhost, but when I copied the directory to the
external
Take it easy man... We all read all the posts, maybe no one knows what you
are asking for.
But, tell me what is your question, maybe I can study it a little further..
Regards
- Original Message -
From: shaded dar...@eztransition.com
To: jQuery (English) jquery-en@googlegroups.com
thanks for the replies,
@cesar, i'm not mad or anything, i just figure i was asking in the
wrong way and wanted to find out what im doing wrong.
@michael, thanks for pointing out that 2 questions were answered. This
is my first google group and i figured that replies to my post would
be emailed
thanks, charlie,
jquery feels like such a puzzle, and i get bits and pieces from
everywhere.
Can we take this to another level? what if i want to have a first
element in the list, example --select all--, how do i set it so when
this is selected, all values get selected.
On Jun 23, 11:55 am,
Hello Joern and group members,
I am using the TreeView plugin and have come across a situation where
I need to set one of the top level branches to remain open.
Using the example below, if I remove the span tag from my To Always
Remain Open list item, it removes the ability to 'click/trigger'
Cluetip works fine in IE
But in Firefox/Safari
I am displaying multiple cluetips(7). Each cluetip corresponds to a
different event on our calendar, in theory and for discussion
purposes, one for each day of the week.
Hovering over the first link (sunday) yields a cluetip with a title
and
Im not sure how to not get these emails anymore
On Wed, Jun 24, 2009 at 9:23 AM, BlueOysterCult
st...@michaelsondesign.comwrote:
Im not sure how to not get these emails anymore
http://groups.google.com/group/jquery-en
click edit my membership
--
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish
I think I figured out the problem.
@Ricardo - yeah I agree there shouldn't be a conflict. I'm not using
any other scripts.
@fredrik - I had tried having the callback call a separate function,
didn't work.
What seemed to be the issue was that I was doing the effect animations
on an iframe load:
Are you just asking in general or have you started receiving every
message posted to the group lately (for no reason like I have!) ?
On Jun 24, 9:23 am, BlueOysterCult st...@michaelsondesign.com wrote:
Im not sure how to not get these emails anymore
when I try your code the form will still executed twice.
The Alert tells me 1 closest form .
Any other Idea?
Thank You
Johannes
-
web:http://www.jgeppert.com
twitter:http://twitter.com/jogep
On 24 Jun., 16:01, fredrik
$(select option).attr(selected,selected);
if your option or select tag has an id use that:
$(#select #option).attr(selected,selected);
now depending on what you are trying to do there are different ways to
get an array of all the options in a select tag and to determine what
option should be
Also - multiple cluetips are not working in google chrome v2.0.172.33
Only the first one (Sunday) is working
i am trying to learn how to position a show/hide module to the a
that triggers it, instead of a literal positioning through css
this is a sample of the module i am trying to position.
http://www.roxstyle.com/projects/blssi/cms/de-tool/proj-distribution.html
instead of setting the css margins
Hi All,
I'd like to set the align attribute of only the first TD in a TR for
an entire table but am not sure how to address them all in one go.
Probably an Nth child thing or similar but not sure!
Thx,
Mike
when you use this code $(tr td) it would create an array of all
those td's in the tr. So then we just need to cycle through the first
two and set the attribute then break the cycle.
var counter = 0;
$(tr td).each(function(){
$(this).attr(attribute,value);
counter++;
I click an ajaxified link in the left column div, and it loads content in the
right column div.
All is good!
Now, tho, I want to click a link in that right hand content, and replace it
with new content.
Targeting the right column div name does not work; the content loads in a
new window.
$('tr td:first-child').attr('align', 'value_here');
Maurício
-Mensagem Original-
De: roxstyle
Para: jQuery (English)
Enviada em: quarta-feira, 24 de junho de 2009 14:17
Assunto: [jQuery] show/hide positioned to its trigger
i am trying to learn how to position a show/hide
actually now that I thought about it my first post may not work...
because you'd have to first get all the tr's then take each tr and
find the first two td's. You can try my first response, if not try
this:
$(table tr).each(function(){
var counter = 0;
Thx Matthew! Great explanation.
I probably should have worded one thing a bit differently...I'd like
to set this attribute for the first TD in each TR for EVERY TR in an
entire table. I'm sure this changes things a tiny bit?
Mike
On Jun 24, 10:43 am, Matthew mvbo...@gmail.com wrote:
when you
Didn't see your latest post before I posted! I'll give it a spin. Thx!
On Jun 24, 10:48 am, Matthew mvbo...@gmail.com wrote:
actually now that I thought about it my first post may not work...
because you'd have to first get all the tr's then take each tr and
find the first two td's. You can
yeah haha let me re-do:
$(table#id tr:first-child).each(function(){
$(this).attr(attribute,value);
});
try that. I am thinking that the tr:first-child should return the TD
for every TR in the table. Im not sure how this will work if you have
nested tables. I'm at
ravi, matthew,
thanks for the responses, and i totally agree that this group is huge.
Google could have added a few more features to their groips app. this
is very barebones:(
here is what im doing,
i've been using this (http://remysharp.com/2007/09/18/auto-populate-
multiple-select-boxes/)
if you are using unique id's on each multiple select you could have a
check box that calls a function when checked that will iterate through
all of the options in the select and add the selected attribute. You
should look into JQuery's each()... it easily iterates through an
array where $(#select
Looks like your first two offerings throw this error in Firebug:
unlabeled break must be inside loop or switch
Your last example works but it only works on the first TR and it
affects both TD's in that TR. ??
On Jun 24, 10:59 am, Matthew mvbo...@gmail.com wrote:
yeah haha let me re-do:
this works and is far shorter and sweeter:
$("tr ").each(function() {
$("td:first",this).css("color","red");
});
MikeyJ wrote:
Looks like your first two offerings throw this error in Firebug:
"unlabeled break must be inside loop or switch"
Your last example works but it only works
I've found the best way to get an answer is to make your question
concise. Don't make a one sentence post. Put it in detail and separate
paragraphs if you have to. If you have code to show and it's only a
few lines, post your code. Otherwise, post a link to your code, or
better yet, a demo page
This worked great. Thx to both of you guys!!!
On Jun 24, 11:25 am, Charlie charlie...@gmail.com wrote:
this works and is far shorter and sweeter:
$(tr ).each(function() {
$(td:first,this).css(color,red);
});
MikeyJ wrote:Looks like your first two offerings throw this error in
sorry about the error, replace break; with return false; Yeah,
ignore the last code then. Try this, I'm trying to find a way of doing
this cleanly so I guess we are both learning together haha
$(table tr).each(function(){
$(this).children(:first).attr(attribute,value);
});
On Jun
No prob! Looks like you are real close to what Charlie just posted
that works great, except that it applies to every table on the page.
Once I added the table id it was perfect!
$(table#mytableid tr).each(function() {
$(td:first,this).attr(align,right);
});
On Jun 24, 11:31 am, Matthew
actually I'm not really sure of *best* way on this one but can help
steer you. I've only ever needed to use change() on selects without
selecting all.Thre might be better suggesstions like blur or
if "select all" is first there won't be a change, and it seems IE
doesn't like
Sweet, thanks Charlie...
Charlie, how did you find out about: $(td:first,this)? In the
jquery docs i havent seen the ,this I'm assuming that adding that
filters out the first td of each tr, I'd be interesting in knowing
more about how to filter things. Looks like I could make most of my
code
i would like to filter out option on an select box as i type my value
in a textbox. I would work sorf of like autocomplete without the
autocompleting part.
Its implemented here but the code seems is very complex as there are
many other things going on.
Hi. I want to know if there is a way to protect images that are styled
with an overflow auto. I found a lot of tutorials, scripts and plugins
for that with static images. The big issue here is that the image
can (and is usual) to be resized (two buttons are added for that + and
-).
Any ideas?
can you add more specifics? how are you increasing size? Are you using
new resized images or just changing the dimensions using javascript?
If you are changing dimensions, have you tried the tutorials you found
or do they not work after you change dimensions?
On Jun 24, 11:49 am, Mario Soto
Hi,
Datepicker does not currently support multiple selected days.
If you're looking to load event dates into datepicker you could take a look
at beforeShowDay event.
Here's an example: http://jsbin.com/idubu
On Wed, Jun 24, 2009 at 3:03 PM, bumbar bum...@abv.bg wrote:
I use datepicker UI.
regarding email settings:
in the post title bar, click Options on the far right. then click
Email updates to me
On Jun 24, 2:25 pm, James james.gp@gmail.com wrote:
I've found the best way to get an answer is to make your question
concise. Don't make a one sentence post. Put it in detail
@michael, thanks for pointing out that 2 questions were answered. This
is my first google group and i figured that replies to my post would
be emailed to me. maybe i can set that up in settings or something.
The answers can be emailed to you. Remember that this is a group and
we all respond
actually i learned how to add the (..., this) from another post
on this list
i struggeled at first learning how to use "THIS" when creating a
selector
I always wanted it to work like a parent child regular selector and
kept trying a lot of things like:
$(this "li").hide();
or
Thanks for your response. Details below.
The immage is loaded via ajax, so I create the img tag every time, and
empty de div that contains the image.
This is the css for the div that contains the immage:
.ifDiv {
border:1px solid #00;
height:500px;
overflow:auto;
content loaded after document.ready isn't bound to jquery functions. If
the right div is already in page however it should work.
"ajaxified link" does that mean it's been loaded by ajax or it is
bound to load function?
not much to work with here without some code, a link or more details
Right. Removing all the unecessary did helped as you pointed out.
Anyways, I think there's a fix which resolves this issue permanently.
I added a patch in attachment. Problem was due to the fact that
I never specified that xhr option in my $.ajaxSettings and made
the s.xhr object to return a
this sort of thing happens all the time in Joomla, not so sure about
how often in Wordpress
in Joomla it's usually left over css from template menu that causes the
problem
there is likely some css( possibly script??) affecting some of the
template classes that aren't part of superfish css or
I am trying to load a jquery chart (Flot) inside the second tab of jQuery
tabs. It works fine on the opening tab, but if i bury the chart in any tab,
it breaks and throws the js error Invalid dimensions for plot...
I looked around and the problem might be that because the second tab is
hidden
Hi all,
I have a function that will run everytime a link in my menu is
clicked. The problem is that one of the links point to an https and
appropriately opens in a new window/tab. I want to break out of the
function so that my page does not go blank as a result.
I tried the .end(); function but
1 - 100 of 136 matches
Mail list logo