> HOW IT WORKS:
> the "!important" property forces that style to override all other css,
> whether style-sheets, inline-css, header-styles, and whether above or
> below in the css hierarchy.
Yes, important will override, but only for the one property using it.
Let's assume you have to css files
"this could also override any other third party CSS"
--i don't think so, Nic, as you apply the "important" property to the
3rd-party css, not your site's css.
however, if the 3rd-party css does not use unique class or id names,
to target JUST their candy, then applying the 'important' property t
nic, i don't understand what you mean by "modify your CSS to not even
use this on your properties"
IMPORTANT:
make the above change to the 3rd-party candy css, NOT the css of your
website
This might work for Superfish but isn't it also a possibility by doing this
you could do the exact opposite of what you're trying to accomplish, as this
could also override any other third party CSS you're trying to use? While I
guess it's not technically incorrect, there's no reason to include
!im
There seems to be a missing brace in there. ANyway, try this:
$.extend(MyObject.prototype, {
save: function(id)
{
var self = this;
var html="some html";
$.post(
'post_page.php',
trying to integrate a 3rd party css candy into your site may result in
conflicts between the candy's css and your site's css, resulting in a
rendering mess. stuff that works beautifully by itself blows up when
you put it into your website. this trick may not find you a new
girlfriend, or butter yo
Hi everyone!
I'm a jQuery newbie, so I apologize if this is an easy question!
I'm building a template for newspaper sites, and by nature of having many
ads and modules and so forth, the content loads before the jQuery that
styles it, leading to a flash of unstyled content.
So, on several of my
I am having a problem with an Object using closures, and referencing
the "this" reference from within the closure.
$.extend(MyObject.prototype, {
save: function(id) {
var html="some html";
$.post( 'post_page.php', {'id':id, 'c':html},
I am tired select box function for geting datafrom the database and
display in tabular form.
Mozilla--Every thing ok but i am not able to get all the rows from
database i am geting 4 and half rows.i tired GET
method.
EXample:
xmlHttp.open("GET", "fnctions.php?moviename=" + movie,
On Sat, Jan 17, 2009 at 4:27 AM, rolfsf wrote:
>
> using jQuery 1.3 and jQuery UI 1.6r5
>
> I've got some ajax tabs.
>
> //initialize tabs
>$("ul.tabs-nav").tabs(
>defaults = {
> navClass: 'tabs-nav',
>
Upgraded to 1.3 on my site today and found that previously working
code is broken. The issue is that I was using a selector of $
('.aComment') to get, not surprisingly, elements with a class of
'aComment' . This worked great with 1.2.6. However, with some
tinkering, I have found that I can user
Hi bob,
Since it's a select element, try it without the colon.
jq('select').hide();
that should work for you.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 16, 2009, at 11:31 PM, bob wrote:
Hi,
Is it possible to hide all "select" form elements wit
thats it!
thanks a lot
On Jan 16, 8:32 pm, "Rick Faircloth" wrote:
> Try adding "return false;" to your click code to prevent
> normal click response.
>
> hth, Rick
>
> > -Original Message-
> > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> > Behalf Of
Hi,
Is it possible to hide all "select" form elements without using id or
class atributes?
Alabama
Alaska
Ok, ignore my stupidity... My issue was caused because one of the
fields I was returning had a single quote buried in it and I wasn't
escaping it. Sorry I wasted your time and thanks for the suggestion.
On Jan 16, 1:02 pm, brian wrote:
> Are you using MySQL? You can change the default minimum
Hi
I am using these plugins. But my problem is firefox related.
while sorting I can see small images in header of table in IE(images
on which we click and do sort ascending and descending ) but when I
open same page in firefox it does not show images Any idea ?
Also, there are some fields i
Thanks for the quick reply.
Anurag
On Jan 16, 11:57 pm, MorningZ wrote:
> Right off the plugin's homepage
>
> http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
>
> --
> * optional: bgiframe plugin to fix select-problems
Making an array works, but you can also apply the array sort method
directly to the jQuery object since it's array-like (has a length and
[0]...[length-1] elements.
Array.prototype.sort.call(
$('#ops-memb option'),
function(a,b) {
return $(a).text() > $(b).text() ? 1 : -1;
}
).a
$("a[rel='toggleBoxes']").toggle(
function() {
$("#Box").switchClass("closedBox", "openBox", 1000);
$("#rightBox").fadeIn("slow");
},
function() {
$("#rightBox").fadeOut("slow");
$("#Box").switchClass("openBox", "closedBox", 1000);
}
);
is my code
Hi,
I have provlem width autocomplete . I trying to give a extra Parm:
$().ready(function() {
$("#sCity").autocomplete("http://my-ajax-page/";, {
width: 200,
minChars: 4,
extraParams:{province : $('#sLocId').attr('value')},
se
Karl,
How would one go about overriding jQuery's show() and hide() functions
to move the desired element to a negative screen position (CSS left:
-1) instead of changing the CSS display to none?
Carl
Karl Swedberg wrote:
On Jan 16, 2009, at 7:56 PM, Michael Geary wrote:
If you want
Great !
Thank you very much.
On Jan 16, 2:54 pm, jac wrote:
> here is an example of a solution to what it sounded like you were
> asking about.
>
> http://jsbin.com/aquja
>
> just add "/edit/" to the end of the url to see all of the source. You
> can even double click and make modifications. Ho
I have lot of DIV which to be added effect like gradient, doble border,
shado and roundcornur. How to do with jquery easily.
On Jan 16, 2009, at 7:56 PM, Michael Geary wrote:
If you want an element to become invisible but remain part of the
layout,
then set .attr({visibility:'hidden'}) instead of using .hide(). Use
.attr({visibility:'visible'}) to display it again.
Excellent explanation, as always, Mike.
One oop
Help neeeded from all to me
On Jan 16, 5:11 pm, "Vicky am" wrote:
> I am using thise
> plugin.http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
>
> Using thise plugin, how to drag only row within class='dro'.
>
> I not want to drop all rows, only row within class='dro'
>
> Thnks.
.hide() sets the CSS style display:none. This takes the element out of the
layout, so in effect its height and width are treated as if they were 0. The
height and width don't actually change; you can set display:block or .show()
to have the element displayed in its original size.
If a parent elem
I noticed today after much fiddling that .hide() causes the parent
element to loose its height().
In other words, height() won't work on elements that have display:none
-- causing me to use .hide() only AFTER I've done my .height() - based
calculations.
I suppose that makes sense but I somehow n
except its not a bug - its a feature request...
On Jan 16, 2:39 pm, donb wrote:
> By the way, you are 'someone' so you can file a bug report. ;-) <-
> note smily
>
> On Jan 16, 5:15 pm, jquertil wrote:
>
>
>
> > I downgraded both FF 2 and FB 1.2 so now things work again - but this
> > sucks!
Never mind. I did not see the "equalTo" function.
On Jan 16, 4:20 pm, jvh wrote:
> Hello,
>
> I am using JQuery validation to validate a password field (among
> things). I have 2 fields: The "Enter Password" field where the user
> enters his password and a "Re-Enter Password" field where the u
hello we have a question about jquery 1.3 is it 100% backwards
compatible with the minor functions of 1.2.6???
thanks for answer
Jens
I am having similar problems that the data is not populated all the
times even though the server request is executed. Did you get an
answer tor figure out the issue? I am using IE 7
Abba
On Dec 31 2008, 2:14 am, R0bb13 wrote:
> Hi
>
> I'm using theautocompleteplugin to edit the name of a produc
Did you find a solution to this? I'm getting the same error, and I
have no clue what is triggering it.
I am using the JQuery autocomplete plugin by Jörn Zaefferer and I am
having some problems with consistency. The problem is that when I
start typing it populates with data by making a query, but sometimes
after making the same query it does not populate the data and the
search field just flickers.
Oh brother...the radio input name is "delete_confirm", not
"delete_button"...good
grief. Too much looking at code today...
Thanks for the feedback!
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf Of donb
> Sent: Friday, Jan
Anyone have any feedback on the code below? Syntax?
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf Of Rick Faircloth
> Sent: Friday, January 16, 2009 3:53 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Is something wrong
using jQuery 1.3 and jQuery UI 1.6r5
I've got some ajax tabs.
//initialize tabs
$("ul.tabs-nav").tabs(
defaults = {
navClass: 'tabs-nav',
selectedClass: 'tabs-selected',
By the way, you are 'someone' so you can file a bug report. ;-) <-
note smily
On Jan 16, 5:15 pm, jquertil wrote:
> I downgraded both FF 2 and FB 1.2 so now things work again - but this
> sucks! Someone tell those nice folks at Mozilla they should at least
> allow a user setting to not get so
I ran into this error today, but it was because my URL (filename) had
spaces in it. For what that's worth.
On Jan 16, 5:15 pm, jquertil wrote:
> I downgraded both FF 2 and FB 1.2 so now things work again - but this
> sucks! Someone tell those nice folks at Mozilla they should at least
> allow a
I think $(this).attr('checked') is what you need. The click function
already has selected the radio button so why reselect it? :checked
returns an array so at the minimum you need to specify which element
of that array to look at.
On Jan 16, 3:52 pm, "Rick Faircloth" wrote:
> I've tried every v
I downgraded both FF 2 and FB 1.2 so now things work again - but this
sucks! Someone tell those nice folks at Mozilla they should at least
allow a user setting to not get so uptight about script loading
security - I was very surprised to see no ability to adjust that
manually.
So, if I understand correctly, when I create a droppable, and it gets
"triggered" by a draggable, the drop callback gets access to the
draggable via ui.draggable.
ui.draggable seem to wrap up the child tags of whatever tag got
"labeled" as a draggable. This works well if you are dragging one tag,
I can't diagnose the problem without a test page to view, but I would
suggest that you use Firebug and see what the POST is returning. It
could be a 404 or a 405 or some other error.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 16, 2009, at 2:55 PM
Hi there,
For the contents not being loaded into the first tooltip, it looks
like you're getting a 405 error. Here is a page that explains 405
errors:
http://www.checkupdown.com/status/E405.html
As for the other two, the problem is that you have multiple elements
with the same ID. If you
I should add that I'm calling just by file name "myJsonSource.js" -
everything is very local, so I'm not even using any sort of "domain"
at all, and feel that this should be just fine for running stuff
locally.
Looked at settings to see if there is anything I can turn off...
this has been discussed before, but I'm still hazy:
In FF2 and old Firebug this function ran fine with local files (no
local web server, just straight-up file on local desktop).
Now Firebug complains "Access to restricted URI denied code: 1012"
$.ajax({
type: "POST",
url: myFileName,
Not sure about the answer to #1 or why the posted code for #2 doesn't
work, but i can tell you that for #2 you can simply just set the
textbox's value using normal jQuery (or JavaScript)
ie/
$("#selected_date").val("default date here");
On Jan 16, 1:10 pm, Jason Meckley wrote:
> today I'm lear
Oddly enough I actually just found this as well and downloaded it today...seems
to work well.
Its only $.99
- Original Message -
From: "blankfrank"
To: "jQuery (English)"
Sent: Friday, January 16, 2009 2:25:07 PM GMT -05:00 US/Canada Eastern
Subject: [jQuery] New jQuery Cheat Sheet f
Hello,
I am using JQuery validation to validate a password field (among
things). I have 2 fields: The "Enter Password" field where the user
enters his password and a "Re-Enter Password" field where the user
confirms his passwords (used to make sure the user did not make a
typo). How do I valida
> Is there a way to test if blockUI is currently blocking a specific
> element?
You can check to see if there is a block on a specific element like
this:
var isBlocked = $('#elementId').data('blockUI.isBlocked');
this page starts out loading content with .load from a php page that
returns different content depending on the URL parameters or a
default. After it is loaded any other link loads pages using .ajax
with nice animations. I can't figure out how to do a fadein or
anything else to the initial page .
today I'm learnig jquery. I downloaded jquery-1.3.min.js and jquery-ui-
personalized-1.6rc5.min.js with everything.
I'm trying to get the calendar working. so far I have most elements
that I need:
start on saturday
formatted date
select year/month
display with image and textbox focus
there are 2
Hello,
Is there a way to test if blockUI is currently blocking a specific
element?
I am doing this:
$('#middle_right').block({
message: this.loader_msg,
css:{
border: '2px solid #ddd',
backgroundColor:'#
So, I am using draggable and droppable to drag a table to a droppable
and then use the data in the table to populate the droppable target.
When I use Firebug to check what's in ui.draggable, here's an example
of what's in the innerHTML:
1, , ,
So, is there a way to use jQuery selectors to ge
Hi,
First post for me. I a photographer and an absolute jquery & scripting
newby.
I looked through many scripts before finding Fancybox. I really like
it. I am very, very new to scripting and Jquery though. I know HTML
and CSS pretty well.
I built a site using the MODx CMS. I cannot get the dro
i have this:
submitHandler: function(form) {
if( jQuery("#productList .productRow").size() > 0 ){
if( confirm("¿Are you sure?") ) {
form.submit();
}
else{ return false;
Just found this. Sweet!
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302090867&mt=8
Just found this. Sweet!
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302090867&mt=8
here is an example of a solution to what it sounded like you were
asking about.
http://jsbin.com/aquja
just add "/edit/" to the end of the url to see all of the source. You
can even double click and make modifications. Hope this helps.
On Jan 16, 12:44 pm, mtz wrote:
> Thanks.
> I can make the
I'm playing around with the new .live functionality. it seems very
cool.
I have a page that gets refreshed with ajax with a .live getting set
for a list of links every time, so I need to call .die but .dies
doesn't seem to be working...
$('a[name=prioritya]').die('click', currFxn);
$('a
Just tested my sample code with the new UI and the problem still
exists. I posted a bug report on the jquery site so hopefully it'll
be seen.
Ticket #3892 if anyone is interested.
Will continue to wait. :)
On Jan 16, 8:11 am, Alexsandro_xpt wrote:
> That realease don't work very well in IE7
I've tried every version of this I can think of (after
checking the docs and Google, etc.), but I can't get this
to work.
Is there something wrong with this syntax? If I check the
radio input whose value="0", why won't this return 0 as the
value?
$('.delete-button').click(function(){
Hm, that makes sense. So, I suppose I could do something like
jQuery.noConflict();
var doc = window.content.document;
jQuery("#id", doc);
Which would solve the issue that jQuery doesn't live in the HTML anymore
(and lives in the browser). But how would this work on .ajax functions? Do I
have
Thank you very much for your reply. I am finding that with the
example listed below these two work as expected (that is they are
returning non divs and all divs which do not contain other divs):
$('*').not('div:has(div)')
$('*').not($('div:has(div)'))
but these three:
$(':not(div:has(div))')
$
I'm trying to understand where the new live() fits in to the world of
event delegation, and plugins like listen and intercept
What are the arguments for one approach over the other?
thanks!
I have setup the cluetip plugin on my website. I was able to get it
working when using local content, similar to the example code of $
('a.title').cluetip({splitTitle: '|'});
However, I can't get it to load an external website. The tool tip
comes up, but it says "sorry the contents cannot be lo
$(':not(div:has(div))') is equivalent to
$('*:not(div:has(div))') is equivalent to
$('*').filter(':not(div:has(div))') is equivalent to
$('*').not('div:has(div)')
Hope that helps to answer your question :)
--John
On Fri, Jan 16, 2009 at 11:24 AM, jdwbell wrote:
>
> Here I am trying to get ev
Thanks!
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf Of Donald J. Organ IV
> Sent: Friday, January 16, 2009 2:41 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: How do I abort a function?
>
>
> return;
>
>
>
return;
- Original Message -
From: "Rick Faircloth"
To: jquery-en@googlegroups.com
Sent: Friday, January 16, 2009 2:34:39 PM GMT -05:00 US/Canada Eastern
Subject: [jQuery] How do I abort a function?
If I want to abort a function based on a condition,
what is the command to do that?
If I want to abort a function based on a condition,
what is the command to do that?
if x == 0
abort this function...
Thanks,
Rick
after learning the difference between parents and parent, I am having
to resort to using parent(), but it's not very clean.
Consider the following table, which is embedded in a page, which may
have additional tables (for this reason I cannot use parents("table")
because it returns multiple tables
Yeah - I think this is getting too complicated.
I actually am only inserting one item at a time. Rather than sort,
I think I only need to go through the existing items which are already
in
alphabetical order, and find where to insert the new one.
On Jan 16, 1:58 pm, brian wrote:
> You'll need to
You'll need to save the output into a variable, then loop through that
to create new options and replace the existing ones.
var new_opts = $.makeArray($('#ops-memb option')).sort(...
There's probably a neat jQuery way to do all of this compactly.
On Fri, Jan 16, 2009 at 1:44 PM, mtz wrote:
>
>
Right off the plugin's homepage
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
--
* optional: bgiframe plugin to fix select-problems in IE, just include
to apply to autocomplete
For the same reason you can't replace the fan on an engine while it's
running?
Use $.getScript()
On Jan 16, 1:42 pm, cc96ai wrote:
> we can get the .html() in script/noscript
> but once we want to write it back, we got error
> e.g.
> $("script").html("var a=123");
>
> "Unexecpeted call to metho
Thanks.
I can make the array now and it legitimately sorts.
However, I can't see an easy way to get the values in the array back
into the A name
format again, so I can put teh HTML into the select .
On Jan 16, 1:33 pm, brian wrote:
> http://docs.jquery.com/Utilities/jQuery.makeArray#obj
> -- sni
we can get the .html() in script/noscript
but once we want to write it back, we got error
e.g.
$("script").html("var a=123");
"Unexecpeted call to method or property access"
http://docs.jquery.com/Utilities/jQuery.makeArray#obj
-- snip --
jQuery.makeArray( obj )
Turns anything into a true array.
-- snip --
On Fri, Jan 16, 2009 at 1:25 PM, Kean wrote:
>
> Only true arrays will inherit the sort method.
>
> On Jan 16, 10:10 am, brian wrote:
>> Maybe use makeArray() fi
Only true arrays will inherit the sort method.
On Jan 16, 10:10 am, brian wrote:
> Maybe use makeArray() first. Something like:
>
> $.makeArray($('#ops-memb option')).sort(...
>
> On Fri, Jan 16, 2009 at 11:04 AM, mtz wrote:
>
> > I have a select list into which I place new option elements, and
i have a table with an edit button in each row. when the edit button
is clicked, the following script is run:
//edit click
$('#edit_lnk_' + index).click(function() {
Boxy.get('#cancel_changes_lnk').show();
$('#ddlProjects').clearSelect();
$('#ddlTasks').clearSelect();
Maybe use makeArray() first. Something like:
$.makeArray($('#ops-memb option')).sort(...
On Fri, Jan 16, 2009 at 11:04 AM, mtz wrote:
>
> I have a select list into which I place new option elements, and I
> want to show them in sorted order. I've searched around and tried some
> approaches, but
I have found plenty of accordion tutorials online, however, I'm trying
to create an accordion with multiple colors for each section (that
don't change when clicked.)
Here is an example of what I am trying to accomplish:
http://blackstonemediaonline.com/dump/accordion.jpg
Does anyone know of any
Hi,
In IE6 we find that if we have a combo box below the Autocomplete text
box, the combo box displays on top of the item selection list that is
displayed. Is there a work around for this.
Thanks
Anurag
is the post actually getting to your .php? if so, what does your alert
say? does it say "Data Saved: " ?
another thing to consider: there is a validation plugin that would
benefit your needs along with the jquery form plugin that allows you
to submit the form via ajax.
that way, you don't ne
Here I am trying to get every element which is not a div that contains
another div.
Is $(':not(div:has(div))') supposed to now be equivalent to $('*').not
($('div:has(div)')) or am I misunderstanding what the change was (I'm
just getting started with jQuery)?
Thanks!
Hi,
i have this html:
some text
and this code does not work:
$(".myaccount").hover(function() {
$("ul.dropdown li.myaccount_hover").removeClass
("myaccount_hover").addClass("myaccount");
});
how can i access to myaccount_hover class for work on it ? (here i
want to change the clas
I had the same issue. It was caused by my handler not actually
returning anything.
Goodmorning
I'm completely new to jquery and java script. I'm a graphic designer
and learned some basic scripting by meself. So please don't shoot me
if my code is a mess.
However I want to change the menu on this site www.moof.be/intro.html
with a cluetip. I already made some changes to it
htt
i'm stuck on a pretty basic concept.
on hovers of a's, i'm trying to load an element from another page by
url and id into a display div. i'm trying to get those 2 bits of info
from the triggering a. i'm close: the product matches a hard coded
string, but doesn't load (the way the hard coded vers
Hi all,
I am struglin' for a while to load a PHP file after a succesfull
validation with the beautiful Basisstance Validation plugin.
How can I use the submitHandler to load an external PHP file and
please the data in the right target?
submitHandler: function(form) {
jQuery(form).aj
An example use case is where the element is clone()'d.
var dispMenu = $('#widgetChooser').clone(true);
$.blockUI({message: dispMenu});
On Dec 5 2008, 5:33 pm, harningt wrote:
> CurrentlyblockUImakes the assumption that any jQuery element that is
> passed in is a 'real' DOM element. To fix thi
i have a table with an edit button in each row. when the edit button is
clicked, the following script is run:
//edit click
$('#edit_lnk_' + index).click(function() {
Boxy.get('#cancel_changes_lnk').show();
$('#ddlProjects').clearSelect();
$('#ddlTasks').clearSelect();
Are you using MySQL? You can change the default minimum word length.
See this page:
http://dev.mysql.com/doc/refman/5.1/en/fulltext-fine-tuning.html
Also, the stop-word list can be adjusted:
http://dev.mysql.com/tech-resources/articles/full-text-revealed.html
On Thu, Jan 15, 2009 at 11:25 PM
hhmmmpppf
yep that helps, getting data returned now.
many thanks
On Jan 16, 5:24 pm, "Stephan Veigl" wrote:
> try:
> echo$ajax_validation_response;
>
> instead of
> return $ajax_validation_response;
>
> in your PHP script
try:
echo$ajax_validation_response;
instead of
return $ajax_validation_response;
in your PHP script
Whoops! I'm so used to getting email notifications for discussions...I
just figured no one had replied! So sorry for not coming back.
Thank you both for your replies. I was wondering if that might be the
case JQuery Lover.
Would there be a way to generalize the .load for only images with a
certa
I've seen this before, it seems the 'ready' doesn't fire on opened
windows or frames, you have to use $(pop).load(fn) instead.
On Jan 16, 1:11 pm, graphicsxp wrote:
> Hello,
>
> I'm trying to set the html content of a DIV (id='list') which sits in
> a page opened with window.open :
>
> var pop =
Hello,
I use 'livequery' where Loading function data.
There is a need for the possibility of back of the previous result and
I do not know how to do this.
For example, 3 loading and clicking back-loaded me return to a
previous one, when I click again, back again, I revert to the previous
result l
> I know... no Firebug in IE. Poo.
maybe give firebug lite a go. it's a firebug library you can embed
into a page and view through any browser you like.
http://getfirebug.com/lite.html
it's always useful for trying to hack out random IE bugs.
On Jan 15, 5:00 am, James Van Dyke wrote:
> Ok..
That realease don't work very well in IE7 using UI Tabs with Facebox.
Take look my post at:
http://groups.google.com/group/jquery-ui/browse_thread/thread/009afe01bd3b2667
And I don't know to do.
On 16 jan, 05:25, "Richard D. Worth" wrote:
> It was just released. See
>
> http://ui.jquery.com/
>
1 - 100 of 162 matches
Mail list logo