Hi!
I'm trying to show the selected menu with a different color background
when a user clicks on a particular main menu item. This works with a
ul that does not have child items on it. But ul's with child elements
the css does not seem to work and seemed overridden by javascript.
What i did was
and 'script' and even 'xml' out of sheer
desperation), so if anyone has any ideas they are more than welcome!
Jan
On Aug 27, 12:01 am, Lay András wrote:
> Hello!
>
> On Wed, Aug 26, 2009 at 9:04 PM, Mike Alsup wrote:
> > Kostya is correct. Try embedding the response i
ange the code that does what I want. I have nine links
on my list. Thank you very much in advance for the help.
Jan
does anyone know solution for this? thank you
?
If i'm not mistaken adding ", error : options.errorCallback" inside
the $.ajax(...) somewhere in the middle of jquery.autocomplete.js
would suffice to achieve this behavior...
Plz consider,
thx, regards,
Jan
Hi!
Sorry to flood please disregard my previous attemp to post for this
same issue. This is the real post.
I have this code within the ready function:
$("form.uplform").live('submit', function(){
if($(this).attr('validate')=='true'){
Hi!
I cant get this each function to work inside a form:
for example i have this code:
$('#formid>input').each(function(){
if($(this).attr('id')!='') alert($(this).attr('value'); //fetch id if
not blank ang show value
});
the code inside this function does not run if the form is render
Hi there,
I'm new to jQuery and was looking for a way to get a table cell above
or below the current one.
What I mean is a function like .prev() or .next() but those only help
me getting the cell to the left or to the right.
Thank you both, it works :)
Hi,
I'm experiencing a problem with each():
function CalculateDuration() {
$(".duration").each(function() {
var dur = $(this).html();
dur++;
$(this).html(dur);
});
}
This function should take the value of fields tagged with .durat
$('#content').empty().append( function() { return "hello" } );
does not produce any output?
thanks, Jan Vandorpe
string in proccessajax.php. This will not work correctly on multibyte
strings. You can either use mb_strlen($str)[1] (if the mbstring extension is
installed on your server) or strlen(utf8_decode($str)).
Jan
[1] http://php.net/mb-strlen
--
View this message in context:
http://www.nabble.com/Encod
outputting the
json code?
header('Content-Type: application/json; charset=utf-8');
Jan
jcarousel-preview/examples/static.html
There are a lot of api and configuration changes so just ask if
something isn't clear.
Jan
different sizes and a flexible carousel
width. But i never thought about your special case ;)
In the new new version, you can do it with the callback functions
(i've adjusted the example posted before) but its also a little bit
hackish.
So, in short, i don't have a built-in solution right now but i keep
that in mind...
Jan
Klaus Hartl wrote:
> Jan Sorgalla schrieb:
> > ok, i see now. One of the main differences between the old and the new
> > version of jCarousel is, that you no longer have to pass itemsVisible
> > as option. The number of visible items are calculated on the fly
> > de
our help will be greatly appreciated.
>
thats not possible with the current version of jCarousel. Just look at their
source code. Its done quite simple, look for the keyword "crossbar" in the
source code.
Jan
--
View this message in context:
http://www.nabble.com/hover-and-autoscroll-
Hi !
When I start use this extension i hope that when the browser doesn't
have flash field will be "normal" but not. I change (almost
everything) to get this effect but the main problem is:
var $el = jQuery('<' + opts.elementType + ' id="'+containerId+'"
class="' + opts.cls + '" style="width:'+o
t/form-data" as
attribute in your form tag?
Jan
> > Just to make sure: Do you have enctype="multipart/form-data" as
> > attribute in your form tag?
>
> The plugin does that for you. :-)
Ok ;)
Just saw guys debugging for hours before they noticed that they just
forgot it...
Jan
carousel to wrap the li items. I
> think its something to do with the styles getting inserted dynamically by
> the javascript, but i cant seem to alter them without breaking the whole
> workings.
>
> any suggestions on how i could get this to work?
>
Just put the grid with 1
in an LI?
>
> it seems like theres an overflow:hidden somewhere maybe which is
> preventing the height attribute from being effective.
>
You can put whatever you want inside a . It can be a single image or a
table of 16 images. Just customize the getItemHTML() function.
Jan
.load("current.php", function() {
$('#mycarousel', this).jcarousel({
/* Configuration goes here */
});
});
}
Jan
--
View this message in context:
http://www.nabble.com/.load-jcarousel-tf3607584.html#a10085108
Sent from the jCarousel mailing list archive at Nabble.com.
what source code did you looked at. I meant the page source of the
vibesconnect website, not the jcarousel source code.
Jan
--
View this message in context:
http://www.nabble.com/hover-and-autoscroll-tf3568171.html#a10268086
Sent from the jCarousel mailing list archive at Nabble.com.
cts/jcarousel-0.2.0-beta/
There's also an example with Thickbox3 integration included.
Jan
--
View this message in context:
http://www.nabble.com/Thickbox-3-and-Jcarousel-hack-tf3687800.html#a10356314
Sent from the jCarousel mailing list archive at Nabble.com.
post: http://sorgalla.com/2007/05/07/jcarousel-020-beta/
Let me know if you have suggestions and/or if you find bugs.
Jan
in the
"Carousel with external controls" example and pass the autoscroll option.
Jan
--
View this message in context:
http://www.nabble.com/need-help-to-add-the-autoscroll-together-with-the-external-controls-tf4145305.html#a11811654
Sent from the jCarousel mailing list archive at Nabble.com.
ion (carousel, state) {
mycarousel_itemLoadCallback('../slideshow1.txt', carousel, state); }
});
and for the second carousel:
jQuery('#mycarousel').jcarousel({
itemLoadCallback: function (carousel, state) {
mycarousel_itemLoadCallback('../slideshow2.txt', carous
something
> wrong or going about this the wrong way?
>
> Thanks in advance for the help!
i guess you're talking about jCarousel, so the "start" option isn't
what you need. Check out this example:
http://sorgalla.com/projects/jcarousel/examples/special_start.html
Jan
tell jCarousel only scroll 1 item per
click.
jQuery('#mycarousel').jcarousel({
scroll: 1,
itemFirstInCallback: {onAfterAnimation:
mycarousel_itemFirstInCallback}
});
Jan
uredcontentslider.htm is
> there a way to add a feature like this "the pagination and a next and prev
> button" by dynamic ??
>
check this out:
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html
Jan
--
View this message in context:
om/jcaroussel/index.htm
that happens due to the fact that IE6 can't handle empty divs
properly. Try to build up the jcarousel markup like (note the comments
inside the divs):
...
Jan
nk you
>
that happens due to the fact that IE6 can't handle empty divs
properly. Try to build up the jcarousel markup like (note the comments
inside the divs):
...
Jan
--
View this message in context:
http://www.nabble.com/Bug-IE6-only-%28next-and-previ
Hi,
did you tried it with exactly the code i posted?
Jan
Chboc wrote:
>
> Hi Jan,
>
> I'd try your fix but the bug still there. I don't know what to do.
>
> Alex
>
>
> Jan Sorgalla wrote:
>>
>> Hi,
>>
>>
>> Chboc w
Hi,
that happens due to a bug in jQuery 1.2. You either have to wait for 1.2.1
(which is scheduled for this weekend) or use the older version delivered
with jCarousel.
debussy007 wrote:
>
> Hello,
>
> I have a problem to make this plugin running correctly for my web site.
>
> I have been tr
ation fails.
Does anybody know what is going on here, or better have a solution?
Thanks in advance,
Jan
I set element valid?
});
}, jQuery.validator.messages['date']);
I might be doing something wrong...
I know there is a remote({}) method, but how could I use it from there? It
might work less asynchronously, thus easier...
--
Jan
nter/text/19216.html)!
But - anyone did come around this somehow, or maybe test this in his/her
firebug console?
--
Jan
magic! the second, I wrote this post, it started to work.
2009/8/31 Jan Limpens
> Hello,
>
> miraculously enough, this call
>
> $.getScript('http://www.googleadservices.com/pagead/conversion.js',
> function() { confirm('g'); });
>
> doe
in chrome and ie that is. firefox still eats it.
2009/8/31 Jan Limpens
> magic! the second, I wrote this post, it started to work.
>
> 2009/8/31 Jan Limpens
>
> Hello,
>>
>> miraculously enough, this call
>>
>> $.getScript('http://www.googleadser
yip, that was it!
2009/8/31 Jan Limpens
> aha! adbock?? maybe...
>
>
> 2009/8/31 Jan Limpens
>
>> firebug gives me this in html view:
>> http://www.googleadservices.com/pagead/conversion.js?_=1251741522425"</a>;> Failed
>> to lo
oogleadservices.com/pagead/conversion.js?_=1251741522425</a>
the qs is not mine, if jq adds is to prevent caching it is actually doing a
bad service to me.
the given address works just fine.
2009/8/31 Jan Limpens
> in chrome and ie that is. firefox still eats it.
>
>
> 2009/8/31 Jan Limp
aha! adbock?? maybe...
2009/8/31 Jan Limpens
> firebug gives me this in html view:
> http://www.googleadservices.com/pagead/conversion.js?_=1251741522425"</a>;> Failed
> to load source for:
> <a rel="nofollow" href="http://www.googleadservices.co
Hi !
I'am creating movable panels using jQuery UI sortable behavior.
Unfortunately my columns have different size. Question is - how smooth
resize panel after dropped it on the column to column size ?
Greetings from Poland !
--
Jan Koprowski
spinUp', '+');
input.after(spinUp);
spinUp.click(function() {
return spin(1);
});
};
})(jQuery);
$('#spinMe').spinner();
--
Jan
ver
>
>
> On Jul 8, 11:09 am, BaBna wrote:
> > I don't really see where your link is, but if you had .click(function
> > (e){e.preventDefault();} to your link, that should disable it.
> >
> > On Jul 8, 3:54 pm, Jan Limpens wrote:
> >
&
7;, '-');
input.before(spinDown);
spinDown.click(function() {
return spin(-1);
});
var spinUp = makeButton('spinUp', '+');
input.after(spinUp);
spinUp.click(function() {
return spin(1);
sers that JQuery supports
> allow this. (But remember to set "overflow: visible;" in the styling,
> or IE6 (as usual) can make a mess of it if it under certain
> circumstances: <http://natbat.net/2009/Jun/10/styling-buttons-as-links/
> >.)
>
> Regards,
>
> Nick.
> --
> Nick Fitzsimons
> http://www.nickfitz.co.uk/
>
>
--
Jan
I was not aware of that - I wonder if there are other types of buttons,
then :)
2009/7/9 Nick Fitzsimons
>
> 2009/7/9 Jan Limpens :
> > in fact, it was a button at first, but it always submitted :)
> > I ought to switch that back :)
> >
>
> As long as you speci
ut of some
reason, it won't scroll. All the code is in
http://limpens.com/js/main.js . If someone could tell me, what I am
doing wrong, I'd be much obliged :)
--
Jan
Forgot to say: only the third set has pictures in it right now
2009/10/10 Jan Limpens :
> Sorry for the dumb title, but f I knew what it was, I'd probably not
> write this message
>
> At http://limpens.com I want to show my portfolios from flick
> photosets. I would want
they are complete,
then the brand-new one in late March or April.
Cost for the Second Edition, in PDF or 2 other ebook formats, after the
$15 discount, is only $12.50 US!
--
Jan
Rick Faircloth wrote:
I'm not sure what you mean, Jan...
We can order the *new* second edition now, which is not available yet,
and get chapters in PDF as they're completed...is that part correct?
The part I don't understand is "then the brand-new one in late March or
Ap
ine?
Just go to http://www.flickr.com/services/api/keys/ and create your own api
key. Then set it with the variable
$api_key = 'you api key';
and remove
include '../../config.flickr.php';
Jan
--
View this message in context:
http://www.nabble.com/Ajax-and-Flickr-picture
he width of the
clip and container of the the carousel:
.jcarousel-skin-ie7.jcarousel-container-horizontal {
width: 245px;
padding: 20px 40px;
margin-left: 5px;
margin-right: 5px;
}
.jcarousel-skin-ie7 .jcarousel-clip-horizontal {
width: 245px;
height: 77px;
}
Jan
lick', function() {
// Do loading stuff here:
// carousel.add(position, item);
};
};
jQuery('#mycarousel').jcarousel({
initCallback: bindLoader
});
Jan
Can you post a link to a sample page with your carousel?
Jan
On 24 Okt., 17:12, pigeonpoop <[EMAIL PROTECTED]> wrote:
> the variable; carousel, the argument passed into bindLoader, is
> undefined.. would you know what could cause this? FYI.. my carousels
> are being initialized
le of loops in the code that loop, not the items, but
> the number of possible visible item, resulting in null-items. Just to
> be sure, I modified the example
> athttp://sorgalla.com/projects/jcarousel/examples/static_simple.html
> so it only had 2 items. I got the same error there.
i've just released a new version which includes a fix for that. Thanks
for the bug report.
Jan
var currPage = ((carousel.first - 1) / 3) + 1;
makevisible('vedi'+ currPage)
return false;
});
Jan
ond. if you query more, the server blocks
> my servers ip.
>
> i need a pure java script solution. so every query will be made via
> users ip.
> but i am about to loose my hope.
maybe that will help: http://code.google.com/apis/ajaxfeeds/
Jan
straightforward
> html):http://www.azestimators.com/slide/az.htm
>
> If you can help me figure out why this takes so long with IE7 I would
> really appreciate it.
> Thanks,
> Tim
hmm...the page loads fast for me in IE7.
Jan
icurl) {
> $('#dspPic').html("
> >").animate({height: 'show',opacity: 'show'}, 'slow');
> }
>
> Thanks!
did you included the core css file (jquery.jcarousel.css)?
Jan
- and click the back and forward buttons you should see that items
> just disappear. In my implementation the items usually start off
> showing but then end up spaced really far apart or disappearing
> completely when you scroll back and forth.
i've checked that with version 3.0.4 and can't reproduce that. Its all
working just fine for me...
Jan
Hi,
check the blog post: http://sorgalla.com/2007/05/07/jcarousel-020-beta/
Jan
On 8 Mai, 17:37, Equand <[EMAIL PROTECTED]> wrote:
> sorry, can't find "changes" log, so what's new?
>
> On May 8, 3:42 pm, Jan Sorgalla <[EMAIL PROTECTED]> wrote:
>
>
You forgot to include the stylesheets. Don't forget to include both
the core and skin stylesheet.
Jan
On 10 Mai, 06:11, Equand <[EMAIL PROTECTED]> wrote:
> it's not working... i've setup everything and all that it creates is a
> long horizontal list of my images with
Hi Bil,
thanks for the hint. I've updated the instructions.
Jan
On May 10, 9:07 am, Bil Corry <[EMAIL PROTECTED]> wrote:
> Jan Sorgalla wrote on 5/9/2007 11:53 PM:
>
> > You forgot to include the stylesheets. Don't forget to include both
> > the core and skin
Thats why it is still in beta-state and not an official release yet.
If you find bugs, report it here...
Jan
On May 10, 1:43 pm, Equand <[EMAIL PROTECTED]> wrote:
> i must admit that this version has more features than the previous
> one, but also has a lot more bugs... especial
ynamically load items (1 and 2) before item the first existing item.
If i understand you correct, you need that:
http://sorgalla.com/projects/jcarousel-0.2.0-beta/examples/special_start.html
Maybe i'll add a simpler solution for this, but that way will work
anyway.
Jan
add
.jcarousel-list-horizontal {
width: 1000px;
}
to the skin.css. That fixed it here.
Jan
http://ajaxpatterns.org/HTTP_Streaming
http://alex.dojotoolkit.org/?p=545
http://cometd.com
Jan
m will jump at position 1, the third at position 2 and so
on...
Try to work with visibility:
function itemVisibleInHandler(carousel,item,pos) {
$(item).css('visibility', 'visible');
}
function itemVisibleOutHandler(carousel,item,pos) {
$(item).css('visibility', 'hidden');
}
Jan
re calculated before
jcarousel has fully created and positioned all elements.
Try the following:
Line 1
Line 2
Line 3
Line 4
Line 5
The div will become the jcarousel-container (with a class of the same
name). You may want to move the hard-coded style attribute to your css
file.
Jan
; }, 20);
in your mycarousel_itemVisibleOutCallback function. The function
should look like:
function mycarousel_itemVisibleOutCallback(carousel, item, i, state,
evt)
{
setTimeout(function() { carousel.remove(i); }, 20);
};
Jan
you should check the dimension() and margin() functions in my
jcarousel plugin. They also handle a weird behaviour of marginRight in
Safari.
Jan
Hi,
On Jun 27, 6:40 pm, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> Thanks Jan, I will take a look at it. To be honest, i was planning to dig
> into your source code this weekend. Now that you have pointed me to the
> exact functions that i need to de-code, i guess
yhager wrote:
>
> Hi,
>
> I am trying to achieve a view of 3.5 DIVs in jcarousel. The reason is that
> in terms of usability, it gives the user the understanding there is more
> info and he needs to scroll if he wants to view it.
>
> While I haven't dived deep into the code yet, when I try to
27;, function(){} But how to make this on
> page loading?
Did you checked the example:
http://sorgalla.com/projects/jcarousel/examples/special_start.html
Jan
1, but no effect. what i have to do?
>
changing scroll to 1 is correct. It should work. Do have a link where i can
see your carousel?
Jan
--
View this message in context:
http://www.nabble.com/i-want-to-display-the-pictures-one-by-one-tf4017576.html#a11412044
Sent from the jCarousel mailing list archive at Nabble.com.
ht.
> I can notice in the code it is supposed to do so, has anyone a fix for this
> ?
>
> Thank u for any help.
check the configuration option "wrap".
http://sorgalla.com/projects/jcarousel/#Configuration
Jan
Hi,
this mix is a bit difficult to handle. I've updated jquery.jcarousel.js.
Please download it from http://sorgalla.com/projects/jcarousel/ and try if
it works now for you.
Jan
yhager wrote:
>
>
>
> Jan Sorgalla wrote:
>>
>>
>> yhager wrote:
>>&
How can I tell the bassistence validator to ignore disabled inputs?
I have ui.tabs, and only the selected tab's controls are enabled.
I want validation to fire only at them.
--
Jan
ow can I fadeIn this new element? I tried hiding it first (via css
and hide()), but then it did not show up at all (only on subsequent
hovers)...
Any ideas?
--
Jan
urlForDescription = $element.attr('href') + '/descricao';
$.getJSON(urlForDescription, function(data) {
$div = $("" + data + "");
$element.after($div).fadeIn();
});
} else {
$element.next("div.info").fadeIn();
}
}
also, just pops up. :(
--
Jan
e in something it has to be hidden first. If
> the example with hide() doesn't work, just hide it straight from html.
>
> $.getJSON(urlForDescription, function(data) {
>$div = $("" + data
> + "");
>$element.after($div).fadeIn();
quot;, $clonedForm).ajaxForm({
success: registerImageForms
});
$clonedForm.show();
});
};
Success has no args, so everything is rendered empty, after posting
the form. If I pass arguments as
success: registerImageForms(id, key, type)
The browser crashes and it makes sense, because at the time this
fires, these identifiers mean nothing. But how do I pass them?
--
Jan
n Sat, Dec 13, 2008 at 3:22 AM, Mike Nichols wrote:
>
> Try this:
> success: function() { registerImageForms(id,key,type); }
>
>
> On Dec 12, 5:13 pm, "Jan Limpens" wrote:
>> Hello,
>>
>> I have the following code:
>>
>> var registerIm
> now for the x variable.
>
> The downside to closures is that handled incorrectly, they can cause memory
> leaks.
>
> But review of the many articles on the subject will help keep that from
> happening.
>
> JK
>
>
> -Original Message-
> From: jquery-e
more.
Any pointers?
--
Jan
alert("peng");
},
target: "#layout-child-output"
});
$('input', $form).change(function(){
$form.submit();
});
})
If I check one checkbox, I get one submit, for 2 2, however for 3 4,
for 4 16, and so on until the server crashes.
Any idea what is wrong here?
--
Jan
alue.
>
> On Dec 16, 11:55 am, "Jan Limpens" wrote:
>> Hi guys,
>>
>> I have this piece of innocent looking code:
>>
>>
>> $(document).ready(function(){
>> $form = $('#filter-form');
>> $form.
t the exponential behavior. My guess
is, that ajaxForm.submit() somehow touches the inputs and triggers the
change event recursively. But that is just my impression...
On Tue, Dec 16, 2008 at 3:12 PM, Jan Limpens wrote:
> No, unfortunately... but I may be able to put something up...
>
> On
target: "#layout-child-output"
});
});
})
strange, though
On Tue, Dec 16, 2008 at 3:27 PM, Jan Limpens wrote:
> Must be some bug in ajaxForm, I guess.
>
> if I change
> $('input', $form).change(function(){
>
Yes I do. It's just a bunch of check boxes to filter and order a
result. It is not updating the form, too. Nothing disastrous about
this.
Keep cool,
Jan
On Tue, Dec 16, 2008 at 5:42 PM, MorningZ wrote:
>
> This original code you posted
>
>
> $(document).ready(functi
I also tried replacing the line with:
>
> $(this).attr('onclick', "$('ul#c" + i + " li:not(:first-child)').toggle
> (" + speed + ");$('#content').hide();");
>
> and
>
> $(this).attr('onclick', "$('ul#c" + i + " li').slice(1).toggle(" +
> speed + ");$('#content').hide();");
>
> Both of those also work in FF, but again not in Safari/IE/Chrome.
>
> Any ideas?
>
> Thanks,
> Jan
>
>
>
For counting errors, use numberOfInvalids(), which comes with the
showErrors-Method. Set onfocusout: false, if you don't want the plugin
to validate on leaving the element. There are some examples in the
documentation:
http://docs.jquery.com/Plugins/Validation/validate#toptions
On Jan 7,
When I try to do this, firebug does not alert me of anything wrong,
the form is posted normally (no ajax).
What mistake am I making?
// requires jquery.forms plugin
jQuery.fn.jsonForm = function(onSuccess) {
this.ajaxForm({
dataType: 'json',
success: function(data) {
if (data.
opts.success(data);
}
});
});
};
$.fn.jsonForm.defaults = {
success: function(){}
};
})(jQuery);
On Feb 9, 5:20 pm, Jan Limpens wrote:
> When I try to do this, firebug does not alert me of anythi
or should I better look
elsewhere?
--Jan
ve any further questions about jQuery UI, I invite you to
> join the jQuery UI mailing list:
>
> http://groups.google.com/group/jquery-ui
>
> Thanks.
>
> - Richard
>
> On Tue, Feb 10, 2009 at 1:22 PM, Jan Limpens wrote:
>
> > Earlier I received an embedded
Ah, never mind, found it:
http://jquery-ui.googlecode.com/svn/branches/dev/autocomplete/ui/
On Feb 10, 4:55 pm, Jan Limpens wrote:
> Thanks a lot!
> Any idea, where autocomplete sans ui has its page or repository?
>
> Anything further, I'll move to the other list...
>
1 - 100 of 128 matches
Mail list logo