There's no need to add this to the code. You can just place the wrapper in
the actual HTML and apply whatever CSS you need specific to the instance of
the mcDropdown.
-Dan
On Mon, Jan 18, 2010 at 4:21 PM, Jerry wrote:
> Howdy...
>
> The GivaInc.com site says that the devs monitor
Hey,
If you are trying to get the parent of the 'close' button and fade
that out, just use one of the following:
closest( expr )
parent( [expr] )
$(document).bind("click", function (e) {
$(e.target).closest("li").toggleClass("hilight"); // will
traverse the clicked element returning the fi
s/animate/
>
> http://docs.jquery.com/UI/Effects/animate
>
> You can download it here:
>
> http://jqueryui.com/download
>
> just check 'Effects Core'
>
> - Richard
>
> On Tue, Nov 17, 2009 at 11:43 AM, Dan wrote:
> > Hi All,
>
> > Is there a way to
.
Thanks.
Dan
That is very cool. But it still does not do what I need.
I need just the background to change -- not the entire child element,
the content in the box must not change or fade -in/out.
Thanks.
Dan
On Nov 13, 9:11 am, Karl Swedberg wrote:
> In that case, I'd use something like t
palgo:
You probably mean:
$("#total").val(tot);
The selector $("total") would be looking for an element named total (i.e.
,) where as $("#total") looks for an element with an id of "total".
-Dan
On Fri, Nov 13, 2009 at 10:13 AM, palgo wrote:
> Hi
sibly even easy, but I can't find someone
who knows how to do it.
Thanks.
Dan
On Nov 12, 7:08 pm, Karl Swedberg wrote:
> Jonathan Snook's background animation article might be helpful:
>
> http://www.snook.ca/archives/javascript/jquery-bg-image-animations/
>
>
Hi,
Can anyone tell me how to rotate the background-color style of a div
with a fade? I need it to rotate colors every 10 seconds, having one
fade into the next, and will need to have 3 background colors, then
keep looping from the first color.
My Div is named #rotateBG.
Thanks
change both background-color and background-image
styles.
Please assume I am a total moron, and will not know where to place the
code on the page and what external scripts I will need etc.
Thanks for any help.
Dan
See the $.noConflict() docs:
http://docs.jquery.com/Core/jQuery.noConflict
var j = *jQuery.noConflict*();
// Do something with jQuery
j("div p").hide <http://docs.jquery.com/Effects/hide>();
// Do something with another library's $()
$("content").style.display =
Adonis,
The $.post() function is asynchronous (by default) when your code hits a
$.post() call, it'll keep executing code. In order to do something with the
results of your AJAX call, you'll want to use the callback option--which is
a function run when the AJAX call is completed.
-D
pplet to do
this. For our help desk application, I wrote a signed Java applet that would
either take the screenshot for the user or allow pasting an image from the
clipboard to add as an attachment. I can't share the code, but it's
relatively straightforward (the biggest issue is handling
The second argument for the load() function is "data", not "callback":
http://docs.jquery.com/Ajax/load#urldatacallback
Do this instead:
$("span#mycontent").load("mytext.txt", {}, function(){
// callback code here
});
-Dan
On Fri, Sep 18, 2009 at 5:5
Hi All,
I'm assuming everyone here has noticed that when using various jQuery
widgets that after the the page shifts as the animation initialization
code executes. Usually this is imperfection is perceived when $
(document).ready fires and the handler that kicks off some widget
fires.
IE. you ha
ug-in which emulates the
> iPhone-style
> > button used to toggle settings on/off.
>
> Very nice, Dan. I like the way you haven't forgotten keyboard access.
>
ort for disabled buttons
- Easing support for animations
- iPhone support
Hopefully some of you find this useful.
-Dan
The following code works fine in FF chrome etc but not IE, anyone know
why?
Basically everything works accept the replacement of the image
attribute
$("#container #main_image img#largeId").attr({ src: largePath });
Even the rest of the function ie the swapping classes works, just not
the image
The following code works fine in FF chrome etc but not IE, anyone know
why?
Basically everything works accept the replacement of the image
attribute
$("#container #main_image img#largeId").attr({ src: largePath });
Even the rest of the function ie the swapping classes works, just not
the image
t;</li>';
> };
> });
>
>
> If I remove 'pagerAnchorBuilder: pagerFactory' & the function it
> works ... I don't understand what it's doing!?
>
> Hopefully someone can see whats wrong :)
>
> Thanks,
> Dan
>
> NB: I can upload an example page if required.
lay:none"' : '';
return '<li'+s+'><a href="#">'+(idx+1)+'</a></li>';
};
});
If I remove 'pagerAnchorBuilder: pagerFactory' & the function it
works ... I don't understand what it's doing!?
Hopefully someone can see whats wrong :)
Thanks,
Dan
NB: I can upload an example page if required.
1").is(".has-focus") to check if it has focus.
-Dan
On Mon, Aug 10, 2009 at 3:20 PM, MartinBorthiry
wrote:
>
> Hello:
>
> I'm trying to know if an input has focus. Is that possible using
> jquery?
>
> samething like this:
>
> $('input#1').has_focus()
>
Try:
$('.start-here li').filter(':has(ul)').append('');
-Dan
On Wed, Aug 5, 2009 at 11:59 AM, Panman wrote:
>
> I have selected a list that contains sub-lists. Now, I'd like to
> search for the list items that contain sub-lists (but not includin
om running. However, this really should be
the exception to the rule and should only be used if you're going to end up
with some kind of circular logic.
-Dan
On Tue, Aug 4, 2009 at 2:54 PM, skube wrote:
>
> Ok, I think I have one last outstanding problem with Giva Labs'
> aw
ox up.
-Dan
On Mon, Aug 3, 2009 at 10:07 AM, Sherri wrote:
>
> Hi all,
>
> I'm working on a website where we're using the jquery.linkselect
> plugin, and we're running into a situation where we have one of the
> dropdown linkselect menus happening near the very b
as validating fine using Tidy.
>
> On Jul 30, 4:29 pm, skube wrote:
> > N/m I now see the page has been updated with version 1.2.08.
> >
> > Thanks Dan! This was frustrating the heck out of me. :)
>
skubie,
I've fixed the problem. The error was in the repaint() method--which was
expecting that the element had a title attribute.
I've uploaded a fixed version of the plug-in:
http://www.givainc.com/labs/linkselect_jquery_plugin.htm
Let me know how the new version works out for
t;options" array is a JavaScript object that must contain
at least the keys "value" and "text". Also supported are the keys "selected"
(which can be true for any single item that needs selecting) and the
"className" key, which can be used to define a class
Hello
i use treeview plugin with lazy ajax.
if use "unique" option it reload all items of current level that has
children, when open one of item.
so it could be about 20 ajax queries at one time.
is it possible to set one open click one query?
will be used for all the methods in
the calc plugin for retrieving the value.
-Dan
On Wed, Jul 15, 2009 at 8:57 AM, introvert wrote:
>
> Hello,
>
> I need some help on jquery.calculation plugin modification (I want to
> change it so that it would also read the attributes of elemen
If you do something like
$("
t;div class="mcdropdown"> element
$("#mcdropdown").parent().click(function(){
// when the element is clicked on, open the menu
$("#mcdropdown").mcDropdown().openMenu();
});
I haven't tested this extensively, but it should work.
-Dan
On Fri, Jul 10, 2009 at
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
veral different marquees in different configurations at:
http://www.givainc.com/labs/marquee_example.htm
Marquee Plug-in:
http://www.givainc.com/labs/marquee_jquery_plugin.htm
Marquee jQuery Project Page:
http://plugins.jquery.com/project/giva-marquee
The plug-in is only 3K minimized.
-Dan
Dennis,
You could do a manual AJAX submit and then just manually serialize your form
fields.
Also, before doing the AJAX submit, you could do something like:
$("#your_form").append("#your_dialog");
This would move the fields back into the element.
-Dan
On Mon, Apr 27,
ue in Webkit where if you don't
load *all* the CSS before the JS, then the ready() function fires before all
the CSS is applied, therefore your dimensions can be off.
You might try moving the scrollpane code in a $(window).load() event
temporarily to see if that changes things.
-Dan
On Tue, Ap
I took your advice and installed serialScroll. it's not live as of
this moment (hopefully today though!), but I can tell I will like it
better. And in the process of updating my page, I think I stumbled
upon the answer to my problem...
My page has 2 continue buttons (actually more than that), one
ch about
binding, is this a binding issue?
Any ideas would be greatly appreciated!
Dan
Bryan,
As MorningZ pointed out, it's usually not the actual sorting that's
slow--it's the redrawing. DOM manipulations of elements is
notoriously slow.
-Dan
On Thu, Apr 9, 2009 at 3:36 PM, MorningZ wrote:
>
> I'd look at doing some server side sorting if you are look
this div
Anyone know why in order to see the dynamic content I need to add the
static content to the panel?
Thanks.
-Dan
se of the item selection event using this version of
the plugin?
TIA,
dan
$('#' + targetForAutoComplete.id).autocomplete(serviceUrl,
{
delay: 500,
max: 500,
minChars: 3,
dataType: 'json',
formatItem: function(row, i, n)
I am using the following code to allow the user to increase / decrease
the font size of the document. I have tested it in many browsers and
in all of the following it comes back with a starting font size of
16px.
Firefox 3.0.8
Google Chrome 1.0.1
Safari Win 4 Public Beta
In IE 6/7 the font size
I only did this in Firebug, so not promising anything :)
>
> On Mar 19, 4:36 pm, Dan Pouliot wrote:
>
>
>
> > First let me say a great THANKS to Ariel Flesler, the author of
> > scrollTo.
>
> > Now on to the odd behavior. I have it working on this
> >
ing firefox, but FF on the
PC shows the objects on either side of the scrollable region moving
annoyingly while the text is scrolling. Hopefully there is an easy fix
for this!
Thanks in advance,
Dan Pouliot
On a single page I am trying to use 1 theme for my accordion and 1
theme for my tabs. The themes in 1.7 have one huge css file and it
seems like a real pain to go through and delete what I don't need.
Even if I could do that it's not really a good solution because i
might want to use that theme fo
I'm using ASP.NET, jquery and this
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
validation plugin. I have several asp:Button objects on my page. I
have the validation working almost the way I want.
I have several buttons that cause the form to postback to the server
and I only
It seems each of the blocks are the same height as the largest. Is
there a way to tell them only to be as tall as their content?
7;t getting
returned but other code on the same page works.
Dan
On Feb 27, 1:28 pm, ricardobeat wrote:
> Where are you expecting to collect the response? Are you using a
> callback?
>
> function check_out_image(image_id) {
> $.post('ajax/checkout_image', {imageid: ima
url = "your-page.php";
> > CallParams.processData = true;
> > CallParams.data = params;
> > CallParams.dataType = "json";
> > CallParams.success = function(data) {
> > // "data" is the result};
>
> > CallParams.error = function(x,y,z) {
> >
returned.
Any ideas on why the response wouldn't get sent back?
Thanks,
Dan
This issue is caused because you included your stylesheet after the
script, so it runs before the reset is applied. See here:
http://docs.jquery.com/Events/ready
This is also a nice illustration of how resets are nice(:
~dan ott
dtott.com
I am having an issue with tinymce and jquery ajax form submissions. I
have 2 fields (title/content) and a hidden input (id) that I am
submitting via ajax.
when I use serialize
var form = $("form").serialize();
title = My title
id = 2124245
content = null
It seems to be an issue with tinymce b
lete: function (){
alert('done with 2nd call!);
}
});
}
});
-Dan
On Sun, Feb 22, 2009 at 7:37 AM, major wrote:
>
> I have ajax call which implemented in Dojo.
> I need some JQuery mechanism which allow 1 ajax call to run, only
> after the former call has
Yes it does. So that means it must be an issue with vkfade... it might
use a global variable or something.
Thanks for the trouble shooting aid.
Dan
On Feb 20, 5:45 pm, James wrote:
> It should. But since I don't know what vkfade is and what
> elements .positiveMessage is assign
so i have a class "positiveMessage" I use throughout the page and i
always want to fade them (FAT style).
I'm starting to catch, but I can't figure out why this only fades the
first one!
$('.positiveMessage').each(
function(){$(this).vkfade("00dd00")}
);
Shouldn't this find every e
Thanks aschmid,
The problem was in jquploader rather than jquery.flash there were a
few instances of the [@ so after removing the @s it now works fine
again
Hi
I have a requirement to display a modal dialog and then show a further
informational popup - does blockUI support a 'double popup' - when I
call blockUI from the first popup the second displays but the first is
removed, how do I override this behaviour to keep both displayed?
Thanks,
dan
Hello!
I have just upgraded from jQuery 1.2.1 to 1.3.1 however this has
broken the jQuery.flash plugin. (I'm also using jquploader in the page
but I think it's jquery.flash that's causing the problem.
I'm getting this error in fireBug
[Exception... "'Syntax error, unrecognized expression: [...@
> $('div').cond(settings.use_thumbnails, 'createThumb').cond
> (settings.use_image_security, 'createScreen',
> settings.screen_opacity);
>
You can still use ternary operations when you need a dynamic method as well:
$("div")[condition ? "addClass" : "removeClass"]("myClass");
-Dan
ve to be able
to add as many rows as they want, which I figure might bog it down? If
it's negligible, then maybe I'll do that.
Thanks again,
Dan
On Feb 2, 4:46 pm, Karl Swedberg wrote:
> I don't think the problem is with the selector, per se. It's more a
> problem wit
So I have a script that, for the most part, replicates a small Excel
sheet. There's a button for adding a row, removing the last added row,
etc.; everything works fine except for one small (but crucial) bit.
Whenever a user changes any part of a column, the script is set to
recalculate everything
o believe it's that
specific line.
Any ideas?
Cheers,
Dan
update: if I use the 300 kilobyte js generated by the theme roller
that basically includes all UI elements the styling is appearing fine.
So I just need a themed download for the datepicker, not every UI
component ever made.
DAn
On Jan 22, 3:12 pm, "Dan B." wrote:
> For some reas
For some reason I am dying trying to get a datepicker setup with some
decent CSS.
Functionally, my datepicker is fine...it's just lacking the
presentation the demonstrations always seem to have.
I use the theme roller to download any of the gallery ones and then
include the ui.datepicker.css in
gs/changeset/1755
>
> Jörn
>
> On Thu, Jan 22, 2009 at 7:24 PM, Dan Vega wrote:
>
> > I am using the accordion and everything is working great in FF3/IE7.
> > In IE 6 the images used for the headers are about 50 pixels below
> > where the accordion is. Does anyone know why this would be happening?
I am using the accordion and everything is working great in FF3/IE7.
In IE 6 the images used for the headers are about 50 pixels below
where the accordion is. Does anyone know why this would be happening?
I have a sidebar that is 450 in height. I have 5 accordion menus and
they are working fine. What I would like to do though is when you
click one of the items for the other icons to push to the very bottom
of the content area just like it does on http://www.hp.com/. Does
anyone know how to do this
I have a script that selects rows from a database with a select menu
for each field. Some php runs prior to page load to populate the
options. When the user clicks on an option, jquery asks a script to
have the remaining select menus have their options re-populated based
on distinct values for t
The enter key is only registered on a keypress event in IE and
Webkit--so use keypress instead.
-Dan
On Mon, Jan 5, 2009 at 6:20 AM, s0h0 wrote:
>
>
> Hello,
>
> i tried to use jQuery for cross browser compatibility...I want to execute a
> click on a Button when Enter g
It's a Firebug change. Use console.dir() instead (but I agree--I like
the old console.log() method)
On Fri, Jan 2, 2009 at 1:10 AM, Danny wrote:
>
> Has anyone else noticed that Firebug before 1.2 would treat console.log
> ($('div')) as an array and list all the matched elements on the
> console
Has anyone had good success getting jCarousel to work *inside* a
thickbox? I've gotten it to work in Firefox 2 and 3 and IE 6 and 7,
but not Safari or Chrome. Any ideas? If not, I think I'll try a
different carousel implementation. Any thoughts much appreciated!
> that is running?
>
As David said, client-side validation is purely for the benefit of the
user--it offers no security to your site. All you need to do is to turn off
JavaScript to bypass the validation (however, the spammer is problem just
using a bot to post directly to your submission page.)
-Dan
make the animations smooth--I don't
want to re-invent the wheel.
-Dan
On Mon, Dec 15, 2008 at 8:07 PM, Dave Methvin wrote:
>
> Do you have a link to a ticker similar to the one you want to create?
> I didn't see one on the ESPN site.
>
> Also, what if the client can
t the
same visual speed (like 12/frames a seconds.)
Any easy way to do this with the built-in animation methods? I can roll the
animation up manually, but thought there might be a tip for converting the
animation speed to frames per second instead of overall duration.
-Dan
d be to do something like:
$("div[id^=mydiv]").change();
This would find all divs with an ID that starts "mydiv". The
performance on the class method may be more efficient though.
-Dan
On Sat, Dec 13, 2008 at 8:30 PM, Daniel L wrote:
>
> Hi, I have a situation where the
Sean,
I think you have your syntax missed up.
You need:
// initialize
$("#modelFullName").mcDropdown("#modelMenu");
// get a copy of the object
var mc = $("#modelFullName").mcDropdown();
// output the current value
alert(mc.getValue());
-Dan
On Mon, Dec 8, 20
returns an array in
the format [value, label]. So the second element in the array is
exactly the value I believe you're after.
-Dan
ow, Record:show() would show the record.
I generally find building full OO-based objects out of everything a
bit overkill, since the majority of operations your doing is just to
change the state of a DOM element (or elements.)
-Dan
textarea blinking through
>to the currently visible tab. Those problems appear to have been fixed in
>FF3.
FF3 works as expected. I know FF2 has a few bizarre issues like this, but I
just thought placing a div overlay over an input field was common enough
that there might be a fix for the issue.
-Dan
Mike,
>> No matter what I set the z-index to, it always blinks through the
>> layer. Here's a very straightforward example that shows the issue in
>> every version of FF2 I have:
>
>
>Dan, do you have the "cursor keys" option enabled?
No--that's a
rch on "firebox cursor bug" or the
> like you'll probably find some information.
I can't find lots of information on the cursor *not* showing up,
unfortunately my problem is it is bleeding through.
The example page I posted is so basic, I'm sure there's got to be a
workaround for it.
-Dan
No matter what I set the z-index to, it always blinks through the
layer. Here's a very straightforward example that shows the issue in
every version of FF2 I have:
http://www.pengoworks.com/workshop/bugs/ff2_blink_through.htm
-Dan
> Can't reproduce it. Have you played with
oworks.com/index.cfm/2008/12/4/Blinking-cursor-in-Firefox-2-
bleeds-through-divs
Does anyone know of a fix for this problem?
-Dan
class name of ui-tabs-nav,
you're applying the CSS rule ".ui-tabs-nav a" to all of your links.
Also, as Karl said, I can't advocate Firebug enough.
-Dan
Hello, I'm pretty new to jQuery and found a nice drop-down menu on the
web I'd like to use. However, the code for the drop-down effect
doesn't seem to work, and I believe it's because the jQuery library
they use is from 2006. Here is the old code:
$(document).ready(function(){
Carl,
Sorry, I missed a comma (I accidentally typed "m" instead of ","). The line:
, init: function ($select, $input, $a $container){
Should be:
, init: function ($select, $input, $a, $container){
-Dan
On Thu, Nov 20, 2008 at 2:01 PM, clorentzen <[EMAIL PRO
fixedWidth: true
> , init: function ($select, $input, $am $container){
> $('#navNewsSearch').append($container);
> }
>});
> });
I suspect somewhere in your code you've missing a closing parentheses.
-Dan
$('select').linkselect({
fixedWidth: true
, init: function ($select, $input, $am $container){
$("#navNewsSearch").append($container);
}
});
This should move the container so it's a child element of your form.
This should at least make the container element so it's a child of the
hover over menu.
-Dan
. Oddly enough, since I've removed the
> "length" attribute from the input element, I haven't seen the behavior
> again (but I'm sure it's just coincidence.)
The problem is still appearing, so removing the length attribute
definitely didn't resolve the issue (which I suspect would be the
case.)
-Dan
> Do you have to use percentages?
> I have a feeling an exact width in px might help.
I've tried using an exact pixel size and still had the same problem.
It definitely appears to be a rendering issue with FF2, but I thought
maybe there's a work around. Oddly enough, since I've removed the
"lengt
font-size: 10px;
padding: 5px 5px 5px 25px;
border: 1px solid #c3c3d5;
width: 100%;
color: #ccc;
}
#search_input.active {
background-image: url(./images/1.5/icons/search_text_16.png);
border: 1px solid #d07c57;
color: #4c4c4c;
}
-Dan
ently is no way to do this easily. You can either modify the
source code to give you the ability to alter the list, or you can modify the
list element programmatically (just pay attention to the code in the
$.mcDropDownMenu() to make sure you duplicate that logic when adding new
elements to the list.)
-Dan
#x27;s not actually cross-domain, it's just the way I wrote it for
> some reason ^^
>
I think the reason the DIV is empty is because the url
http://uf.ekdahlproduction.com/itsvintage/text.php is returning a blank
document. When I hit the url, it just returns a blank page.
-Dan
I'm not sure why this would be happening, unless something in the UI library
is triggering the document.click for mcDropdown.
-Dan
On Fri, Nov 7, 2008 at 10:22 PM, CED <[EMAIL PROTECTED]> wrote:
>
> Some more info:
>
> including a full version of jquery-ui seems
So lets say I have this simple HTML structure someonwheres in my
document:
some text
and I want to remove the place holder.
I guess I'm trying something like this:
$find("#bigul>#placeholder).remove();
Is that some what on the right track?
h to move the scrollbars according
> // to your tastes.
>
> Was intended to be replaced by math that calculated the setTop and setLeft
> values.
>
> I didn't do that part.
>
> JK
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PRO
to move the scrollbars according
> // to your tastes.
> this.scrollTop = setTop;
> this.scrollLeft = setLeft;
>
> }
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> Behalf Of Dan
> Sent: Wednesday, November 05, 200
to expand a bit further on this, I'm looking for away to remove the
"placeholder" from the specific branch,
or prevent it from appearing.
Thank you in advance,
dan
On Thu, Nov 6, 2008 at 11:03 AM, Dan B. <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'
Hello,
I'm using treeview to browse a bunch of categorized items.
I'm using the async tree. However I want one of the first level items
to start "expanded". My solution was to alter the source to display
that level using the children node. However, when I set that
"expanded": true, there is th
Hello,
I'm trying to move from MooTools over the jQuery as it seems to be a
much reliable and user friendly framework.
However I need to recreate something that I currently have MooTools
doing but am having trouble figuring out how it would work.
I'm trying to replicate the effect seen in the '
ke to
> understand it myself, not find and use a plugin that does it already.
>
Scrolling with the TBODY tag is spotty. IE6 doesn't support it at all--you
need to place your table in a DIV that has a fixed height and overflow set
to scroll.
I'm not sure what browsers you're targeting, but if IE6 was one you were
having problems with, this is why.
-Dan
1 - 100 of 827 matches
Mail list logo