Re: [jQuery] Unexpected append behavior

2009-12-10 Thread Lukas Pitschl | Dressy Vagabonds
value=North CarolinaNC/option You have to change your js code to this $(#job_state).append(option value=\ +stateName + \ +stateAbbr + /option); Best regards, Lukas Am 10.12.2009 um 13:55 schrieb Charlie: Creating a set of dropdowns for US states as follows: $.getJSON(../js/stateListJSON.txt

[jQuery] toggleClass not working correctly in IE7

2009-11-24 Thread lukas
I am using toggleClass and I am surprised that the according div jumps in IE7 down a container height. When I hover over with my mouse it eventually jumps back into the correct position. Padding, margins are all set. It's a floating div, width is specified. Can anybody give me a hint? Thank you!!

[jQuery] Re: toggleClass not working correctly in IE7

2009-11-24 Thread lukas
I fixed it by removing toggleClass and mark it up differently.

[jQuery] Re: jQuery Functions

2009-11-10 Thread Lukas
Hi MorningZ, thanks for your help it is greatly appreciated. Yes i did get a bit confused with empty (i blame php :P). I've only been playing with jquery or anything besides plain old document.form.elementname JS for a week so i'm all over the palce. I now have it all working just fine. final

[jQuery] Nesting question

2009-10-24 Thread lukas
Based on the ID of a clicked element I would like to show another ID: var currentId = $(this).attr(’id’); or var currentId = this.id;(?) $(another-id-(how can I include here currentId?).show(); Thanks for your help!

[jQuery] Re: Nesting question

2009-10-24 Thread lukas
Thank you Brian!!! On Oct 24, 5:08 pm, brian zijn.digi...@gmail.com wrote: var currentId = $(this).attr(’id’); $('#another-id-'+currentId).show(); (don't forget the # before the ID) On Sat, Oct 24, 2009 at 4:50 PM, lukas animod...@gmail.com wrote: Based on the ID of a clicked element I

[jQuery] Browser refresh

2009-10-21 Thread lukas
How can I catch with Jquery a user refreshing the page with his browser? Thank you!

[jQuery] Re: Browser refresh

2009-10-21 Thread lukas
Thanks for your quick response! It helped!! On Oct 21, 3:20 pm, KeeganWatkins keeganwatk...@gmail.com wrote: hi lukas, you can't specifically listen for refreshes, but you can listen for unload events. an unload event is dispatched when: - a link is clicked to navigate away from the page

[jQuery] Re: Browser refresh

2009-10-21 Thread lukas
, though. Haven't had the chance to test it. On Oct 21, 9:20 am, KeeganWatkins keeganwatk...@gmail.com wrote: hi lukas, you can't specifically listen for refreshes, but you can listen for unload events. an unload event is dispatched when: - a link is clicked to navigate away from

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
. Becoder. On Fri, Oct 16, 2009 at 11:57 AM, lukas animod...@gmail.com wrote: Can anybody direct me to a lightweight jquery script controlling tabs? I just want the activated tab to appear differently than the rest of the tabs. Thank you!

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
Jing has given you to handle even 100 tabs, since it uses classes, not IDs. - Richard On Fri, Oct 16, 2009 at 10:53 AM, lukas animod...@gmail.com wrote: Thank you for your quick response! In the meantime I tried something similar, I thought there is a solution which doesn't require that much

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
Jing has given you to handle even 100 tabs, since it uses classes, not IDs. - Richard On Fri, Oct 16, 2009 at 10:53 AM, lukas animod...@gmail.com wrote: Thank you for your quick response! In the meantime I tried something similar, I thought there is a solution which doesn't require that much

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
Jing has given you to handle even 100 tabs, since it uses classes, not IDs. - Richard On Fri, Oct 16, 2009 at 10:53 AM, lukas animod...@gmail.com wrote: Thank you for your quick response! In the meantime I tried something similar, I thought there is a solution which doesn't require that much

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
into using a tabs plugin, if you don't want to implement this all yourself. For example:http://jqueryui.com/demos/tabs/ http://jqueryui.com/demos/tabs/- Richard On Fri, Oct 16, 2009 at 12:58 PM, lukas animod...@gmail.com wrote: Thank you! But how do you memorize the state of the tabs? When you

[jQuery] Script for tabs?

2009-10-15 Thread lukas
Can anybody direct me to a lightweight jquery script controlling tabs? I just want the activated tab to appear differently than the rest of the tabs. Thank you!

[jQuery] lightweight multi-select dropdown menu available?

2009-10-06 Thread lukas
I would like to replace a generic search box with a multi select dropdown menu from which a user can select several items. I found http://dropdown-check-list.googlecode.com/svn/trunk/demo.html . Unfortunately, but with almost 30kb it is too large for my application. Could maybe anybody direct me

[jQuery] How to replace a normal search box with a dropdown menu search box

2009-10-06 Thread lukas
Could anybody help me to replace a normal search input type=text box search button with a select dropdown menu providing only a limited selection of search items? Can anybody help me with the necessary jQuery code? Thank you!

[jQuery] Re: Clickable div?

2009-09-04 Thread lukas
Thank you! It somehow does not work. Here is what I got: $(#logo:a).click(function(){ $.cookie('startCookie', 'default').load('http://www.mylink.com'); }); And here is the html: div id=logoa href=template language defines the link here/ a/div Does anybody have

[jQuery] Clickable div?

2009-09-04 Thread lukas
I have a div that only contains an image. How would I create a jquery-click function that basically would represent a normal a tag for his div? Thank you!

[jQuery] Re: Clickable div?

2009-09-04 Thread lukas
Thank you everybody! I made it work by applying display:block and width/height to the a tag within the div. The confusion was created by IE treating the image-containing div differently than the rest of the crop. It tried everything that the next div would not jump below the logo div in IE. The

[jQuery] Re: Plug-in for elegant Horizontal Menu?

2009-08-27 Thread lukas
Thank you, Richard! I hope I manage to include several columns in a submenu. It is not that great to have all 52 States in one column for example.

[jQuery] Plug-in for elegant Horizontal Menu?

2009-08-26 Thread lukas
I stumbled over a very elegant way to select from a large item list on http://siemens-home.com/ (Choose your country). Could anybody direct me to a jquery plug-in? It would be great to replace my drop- down menus with a more appealing menu. Thank you!

[jQuery] Selector question

2009-07-29 Thread lukas
How can I pick an id element (here #bridge1,#bridge2) and toggle its child (here a p element) without actually using the id element as parent? 'this p' apparently does not work. $('#bridge1,#bridge2').click(function(){ $('this p').toggle(); return false; }); Thanks for your

[jQuery] Re: Selector question

2009-07-29 Thread lukas
Thank you for your immediate response, Hector and Brett! I love the jquery group!

[jQuery] Re: Using Queue

2009-07-25 Thread Lukas Lt
Why not to simply place them into head of the page They will be loaded in the same order as you put them into head Or use http://plugins.jquery.com/project/jquery-plugins to dynamically load them On 24 Lie, 18:52, shaf shaolinfin...@gmail.com wrote: Hi Guys I have 4 scripts I want to load

[jQuery] Re: How to deterine number of words in a string?

2009-07-25 Thread Lukas Lt
Well you can replace '!, into spaces and then count Also I'd do a loop and remove empty elements (if multiple paces was in text) before counting. On 24 Lie, 13:25, Raju raju3...@gmail.com wrote: Hi i want a jquery plugin to view word files, can somebody help me out in this regards Warm

[jQuery] Re: find() not working in Firefox

2009-07-25 Thread Lukas Lt
cant you use span id=originaloriganal html/span' 'span class=newhtml to be replaced /span' $('#original').html ($('.new').html ()); $('#new').delete(); if you don need it anymore. On 24 Lie, 15:56, Sourabh sourabhmkulka...@gmail.com wrote: Thanks for your help Ok I have  a scenario like

[jQuery] Re: Which editor is best for inplace HTML

2009-07-25 Thread Lukas Lt
Try CKeditor http://ckeditor.com/ It is the newest (yet RC) version of famous FCK editor. As far as I have used it, no problems at all :) Check put new skin they created :) On 24 Lie, 22:35, Steve Hueners st...@juststeve.com wrote: I'm hoping someone can help me narrow down the field according

[jQuery] Drop-down menu / PHP mark-up

2009-03-18 Thread lukas
Hello! I have a list of messages which I want to sort with the help of a jquery drop-down menu. It is a template file with an underlying PHP/MySQL application. All what I would like to do is to change a variable value and refresh (or not refresh?) the same page when someone uses the drop-down

[jQuery] radio buttons and php

2009-02-25 Thread lukas
I don't get this to work. Somehow the PHP code is ignored within the radio input forms. Can I change PHP variables within the code and work with them in the according #div? Does anybody have a hint? Thank you! jQuery: $(#input-l:input:radio,#input-c:input:radio).click(function(){

[jQuery] Re: Jquery tablesorter problem

2009-01-12 Thread Lukas Pitschl | Dressy Vagabonds
if html corresponds to your javascript on that. best regards, lukas pitschl Am 12.01.2009 um 20:21 schrieb Varun Khatri: alert($(#+serverIdPrefix+table1).length)); This returns 1 I dint get it Plz help Thanks Varun On Mon, Jan 12, 2009 at 4:26 AM, MorningZ morni...@gmail.com wrote

[jQuery] Merry Xmass

2008-12-24 Thread Lukas Polak
Hi everybody, I don't want you interrupt, but I don't know if you already notice that today is 24th December so at least today you shoold stop working and relax :) Merry Christmas to all of you :) elf from Slovakia

[jQuery] nested tabs

2008-12-12 Thread lukas
Does anybody know about a lightweight nested tab solution? I don't need any easing gimmicks. I also stumbled over ajaxtabs (http:// www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ajaxtabs_suppliment2.htm) Thank you!

[jQuery] plug-in questions

2008-11-25 Thread lukas
I am a bit confused with all the possibilities! I am looking for cross- browser plug-ins for tabbing vertical accodion flexible pop-ups (thickbox, lightbox, facebox,...) which you also can use for forms or a gallery. pull-down menu that can display sub-folders and offers the option of

[jQuery] Re: plug-in questions

2008-11-25 Thread lukas
thank you, yes i had a look at it. but i don't have the time to test out all the available options and hence posted my question in order to get some hands-on experiences.

[jQuery] Re: How to memorize a class change?

2008-11-22 Thread lukas
on it (for me) either.  Doesn't appear to be in a cookie. On Nov 22, 6:58 am, Rik Lomas [EMAIL PROTECTED] wrote: You could use the $.data() function to store any data when adding/removing classes: http://docs.jquery.com/Internals/jQuery.data Rik 2008/11/22 lukas [EMAIL PROTECTED

[jQuery] Clickable DIV possible?

2008-11-21 Thread lukas
Is it possible to click or select a DIV with jquery? $(DIV ID or Class?).click(function() { .

[jQuery] Re: Clickable DIV possible?

2008-11-21 Thread lukas
Thanks for your kind help. I had the wrong path to jquery!

[jQuery] How to memorize a class change?

2008-11-21 Thread lukas
I am removingadding a class to a DIV. What is the best way to memorize this change for the application before it is resetting itself while going through the loop again? Thank you!

[jQuery] Re: A better way

2008-11-20 Thread Lukas Pitschl | Dressy Vagabonds
, depending on the current status. cheers lukas Am 21.11.2008 um 00:56 schrieb Brendan: I am new to jQuery (coming from Mootools) and the way things are done here are a bit different, but I am willing to put a lot of effort into learning it. That said, I have some working code here (I wrap

[jQuery] error in ajax call in IE?!?

2008-11-03 Thread Lukas Polak
Hi, I use jQuery to every ajax call in my webpage. It seems to me that ajax call doesn't work in IE at all. Am I wrong or is this known error? Is this possible to fix it? If you need, I can send sample of my source code. elf

[jQuery] Re: simple test if all checked BEGINNER

2008-09-18 Thread Lukas Pitschl | Dressy Vagabonds
']:checked).size() if(checked == total) $(#all).show(500); return false; }); I'm not too sure about the expression @type='checkbox', but i guess you get my point. Hope this works for you Lukas Am 18.09.2008 um 09:44 schrieb tlob: Hello I sucessfully implemented

[jQuery] error in jQuery?!

2008-09-14 Thread Lukas Polak
Hi guys, I have a question. I'm using jquery on my pages and js files are linked like this: script src=http://code.jquery.com/jquery-latest.js;/script script src=http://dev.jquery.com/view/tags/ui/latest/ui/ui.datepicker.js;/script Everything works fine, but ff 3.0.1. is showing some(2)

[jQuery] Re: error in jQuery?!

2008-09-14 Thread Lukas Polak
/ napísal(a): You have to include mootools at first and jquery at least: http://docs.jquery.com/Using_jQuery_with_Other_Libraries On 14 Sep., 20:41, Lukas Polak [EMAIL PROTECTED] wrote: Hi guys, I have a question. I'm using jquery on my pages and js files are linked like this: script

[jQuery] first day in week - datepicker

2008-09-08 Thread Lukas Polak
Hello, i need help. I 'm trying what fatepicker can do and I want change the day, when week starts in calendar. I want monday to be first day in week, but I really don't know hwo to do that. Do you have any ideas? elf

[jQuery] Using jQuery for a DIV which is created on the fly.

2008-09-06 Thread lukas
How can I simply use jQuery commands to i.e. toggle a DIV which is created on the fly? For some strange reason livequery doesn't work --- jQuery(.abc).livequery is not a function... Thanks for any help!

[jQuery] Re: Everyone knows how to manipulate a SELECT with jQuery??

2008-09-06 Thread Lukas Polak
you don't need to use jQuery. I've just been solving problem about how can I get value of SELECT by jQuery and I've realized that there is another, easier path. Just use simple JS: function getID() { return document.getElementById('test').selectedIndex; // this command find out index of

[jQuery] Re: How to apply jQuery to an item which doesn't exist when the page is loaded.

2008-09-05 Thread lukas
that are not available when the dom is first loaded. On Fri, Sep 5, 2008 at 10:49 AM, lukas [EMAIL PROTECTED] wrote: My PHP code creates a button which doesn't exist when my page is loaded.  Hence, the according jQuery command doesn't work. How can I fix this? Thank you!

[jQuery] addClass or toggleClass?

2008-07-16 Thread lukas
The CASE: I have 3 links which specify 3 different views (or various sized DIVs). If the user clicks a specific view the according link should become invisible. As a result only 2 links supposed to be active and visible at any time since the 3rd view is currently active. What is the most elegant

[jQuery] Toggle Class command

2008-07-15 Thread lukas
Hello! Does anybody see a mistake here? I want to let a DIV disappear while another DIV needs to change its class. Thanks for your input! jQuery(document).ready(function() { jQuery(.toggle-left).click(function() { jQuery(#left).toggle('slow'); jQuery(#forum).toggleClass(#forum-wide); }); });

[jQuery] ToggleClass problem

2008-07-15 Thread lukas
I want a DIV to disappear while another DIV supposed to toggle its class. The first task gets accomplished but not the 2nd one. What is wrong with my approach? Thank you! jQuery(document).ready(function() { jQuery(.toggle-left).click(function() { jQuery(#left).toggle('slow');

[jQuery] Vertical Accordion Navigation Bar!

2008-07-10 Thread lukas
Has anybody done something like the vertical navigation bar to be seen on http://www.sitepoint.com/article/css-animation-technique ? You elegantly widen the middle column by pushing back the left side column. Great effect. Any suggestions? Thanks!

[jQuery] Best RSS/XML/News feeder for jTabs?

2008-05-20 Thread lukas
Does anybody have experiences with setting up a news feeder for jTabs/ Tab browsing? (like Yahoo is doing it?) I am confused with all the info on the web. Thank you!

[jQuery] Weather forecast recommendation?

2008-05-20 Thread lukas
Hi! I am looking for a nice looking 2 or other multiple-day weather forecast. Does anybody have good recommendations (also for commercial use)? Thanks for your help!

[jQuery] Re: Problem with function

2008-05-17 Thread lukas
Thanks, but it still doesn't work... On May 16, 6:06 pm, Wizzud [EMAIL PROTECTED] wrote: You need to enclose the jQuery code inside Document Ready ...http://docs.jquery.com/Tutorials:How_jQuery_Works#Launching_Code_on_D... On May 16, 5:17 pm, lukas [EMAIL PROTECTED] wrote: Hello! I