Hi all,
I've loved using jQuery these past few months, but I'm really pulling
my hair our here.
The following is the "endpoint" asp code that gets called to populate
my treeview:
<%
rootid = request.querystring("rootid")
json = ""
set Conn = server.CreateObject("ADODB.Connection")
Conn.Open strP
google code project for it.
-Jason
On Jan 10, 2:12 pm, decola wrote:
> Im really wondering where the developer of this project ... anyway i
> made some enhancements to superfish by myself. Am i allowed to copy
> and paste your code into my work.
>
> Because if the developer of sup
Very confused. Working on a Wordpress site/theme and integrating
superfish for the main (pages) navigation. Everything is working on
locally (running XAMPP on an XP box), but on the live site, child
pages are not appearing as dropdowns. I can see in the source that
the children are being written
ually while leaving them available for screen readers.
You can grab the updated code here http://jsbin.com/useku
(Apologies if this is the wrong place for this posting - the author of
the original Superfish plugin mentioned this list as the place for
support for the plugin. Thanks!)
Jason Denizac
I'm using the superfish module for joomla 1.5 all options except Nav-
bar seem to work fine i have a fix menu area width 705px the 1st and
3rd levels are fine however the second level does not fill the entire
705px and instead folds into a 3rd line any ideas on how to get it to
fill out the width?
Hey,
was wondering if anyone could help me with a basic JQ question. Ok so
I am trying to select each element that has a certain class on my
page, and then use what is inside of the I am
selecting to populate a drop down select box with the id of
deptFilter. (with each result found inside of the
hello,
i am looking to begin web development after a bit of experience with
computer programming (computation and numerical methods).
i am looking for a web host. so far anhosting.com seems like a fine
option, but i would like to be able to make use of jquery.
can anyone recommend a web host?
als
Ah, thank you very much.
On Dec 18, 12:29 am, "Richard D. Worth" wrote:
> Seehttp://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_ev...
>
> - Richard
>
> On Fri, Dec 18, 2009 at 12:23 AM, Jason Kaczmarsky
> wrote:
>
> > Ahah, this was the pr
alert(this)
});
Nothing is ever alerted if that element is clicked.
Example page:
http://pendarenstudios.com/NEW/file_sel.php
On Dec 17, 10:39 am, Jason Kaczmarsky wrote:
> I must have missed something cause I made a new page and rewrote the
> code and it worked fine. Thanks f
I must have missed something cause I made a new page and rewrote the
code and it worked fine. Thanks for the help guys.
On Dec 17, 5:26 am, "Richard D. Worth" wrote:
> Works for me:
>
> http://jsbin.com/egoto/
>
> - Richard
>
> On Wed, Dec 16, 2009 at 8:4
e styles no matter when they enter.
>
> Are you sure that the class is assigned to those elements? I would make sure
> by peeking at the rendered html via Firebug.
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf
So I've created a little app which loads some filenames into a div via
an AJAX query. This happens when a user clicks a button, not when the
page loads. Because of this, I cannot style the filenames how I want.
I've tried using CSS to do the trick:
.file{
color: #F00;
}
.file:hover{
cursor:pointe
why not use http://jqueryui.com/demos/accordion/
On Dec 10, 11:05 am, mojoeJohn wrote:
> thanks for the explanation. my accordion works fine but i was wanting
> to reduce it's sensitivity. i tried putting return false but it didn't
> help much. any other suggestions?
>
> On Dec 10, 10:02 am, Mor
r the
textbox (or entire ajax content) is attached to the browser DOM (or
after the content is attached to a parent), process the spinner?
$(function(){$(".spinner").spinner();}); doesn't work when placed
within the ajax content itself. it produces the same results as
calling spinner
I have a set of tabs that loads it's contents using ajax. within some
of these tabs I have defined numeric spinners. I have found that i
need to configure my spinners on tabsshow, not tabsload. however tabs
load works for just about everything else i do dynamically. I'm
guessing this has something
//alexdweb.com
>
> On Tue, Nov 24, 2009 at 5:11 AM, Dave Maharaj :: WidePixels.com <
>
> d...@widepixels.com> wrote:
> > I have the same problem. Firefox eats up a lot of memory when open for a
> > long time (900k sometimes) and my toggle divs drag ass.
>
> > I
So I have a div with an input, textarea, and submit button. A link
makes it so you can expand/contract this div. In Firefox only, the div
resize is very laggy and its clearly shown on the site.
That happens when you open it. The rest of the site is pushed down
like its supposed to, but the element
So I have this login system which uses jQuery's animation function to
make the tab eventually disappear. It works in all browsers fine but
IE, of course.
Anyway heres the code,Height=39:
profile_info.animate({top:"+="+Height,height:"-="+Height},500,function
(){...});
If I take out the height, it
Hi,
How can I remove all div elements using the
attribute foo for my selector? Basically any div with a foo attribute
I want gone.
Thanks, Jason
$(".Download").each(function(){
$(this).attr('onClick', "javascript: pageTracker._trackPageview('/
downloads/map');");
});
On Oct 16, 5:51 pm, shapper wrote:
> Hello,
>
> I have the following anchor:
> http://www.example.com/files/map.pdf"; onClick="javascript:
> pageTracker._trackPageview('
Hi Gang,
I've been wasting time trying to figure this out to no avail. Here's
my function:
//Toggle
$("#type_new").hide();
toggle = function(){
$("a.toggle").unbind('click').click(function(){
var aIndex = $("a#type").index(this);
if($("#type_new:eq("+aInd
Thanks! Looks perfect.
On Oct 12, 12:40 am, Karl Swedberg wrote:
> On Oct 11, 2009, at 3:35 PM, Jason wrote:
>
>
>
> > Can someone explain a little bit more (more then jQuery's docs) about
> > how the $.post operates? I know it's a "shortcut" for
Can someone explain a little bit more (more then jQuery's docs) about
how the $.post operates? I know it's a "shortcut" for .ajax and it
uses the HTTP POST request. So I'm guessing it's not sending the same
request the form would send... i.e. you HAVE to provide the data to
the php script throug
n the page that id ":not" this? I am going to try to work on this
today a little, and share if I come up with anything. Also, let me
know if you were able to develop anything that met your requirements!
Thanks,
Jason
On Oct 2, 10:51 am, samh12 wrote:
> Hi Nalum,
> Idon't thin
Date(austDay.getFullYear() + 1, 1 - 1, 26);
$('#count').countdown({until: austDay, layout: '{dn} {dl}, {hn} {hl},
{mn} {ml}, and {sn} {sl}'});
$('#year').text(austDay.getFullYear());
});
Cheers,
Jason
Can anyone help with my above query. I can not get it to validate
befor sending
the form. It only does after any empty form is submitted
Jason
On Jul 28, 7:33 pm, Jason wrote:
> I have created a new site that has a contact page and am trying to use
> the Forms plugin and Validation plug
I have created a new site that has a contact page and am trying to use
the Forms plugin and Validation plugin. I can get the validation
plugin to work fine and submit the form when it is valid but I am
trying to use AJAX to update a div when the form has been successfully
sent. All that is happe
m not
publishing it on the web.
Has anyone done this and willing to give me some help and examples.
regards
Jason
Thanks! Problem solved. It is always the simple things. I appreciate
the help.
On Jul 1, 8:54 am, Mike Alsup wrote:
> > I am having an odd error where the pager generates links but they
> > don't change the slide in FF and Safari. The biggest surprise of all
> > is that it actually works in IE.
I am having an odd error where the pager generates links but they
don't change the slide in FF and Safari. The biggest surprise of all
is that it actually works in IE.
Here is the page I am referring to: http://76.12.208.222/
Any suggestions?
Well, I managed to put 2 "Carousel with external controls" together on
a page.
Now, I'm facing another problem, that's the external controls.
The controls, I can't change the numbers to something else (name of
the picture).
You can check out what I mean here: http://jasonpang.com/test/test4.htm
choked on this, whereas Firefox was quite happy with it.
>
> I've done enough little bits of Perl, PHP, and now JavaScript over the
> years that I have terrible trouble remembering exactly which bits of
> syntax will or won't work with each!
>
> Thanks again to Jason, my
#x27;t work in IE. I was hoping the
> jquery version would help solve that, but at the moment I still have a
> solution that works only in Firefox :-} At the moment I don't have
> an IE quivalent to Firebug so i'm slightly stuck on how to try to
> debug it.
>
> Anyway, i
Sure,
I wasn't doing anything fancy, just -
try {
if ( div.getElementsByClassName("e").length === 0 )
return;
} catch (e) {}
but I'm not sure how that would have affected Opera and such (it
really
shouldn't).
As John said (on the jquery dev mailing list), the problem is due to
runnin
Certainly... you're really not all that far off at all... let me just
point out a couple of things.
1) It's ":first-child", not ":first".
2) inside the loop, the variable - this - is a reference to the DOM
node. Hence, to get the jQuery object for that node, use $(this)
(note the lack of quote
Alternatively, another method would be -
setTimeout( function() { movebus(a, b, c);}, 300);
This format is preferred as it won't invoke 'eval', allows for more
complex logic and gets you some nifty closure action.
_jason
On May 25, 1:36 am, Surya Prakash wrote:
> Hi U can try as below:
> var
gt; encountered was that FF, Chrome & Safari "jumped" as if I'd simply set
> the value.
>
> Maybe that's related to what you're seeing, but it "works" on some level
> without giving an error
>
> Liam
>
> Jason Persampieri wrote:
> >
Instead of declaring the javascript handler in the href, declare it
with jQuery in a script section.
Print
$("a.print").click(function() {
printSection( $(this).parent() );
return false;
})
_jason
On May 21, 7:18 pm, iceangel89 wrote:
> i have a link that onclick calls function printSect
That will only submit if form is the first-child of it's parent (in
the DOM). Can you verify that's the case?
alert( $("form:first").length ); // or something
On May 21, 12:51 pm, l3kris wrote:
> I have this function that validates and is supposed to submit a simple
> form:
>
> $(function() {
(Firefox 3.0.10, OS X)
Can anyone explain why these two statements would return different
sets?
>>> inlineTips.filter("[title!=''][value='']")
[input.inlinetip, input.inlinetip, input.inlinetip, input.inlinetip,
input.inlinetip]
>>> inlineTips.filter("[value=''][title!='']")
[]
To make sure it'
;
> That said, tests here show that only IE & Opera offer a smooth animation
> - the others (FF, Chrome & Safari) seem to jump
>
> L
>
> Jason Persampieri wrote:
> > (Firefox 3.0.10, OS X)
>
> > I am setting a padding value via a stylesheet and trying to a
(Firefox 3.0.10, OS X)
I am setting a padding value via a stylesheet and trying to animate it
-
- CSS
myElement { padding: 20px }
- Javascript
myElement.animate( {padding: 12px} )
When calculating the start padding value, jQuery calls
'getComputedStyle'. Unfortunately,
computedStyle.padding
Is this what you're looking for?
$("a:not[href^=http]").each(function(){
var ext=$(this).attr("href").match(/\.[^\.]*$/);
if (ext) $(this).after("("+ext.slice
(1)+")");
} );
On May 15, 8:09 am, infoaddicted wrote:
> This calls for a function, where you can hide the gory details. Use a
All sorted - just found supersubs :-)
On May 6, 12:00 pm, Jason wrote:
> Does any know if it is possible to make the superfish drop down menu
> item width the same as the main menu items widths (i.e. so that the
> 1st and second level menu items have the same width) - And if so how
playing with the style sheets setting widths to lists and
list items but nothing seems to change.
Any suggestions would be greatly appreciated.
Regards,
Jason
I have added buttons to my jCarousel to trigger removing any image
from the carousel.
However, it seems the remove() method is not working for this. First
off, it only allows you to remove images that are off-screen. Even if
I hack around that problem the carousel does not update to remove the
ga
plains how this system automates adherence to many of those
rules. The paper, slides, and sample code that I presented are
available here:
http://devblog.jasonhuck.com/2008/09/23/an-asset-management-system-for-lasso-powered-sites/
- jason
Here is an example on how to have multiple jCarousels on one page.
Summary: you need to name each jCarousel with a different ID.
http://sorgalla.com/projects/jcarousel/examples/static_multiple.html
On Apr 2, 12:22 pm, amuhlou wrote:
> Hello,
>
> I'm working with thejCarouselplugin and would li
Forgive my ignorance first of all, but i have a horizontal
"carousel" (not sure of the technical term) with images. Is it
possible to include a caption(text) above and below each image?
Secondly, is the size of each image only limited to 75x75? Many thanks
jason
Trying my luck over here because I am not getting any love in the
jquery ui mailing list.
I am getting a strange behavior with Firefox using the accordion. This
works fine in all other browsers including Internet Explorer. First,
let me describe my setup.
Firefox 3 (Tested in OS X and Windows, s
I have a nested list which represents a folder hierarchy. An example
of one of these lists is below. Basically I want the user to be able
to drag any of the folders into a droppable. As is, if the user
starts dragging Folder1 in the example below, the whole list is
dragged along as well (which
I have a nested list of the type below. It represents a folder
hierarchy and I am trying to make it so that if the user drags any
folder in the tree, all of the children will be dragged along with
it. In the example below, if the user drags Folder1 the entire tree
comes with it (which is what I
aving an issue with the width of the dropdown list, my
linkselect item is an inline element in a span, so it's unable to
properly size the parent and the dropdown width is always set to the
max-width from the CSS class. What's the proper way to get the list to
size to its contents when its in an inline element?
Thanks,
Jason
Hi,
I have a column with values $4.50, $127.00, -$130.00, -15.76 and the
sorting
doesn't work. It works fine if all values are positive, however. Does
anyone
have any idea how to fix this? For now I just have to eliminate the
"$" in
order for it to work.
Thanks, Jason
aving an issue with the width of the dropdown list, my
linkselect item is an inline element in a span, so it's unable to
properly size the parent and the dropdown width is always set to the
max-width from the CSS class. What's the proper way to get the list to
size to its contents when its in an inline element?
Thanks,
Jason
Was actually able to figure this out. I needed to pass in a blank
string for the message, then my css would get applied to the message,
so all I had to do was manually move it offsreen:
$.blockUI( {message:' ', css: { left: '-1000px'} , overlayCss:
{opacity: '0'
ssage or css to my call:
$.blockUI( {message:null, css: { opacity: '0' }, overlayCss:
{opacity: '0'} } );
But I'm still seeing the message box display even though there is no
message. Is there any way to suppress completely and still use
external CSS definitions?
Than
re page, or will multiple invocations like this cause
issues?
Thanks,
Jason
00)/ to display the actual
default date. something like:
Wednesday, January 21, 2009, 9:30 am
I believe I have to do some regex, prasing and eval the result. If
that is correct, then I should be able to build a prototype function
which could automatically convert this for me, correct?
Jason
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
Please ignore this post. I found that a newer version is made at...
http://nixboxdesigns.com/lavalamp.php
On Jan 10, 11:30 am, Jason Broyles wrote:
> I am trying to implement this LavaLamp for jQuery
> menu.http://gmarwaha.com/blog/?p=7
> It comes with jQuery 1.1.3.1 and it works
I am trying to implement this LavaLamp for jQuery menu.
http://gmarwaha.com/blog/?p=7
It comes with jQuery 1.1.3.1 and it works just fine with it. However,
I was already using 1.2.6 on my site and the menu will not work with
it. The code to initialize the menu is below but I think everything is
o
27;t figure out how to use a
depends clause or a custom validator callback that would depend on
what button was pressed or something of the sort.
Thanks,
Jason
animations
(thumbnail clicks) to act upon.
I think adding a new line between lines 68 and 69 that would halt
current scrolling/animations would help to fix this, but I need help.
Thanks,
-Jason
.
//---Javascript-//
function swapImage(i){
//alert(i);
var image = document.getElementById('swap_image');
image.src = i;
}
//---//
Thanks for any help,
Jason
Thanks Karl!
On Nov 25, 6:53 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Yes, you can use one or the other.
>
> --Karl
>
>
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Nov 25, 2008, at 9:13 AM, Jason Coudriet wrote:> Hello,
&g
low","auto") };
>
> });
>
> On Nov 26, 5:25 pm, Jason Turcotte <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I'm fairly new to jQuery and am trying to do the following.
>
> > I am using a coda slider effect for a website, which is working
Hello,
I'm fairly new to jQuery and am trying to do the following.
I am using a coda slider effect for a website, which is working fine.
What I need to do is change the overflow CSS property for a div when
another element is clicked.
Here's what I have:
$(document).ready(function(){
$("#tes
Excellent, thank you.
On Nov 25, 4:24 pm, "Charlie Griefer" <[EMAIL PROTECTED]>
wrote:
> On Tue, Nov 25, 2008 at 3:28 PM, Jason <[EMAIL PROTECTED]> wrote:
>
> > Code:
>
> >
> >
> >
>
> >
> >
> >
>
> &
Code:
When a link is clicked, I would like to be able to reference the
particular parent fieldset element, and not all of them.
Something like this doesn't work:
$('.link').click(function () {
$(this+':parent').BLAHBLAHBLAH();
});
Thanks in advance, the help here is top not
Hello,
When using jQuery, do have we have the option to use just the MIT
license?
Thanks,
Jason
n from the class.
// (Consider using ID's for this instead, since they are unique.)
var fp = $(this).attr('class').substr(4);
// Switch the viewer's background-image attribute.
$('p.viewer').css('background-image', 'url(graph
ng as your ID's are unique, which they should be, there's
no need to put anything in front of them in your selector, so you
should be able to shorten it like so:
var row = "#socios.trSelected:first";
$(row + " td:first").css("color", "red");
is).val();
Or, IIRC, I believe this works nowadays as well:
var selected = $(this).val();
You might also consider storing the base URLs in an associative array
rather than relying on custom (non-validating) attributes.
HTH,
Jason
On Nov 16, 3:08 pm, Fluffy Convict <[EMAIL PROTECTED]&
aracter, creating an array of two
> elements:
>
> [ 'nameN', 'link' ]
>
> [0] selects the first element of that array, 'nameN'.
>
> We then combine that string with a '#' (not '.') to make it an ID selector.
>
> Also
aracter, creating an array of two
> elements:
>
> [ 'nameN', 'link' ]
>
> [0] selects the first element of that array, 'nameN'.
>
> We then combine that string with a '#' (not '.') to make it an ID selector.
>
> Also
HTML:
link
link
link
link
text here
text here
text here
text here
CSS:
#wrap li {display:none;}
Javascript Goal:
When a link is clicked, it's corresponding div is shown. All divs are
hidden by default via CSS.
Something like this:
$('#wrap li').click(function () {
var lawls = 1;
$('#next').click(function () {
$('.item').hide();
$('.item:eq(lawls)').fadeIn();
++lawls;
});
I have multiple divs, that I would like to sequentially appear when a
button is clicked. My current code isn't working. This will work:
$('#next').click(function
Resolved.
On Oct 25, 11:51 am, Jason <[EMAIL PROTECTED]> wrote:
> I have HTML similar to the following:
>
>
> red border
>
>
> Essentially I have a div with a link inside of it.
>
> What I want to do is have the div selected when the link is clicked. I
> ne
k(function () {
//somehow select the parent div
});
I've looked at 'children' and 'parent' traversing but I can't wrap my
head around a solution for this problem. Thanks in advance, you guys
are great.
-Jason
I can't get it to work. Anyone have a test page I can look at to see
it working.
solution) you use livequery plugin, available
> here:http://plugins.jquery.com/project/livequery
>
> On Wed, Oct 15, 2008 at 6:46 PM, Jason <[EMAIL PROTECTED]> wrote:
>
> > My page:
>
> > I click a tab and it loads in the html file for the tab. I click a
> > l
, but it's too confusing. Any help would be appreciated.
Thanks,
Jason
I'm using jcarousel to display a list of images that I want the user
to be able to drag to certain drop targets.
The code looks like:
...children('img').addClass('flashCatalogPage').draggable({ helper:
'clone', opacity: .5 });
The problem is, the container for the jcarousel uses the css attribu
On Oct 3, 5:09 am, "Joel Birch" <[EMAIL PROTECTED]> wrote:
> Hi Jason,
>
> This is interesting because the only problems I have seen like this
> with regard to Mac FF2 have always been easily solved by setting
> wmode="transparent" on the 'embed
alternative.
Credit for the FF2 detection function go to this blog post:
http://jakeo.org/blog/2007/03/16/css-opacity-and-flash-transparency-in-mac-firefox/
Best,
Jason
I've been trying to get tablesorterPager working with AJAX addition of
rows. I can get the rows added, but they are always on the last page,
and are never get sorted properly. I've been trying various methods of
trying to update the caches that are held by pager and tablesorter,
but I haven't foun
I commented out stuff and noticed that the menu is showing, it's
failing due to the z-index IE bug, staying behind page content in both
IE6 & IE7.
On Sep 9, 8:58 am, Jason Stanbery <[EMAIL PROTECTED]> wrote:
> I will preface with the statement that I'm not a javascript su
I will preface with the statement that I'm not a javascript super
star.
My drop down menu isn't functioning for either IE6 or IE7. In FF2 on
Windows it works, acts a little funny sometimes, works fine on FF3 &
Safari on Mac. If I was to guess, I would probably guess that the
issue is in my custom
Hi. Maybe I'm just dumb... hehe
I'm using Superfish.
I want to have the text on my nav bar be white and the dropdowns be a
different color. I can't figure out how to do this Help!
Thanks!
Yes, you can call javascript functions (or jquery functions for that
matter) in flash. (And vice versa)
See ExternalInterface:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683
On Sep 2, 8:14 pm, Gill Bates <[EMAIL PROTECTED]> wrote:
> I don't know if I could handle flash with
One thing I would suggest is casting the .val() as an integer before
comparing it:
var dulicateCheck = parseInt($("#duplicateInput").val());
Otherwise it's doing a string comparison, which will throw off your
results.
- jason
On Sep 1, 9:25 pm, hubbs <[EMAIL PROTEC
$(this).find('input[id*=mycheckname]:first');
http://docs.jquery.com/Traversing/find#expr
- jason
On Sep 1, 5:27 pm, matt knapp <[EMAIL PROTECTED]> wrote:
> I have some table rows:
>
>
> Blah
>
> Blah
>
> Blah
>
>
>
> that I am select
?
$("#link").click(function(){
$("#contentbox").animate({width: "550px"}, 300 );
$("#contentbox").load("interactive.html");
});
Thanks,
Jason
I think, at a bare minimum, you'll want to change this:
var title = $(this h3).val();
...to this:
var title = $('h3', this).text();
...and this:
$(this h3).append...
...to this:
$('h3', this).append...
I think that'll solve your immediate problem.
- jas
Hi Mike,
Basically, I have a global javascript file called globalutilities.js.
I have included the jquery and other scripts in this file to simplify
code mangement. When I include jquery file this way, I get errors with
$ function. When I include it directly in the html file it works. I
have trie
Hi Folks,
I have been trying to consolidate a good number of scripts into
include to simplify mgt. The trouble is when I include the jquery file
it does not recognize the jquery functions. If I include it directly
in the html page all works fine. I have even included remote files
that I have conf
This looks fantastic. Thanks to everyone on the team for their
continued hard work. You guys rock!
- jason
On Jun 3, 1:46 pm, Rey Bango <[EMAIL PROTECTED]> wrote:
> jQuery v1.2.6 is now official and release notes have been
> posted:http://docs.jquery.com/Release:jQuery_1.2.6
>
I haven't tested this, but I think you'd just select the inputs within
the clone, and reset them before inserting, like so:
var clonedRow = $("tbody.gltb tr#guest_new").clone();
$('input', clonedRow).val('');
- jason
On Jun 2, 11:42 am, jarp <[EMA
Here's one way, no "last" class required, though it probably could be
improved upon:
$($('p').get(3)).before($('p:last'));
- jason
On Jun 1, 9:02 am, swortis <[EMAIL PROTECTED]> wrote:
> Hi all-
>
> I suspect this is ridiculously easy..
1 - 100 of 199 matches
Mail list logo