[jQuery] Re: cant get remote file / set post/get parameters with TABS plugin - help!

2007-04-01 Thread Klaus Hartl
amircx schrieb: hey. im trying somehow to get in tabs a remote url , or atleast to set a get paramter to the tab i got this following code and its writes me error access denied how can i skip it or tweak the code ?? Tabs requires links in the HTML: lia href=get.php?url=ice

[jQuery] Re: Google Maps Plugin

2007-04-03 Thread Klaus Hartl
Robert O'Rourke schrieb: I think this one does: $(window).bind('unload', GUnload); Note that you don't need an anonymous function if you already have a reference to a function. Also the unload event handler is fired on the window and attaching it to the body like the obtrusive way in the

[jQuery] Re: jQuery selectors speed improvements - A different perspective

2007-04-03 Thread Klaus Hartl
Dan G. Switzer, II schrieb: * We need a plugin, that enables to speed up the core. It can be used in web applications, which need a lot of perfomance. It doesn't matter, if some core functions are not used any more (performance is the goal). It is important, that the jquery style still remains

[jQuery] Re: Does this code look correct?

2007-04-04 Thread Klaus Hartl
Rick Faircloth schrieb: Well... if you're going to be picky... ;o) Sorry... here's the code: function toggleButton() { $Calculate = $(#Calculate)[0]; if($(principal_status).val() == true

[jQuery] Re: Moving to Google Groups (Finally)

2007-04-04 Thread Klaus Hartl
John Resig schrieb: Hey Everyone - Google has finally imported all of the users into the new jQuery Google Group. From now on, all messages should be going to the group directly instead of the old mailing list (discuss@jquery.com). Important information: - The new jQuery mailing list is

[jQuery] Re: Moving to Google Groups (Finally)

2007-04-04 Thread Klaus Hartl
Mike Alsup schrieb: Not surprisingly, gmail works just fine. :-) In any case, if someone has figured out a way around this with any email app, please let us know. Argh. There's an GMail UI extension for Thunderbird. I don't think so, but maybe it does some magic. -- Klaus

[jQuery] Re: Moving to Google Groups (Finally)

2007-04-04 Thread Klaus Hartl
Karl Swedberg schrieb: On Apr 4, 2007, at 7:02 AM, Klaus Hartl wrote: I have one question though: I'm using Thunderbird and after the transition to Google Groups a lot of threads get splitted into at least two parts. Maybe the threading gets messed up if someone posts via web interface

[jQuery] Re: low hanging newbie fruit for you to snack on

2007-04-04 Thread Klaus Hartl
stylo~ schrieb: no doubt, though you wouldn't want my code in there :-) I should submit the timestamp option for GET's as a bug, though. I think it's not that easy. jQuery also supports If-Modified in some way and maybe an automatic cache killer would interfere with that. -- Klaus

[jQuery] Re: pls pls pls.. help..

2007-04-04 Thread Klaus Hartl
Rikard.C schrieb: Hi. does anyone know how to call a function from a url like http://www.XYZ.com/page.html#FUNCTION ??? Here's what you can try (untested): try { var functionNameFromHash = location.hash.replace('#', ''); eval(functionNameFromHash + '()'); } catch(e) { // fail

[jQuery] Re: pls pls pls.. help..

2007-04-04 Thread Klaus Hartl
Klaus Hartl schrieb: Rikard.C schrieb: Hi. does anyone know how to call a function from a url like http://www.XYZ.com/page.html#FUNCTION ??? Here's what you can try (untested): try { var functionNameFromHash = location.hash.replace('#', ''); eval(functionNameFromHash

[jQuery] Re: pls pls pls.. help..

2007-04-04 Thread Klaus Hartl
Brunner Adam schrieb: Hello! Hi. does anyone know how to call a function from a url like http://www.XYZ.com/page.html#FUNCTION Here's what you can try (untested): try { var functionNameFromHash = location.hash.replace('#', ''); eval(functionNameFromHash + '()'); } catch(e) { //

[jQuery] Re: low hanging newbie fruit for you to snack on

2007-04-04 Thread Klaus Hartl
stylo~ schrieb: I think it's not that easy. I believe it is. Used it for years. Other APIs do it too, I recall. Whatever. I'm still not sure, if the ifModified option would still work as expected if you add an automatic cache killer to every GET request. -- Klaus

[jQuery] Re: tabs - initial tab load

2007-04-05 Thread Klaus Hartl
Ariel Jakobovits schrieb: I realize now that this was very specific to my project, and I got this to work. Since i am loading all the elements of my page with AJAX, I had to wait for the tabs to be fully loaded, then simply add the content for each fragment. It is a shame that there is no

[jQuery] Re: tabs - initial tab load

2007-04-05 Thread Klaus Hartl
Klaus Hartl schrieb: Ariel Jakobovits schrieb: I realize now that this was very specific to my project, and I got this to work. Since i am loading all the elements of my page with AJAX, I had to wait for the tabs to be fully loaded, then simply add the content for each fragment

[jQuery] Re: Body Browser Classes

2007-04-05 Thread Klaus Hartl
Glen Lipka schrieb: I hear everyone's points. I think the easy to remove it in 2012 argument doesn't resonate for me, since anything created today will be changed within 1-3 years (in my experience) and IE6 isn't going away that soon. The screen-reader/mobile stuff seems like they would

[jQuery] Re: problems with the starterkit

2007-04-07 Thread Klaus Hartl
Mike Alsup schrieb: $(#form).reset() should work if it is a correct form. (We attempt to trigger the default event wherever possible.) Huh? The reset event is not bound by jQuery. Are you thinking of submit? No, starting with jQuery 1.1 element events are also triggered. The following

[jQuery] Re: Unique parameter in Ajax

2007-04-07 Thread Klaus Hartl
Diego A. schrieb: Hi Klaus, See http://www.nabble.com/Unique-parameter-in-Ajax-tf3440508s15494.html#a9883915 It's just my preference. I like to use my own header in case the jQuery implementatin changes. I see. I'm pretty sure that this wan't change though. It works with Rails

[jQuery] Re: jQuery n00b

2007-04-09 Thread Klaus Hartl
Evan schrieb: Can't really comment on the AJAX, because it could be a server side error. However, to dynamically determine the href, use the following: $(document).ready(function() { $(//[EMAIL PROTECTED]//a).click( function() { var href =

[jQuery] Re: outerHTML and Firefox does not work

2007-04-10 Thread Klaus Hartl
Karl Rudd schrieb: What do you mean by required tag? Do you mean the attributes in the tag/element, like src=pic1? If you want the src attribute of the element you have selected you could do this: alert( $(#k img).get(i).attr('src') ); No, that will throw an error, because at this point:

[jQuery] Re: Determine if a table cell is visible or not?

2007-04-11 Thread Klaus Hartl
real schrieb: This should work for you: if ( $('td').is(':visible') ) { // the rest of your code } That won't work (for any element) if display: none has been declared for an ancestor element. Or in this special case the col which the td belongs to (which is not exactly an ancestor).

[jQuery] Re: Autocomplte plugin status

2007-04-11 Thread Klaus Hartl
Jörn Zaefferer schrieb: Hi folks, I've achieved some progress on the autocomplte plugin. The features added by Dan Switzer to Dylan's initial plugin are now merged with modifications for completing multiple values, like in the gmail recpient-field. I made some minor API changes, changed

[jQuery] Re: Understanding $(document).ready() etc

2007-04-12 Thread Klaus Hartl
wyo schrieb: As I understand $(document).ready() is more or less just an enclosure to make sure the DOM is correcly available for use with jQuery. As it seems this makes the use of any on... event handler obsolete since any event can be bound in the $(document).ready() enclosure. Is that right

[jQuery] Re: How to add opacity to an element

2007-04-12 Thread Klaus Hartl
Joan Piedra schrieb: Hey guys, Is there a crossbrowser jquery way to add opacity to an element? I've tried with .css('opacity','0.5') and .animate({opacity:0.5},). Is there some documentation or workaround to achieve this? Regards However I thought the above would work as well, the

[jQuery] Re: Defining of a function

2007-04-12 Thread Klaus Hartl
Mike Alsup schrieb: The difference between a function declaration and a function expression is when the actual function object gets created. The easiest way to think of it is that function declarations are always available and function expressions are not available until they have been

[jQuery] Flexible jCarousel

2007-04-12 Thread Klaus Hartl
Hi jQuerians! I was wondering if there is a mod for jCarousel out there, that allows it to be flexible? I need the width of the list and its items to be flexible (depending on the browser width). I tried only a bit yet and tinkered with the windows resize event, to adjust the width of

[jQuery] Re: Flexible jCarousel

2007-04-12 Thread Klaus Hartl
Jan Sorgalla schrieb: Hi Klaus, Hi jQuerians! I was wondering if there is a mod for jCarousel out there, that allows it to be flexible? I need the width of the list and its items to be flexible (depending on the browser width). I tried only a bit yet and tinkered with the windows resize

[jQuery] Re: Flexible jCarousel

2007-04-12 Thread Klaus Hartl
Klaus Hartl schrieb: Here's what I did - it's a hack and you could do better but it works for now and you get the picture: I added a flexibleWidth option and than added the following lines to the init method: // Mod - allow flexible width if (priv.o.flexibleWidth) jQuery(window).bind

[jQuery] Re: Anyone see anything wrong in this code?

2007-04-12 Thread Klaus Hartl
Jörn Zaefferer schrieb: Rick Faircloth schrieb: Commenting out the blur line does prevent IE from locking up. (Why doesn't this happen in FF?), but then, of course, no validation occurs. When I change blur to keyup everything seems to work fine. What's up with that? Keyup is fine, but I

[jQuery] Re: Safari and the wrap() method.

2007-04-12 Thread Klaus Hartl
Remy Sharp schrieb: Sorry - I should add the test: The JS: $(function() { $('#test').wrap('b/b'); }); Then standard HTML with a P tag with the ID of 'test' and some dummy content within it. This test is not guaranteed to work because a b element cannot contain a block level element like

[jQuery] Re: Understanding $(document).ready() etc

2007-04-13 Thread Klaus Hartl
wyo schrieb: On Apr 12, 10:41 am, Klaus Hartl [EMAIL PROTECTED] wrote: wyo schrieb: As I understand $(document).ready() is more or less just an enclosure to make sure the DOM is correcly available for use with jQuery. As it Yes, the goal should be to separate behavior (JavaScript

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread Klaus Hartl
Diego A. schrieb: in IE: .hover{ cursor:hand; } This is only required for IE 5. IE 6 supports cursor: pointer. -- Klaus

[jQuery] Re: selecting elements containing colons

2007-04-16 Thread Klaus Hartl
Dan G. Switzer, II schrieb: Sean, I know that jQuery made the decision not to allow selection of elements with colons in them, however it is valid XML. Here is an example piece of code I am getting back from an ajax call: item news:specialFree chicken!/news:special /item Any ideas how I can

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-18 Thread Klaus Hartl
joomlafreak schrieb: Hi Klaus Thanks for your prompt reply as always. That was Jake replying so promptly, while I was asleep ;-) So let's thank Jake! -- Klaus

[jQuery] Re: Question about jQuery + CSS

2007-04-18 Thread Klaus Hartl
howard chen schrieb: sorry, a:hover is just an example, what i want is to style pseudo class, such as a:visited, a:active etc There are no properties in JavaScript that represent these pseudo classes, thus it cannot be done. -- Klaus

[jQuery] Re: ThickBox question

2007-04-18 Thread Klaus Hartl
Chris Jordan schrieb: Hi folks, I've searched the archives, but didn't find what I was looking for. So if this has already been discussed and someone can point me to the old thread, that'd be awesome. Otherwise: Is it possible to trigger the opening of a thickbox without a link? In other

[jQuery] Re: Tabs plugin: Is there a way to trigger a tab with a URL to load?

2007-04-18 Thread Klaus Hartl
Phillip B Oldham schrieb: I'd like to be able to trigger a tab using the following format (or something similar): $('#container').triggerTab(3, 'http://mysite.com/updates.html'); The second parameter is a URL I'd like to load, which can change depending on user input. Is this possible?

[jQuery] Re: [PATCH] jQuery 1.1 star rating fix

2007-04-18 Thread Klaus Hartl
Jörn Zaefferer schrieb: Ian Eure schrieb: I ran into some problems with the star rating plugin for jQuery 1.1. The issue is that (at least in Firefox) links with #foo get expanded to include the current page URL. The plugin assumes the href attribute is a simple #5, so the rating isn't

[jQuery] Re: Desperately Lost in Space with the Tabs Plugin

2007-04-18 Thread Klaus Hartl
Hi there, I'm the maker of the plugin. If I am not responsive, than its because I'm pretty busy right now. That's a lot of code to scan through. How do you include the CSS and scripts you're talking of? You need to include all of that in the page that contains the tabs, not the one that

[jQuery] Re: Desperately Lost in Space with the Tabs Plugin

2007-04-18 Thread Klaus Hartl
Digislick schrieb: Hi and nice to meet you :-) I kinda figured you're busy as most of you seem to be very much so :-) Just thought I'd give the group a shot as I'm pretty desperate at the moment. Sorry for so much code but I wasn't sure which was the most important to be included. The

[jQuery] Re: Desperately Lost in Space with the Tabs Plugin

2007-04-19 Thread Klaus Hartl
Digislick schrieb: Hi again, I believe I understood where you told me to put the CSS - inline in the http://digislick.com/news/events_calendar_example.html page. Is that correct? If so, I have tried it (deleted the CSS out in all the files named by month and inserted the CSS in the events

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-20 Thread Klaus Hartl
Jörn Zaefferer schrieb: Ⓙⓐⓚⓔ schrieb: / for a path is great. every page will share the cookies, KLAUS Jörn, wouldn't it be a nice default? This is server wide cookies. If you added a domain .example.com You have all 'subhost' cookies. If you added a domain example.com http://example.com

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-20 Thread Klaus Hartl
Rick Faircloth schrieb: If JS is enabled, then I can use Ajax to send them back, if not, then the page will have to be refreshed. If you use JavaScript in the sense of Progressive Enhancement, this should be no problem at all. First build your form working in the traditional way,

[jQuery] Re: Why this code is so slow?

2007-04-22 Thread Klaus Hartl
Christof Donat schrieb: $('#dadosAuxiliares').tabs( {fxShow: {height: 'show', opacity: 'show'}, tabStruct:'.fragment'}); $('#dadosAuxiliares').triggerTab(0); can be $('#dadosAuxiliares').tabs( { fxShow: {height: 'show', opacity: 'show'}, tabStruct:'.fragment'}

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-22 Thread Klaus Hartl
Dan G. Switzer, II schrieb: meta http-equiv=refresh content=2;url=page.htm?js=false script type=text/javascript self.location = page.htm?js=true; /script In this example if JS is enabled, the JS code would be executed redirecting the user to page w/a URL parameter indicating that JS was

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-22 Thread Klaus Hartl
Klaus Hartl schrieb: Dan G. Switzer, II schrieb: meta http-equiv=refresh content=2;url=page.htm?js=false script type=text/javascript self.location = page.htm?js=true; /script In this example if JS is enabled, the JS code would be executed redirecting the user to page w/a URL parameter

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-22 Thread Klaus Hartl
Andy Matthews schrieb: Simple way to do it might be to use javascript itself to do a forward or something like that. I've seen people set up a meta refresh of 5 seconds in the header, then use javascript to do a location.href as soon as the page loads. If they have js, they get redirected

[jQuery] Re: Why this code is so slow?

2007-04-22 Thread Klaus Hartl
Web Specialist schrieb: Thanks Christof and Klaus. After change my code(using your suggestions) I have improvements: isXMLDoc 14285 16.33% 765.625ms 765.625ms 0.054ms 0ms 15.625ms jquery.js (line 298) merge 529 15% 703.125ms 765.625ms 1.447ms 0ms 46.875ms

[jQuery] Re: Why this code is so slow?

2007-04-22 Thread Klaus Hartl
Christof Donat schrieb: Hi, How can I change this to my code runs faster? I don't think, that you should change jQuery here. As much as I understand it, that function is called whenever you use a more complex expression than just an ID, a tag name or a classname. 1. Try to give your

[jQuery] Re: what's the best way to catch malformed xml in an ajax call?

2007-04-23 Thread Klaus Hartl
Ⓙⓐⓚⓔ schrieb: I use the error callback, but it doesn't get called back when the xml is malformed. Do I need to use the complete callback?? Yes, I think so. Or the success callback. The reason is, that the response has been successfully delivered, just with ill-formed XML. You may need a

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Klaus Hartl
Mike Alsup schrieb: This is awesome, Kelvin!! +1 Just in time to make it into plazes probably... :-) -- Klaus

[jQuery] Re: jQuery Tabs: activate on rollover instead of click?

2007-04-26 Thread Klaus Hartl
[EMAIL PROTECTED] schrieb: Is it possible to change Karl's tab plugin to activate the tabs and their content when rolling over a tab, instead of clicking on it? I browsed the source and didn't see anything that stuck out as a config option to change this, and I'd like to avoid changing the

[jQuery] Re: Getting href value

2007-04-26 Thread Klaus Hartl
Karl Swedberg schrieb: Hi Shelane, Looks like you just forgot the $ or jQuery before the opening parenthesis. This should work: var initlink = $('a', 'div.nav_one_selected').attr(href); --Karl This would still not work, but this: var initlink = $('a',

[jQuery] Re: Getting href value

2007-04-26 Thread Klaus Hartl
Karl Swedberg schrieb: On Apr 26, 2007, at 6:23 PM, Klaus Hartl wrote: Karl Swedberg schrieb: Hi Shelane, Looks like you just forgot the $ or jQuery before the opening parenthesis. This should work: var initlink = $('a', 'div.nav_one_selected').attr(href); --Karl This would still

[jQuery] Re: plugin sizes, part 2

2007-04-27 Thread Klaus Hartl
Ariel Jakobovits schrieb: What I meant to ask before I submit hastily was whether all the feature requests we, I included, are sending to the plugin developers are bloating the plugins? (sorry for 2 emails) Yes, they do. I'm experiencing exactly the same with Tabs and especially with

[jQuery] Re: Getting href value

2007-04-27 Thread Klaus Hartl
Karl Swedberg schrieb: Hey, if you're impressed by that, you should see my Tabs plugin! Cool! I'm using it all of the time ;-) -- Klaus

[jQuery] Re: jQuery Tabs: activate on rollover instead of click?

2007-04-27 Thread Klaus Hartl
Fabyo Guimaraes schrieb: I did not like, and of bug Pardon? What do you mean and what exactly are you refering to? -- Klaus

[jQuery] Re: jQuery Tabs: activate on rollover instead of click?

2007-04-27 Thread Klaus Hartl
Fabyo Guimaraes schrieb: It tries to select a text, dumb it of pagina this not is good it uses the effect only on of the border and not of the document all I'm sorry, I really don't know what you're talking of... -- Klaus

[jQuery] Re: Interface: bounce with fixed positioning?

2007-04-27 Thread Klaus Hartl
Jörn Zaefferer schrieb: I wanted to use Interface's bounce effect for a fixed positioned element - an element that gets moved into view from the top and than bounces a little at the end (like it was falling down). Should I commit my fix? I'd find that quite useful. I've committed the fix

[jQuery] Re: jQuery Tabs: activate on rollover instead of click?

2007-04-27 Thread Klaus Hartl
Fabyo Guimaraes schrieb: http://stilbuero.de/jquery/tabs/mouseover.html if to select the text tab 2 change active tab1 etc... Ah, now I see. As I wrote a few mails before, this is *intended*: In that demo, after mouseout and a delay of one second the 1st tab is activated again (because

[jQuery] Re: history in ajax and setting the ajax url

2007-04-28 Thread Klaus Hartl
xavier schrieb: Hello, I want to have an application that works both with and without ajax. Eg: without ajax, I get /contentWithMenu and with ajax I .load / contentonly into #content jQuery([EMAIL PROTECTED]/]).bind(click,function(){ jQuery(#main).load

[jQuery] Re: history in ajax and setting the ajax url

2007-04-29 Thread Klaus Hartl
xavier schrieb: Hi, Sorry, I'm completely lost. I tried to dig into your tabs plugin, I don't understand where you call it. I found: if (settings.bookmarkable trueClick) { // add to history only if true click occured, not a triggered click

[jQuery] Re: Getting the value of a select option by it's text

2007-05-01 Thread Klaus Hartl
David schrieb: Hi, I have an odd problem that I'm trying to solve with jQuery. I have select box with multiple options. Each of the options has a value, which is a database id, and text which is what is displayed in the select box, e.g.: select name=payment_method id=payment_method

[jQuery] Re: newbie question: how to set location to a target in a way that is supported by i.e. and safari?

2007-05-03 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi can jquery help with the followng problem? If, in conventional javascript, I have a function goToAnchor(){ href.location=#blah } and call it by body onLoad=goToAnchor() then it works fine in i.e. and firefox but causes safari to endlessly load the page - see

[jQuery] Re: Focus code snippet for: BlockUI, Lightbox, Thickbox, and other windows...

2007-05-04 Thread Klaus Hartl
Gilles (Webunity) wrote: Guys, It has been a long time since the first blockUI and window plugins (e.g. lightbox/thickbox) became available. However, i still didn't see this piece of code in any of these sollutions. All projects have thesame bug, you can TAB out of the lightbox, to the

[jQuery] Re: ThickBox 3

2007-05-04 Thread Klaus Hartl
Sam Collett wrote: Will this effect the development of thickbox reloaded (http:// stilbuero.de/jquery/thickbox_reloaded/) which is designed to be used more like a plugin (i.e. $(#myimage).thickbox())? No, absolutely not! All I can say is that I'm already using Thickbox Reloaded quite heavily

[jQuery] Re: Focus code snippet for: BlockUI, Lightbox, Thickbox, and other windows...

2007-05-04 Thread Klaus Hartl
Gilles (Webunity) wrote: Well, sorry Klaus, but i based this conclusion on this page: http://malsup.com/jquery/block/#dialog Show the dialog (in FF 2.0) and start tabbing. You'll soon see that the focus jumps to the tabs on top of the screen. I didn't actually look into the code, so sorry for

[jQuery] Re: HTML Node

2007-05-05 Thread Klaus Hartl
Rob Desbois wrote: Just to extend on what Su said - you would never need a class or even ID for the html tag because there *is* only one (or should be anyway!) So, to target it with a CSS rule you just need: html { /* ... */ } But as he says, why would you need to target html not body?

[jQuery] Re: HTML Node

2007-05-05 Thread Klaus Hartl
Glen Lipka wrote: div.foo.bar {} works perfectly in IE6, IE7, and FF. No, unfortunately not. IE 6 does not support multiple class selectors. This won't be noticed in some cases, because IE treats the aforementioned selector like div.bar {} -- Klaus

[jQuery] Re: Plugin downloads

2007-05-07 Thread Klaus Hartl
wyo wrote: On May 4, 9:44 am, Giuliano Marcangelo [EMAIL PROTECTED] wrote: Otto, seems fairly easy to me to download the js http://menu.n2cms.com/Js/n2menu.js Well it's just shown as text without any formating when I access the link. O. Wyss Well, I don't know of any browser nor

[jQuery] Re: ajax tabs: Where is remote-tab-1 coming from?

2007-05-08 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, I'm trying to create some AJAX tabs that load a PHP page subject to a parameter. However, whenever I roll over my tabs, or click on one of them, they attempt to load something called remote-tab-n where n is the sequence of where the tab occurred. However, I

[jQuery] Re: $(#test:test) not working

2007-05-08 Thread Klaus Hartl
Jake McGraw wrote: I'm pretty sure this is not a bug, how do you think user agents handle the following: HTML: a href=myanchor:hoverA bad ID string/a CSS: a#myanchor:hover {color:#000;} Will the anchor be black automatically or only when a cursor hovers over it? According to CSS2 and

[jQuery] Re: click - Basic issue

2007-05-10 Thread Klaus Hartl
Mario Moura wrote: Thanks, Works like a charm. Now I finished what I was looking for. I was working to insert a link in caption(Subtitle) of Interface SlideShow (http://interface.eyecon.ro/demos/slideshow.html http://interface.eyecon.ro/demos/slideshow.html) Here my solution:

[jQuery] Re: jQuery svn browser broken. Some documentation unaccessible

2007-05-10 Thread Klaus Hartl
John Resig wrote: The jQuery subversion repository was moved to Google Code yesterday, so you can reference it there, at least: http://jqueryjs.googlecode.com/svn/ --John I'd like to commit a few things, but it seems that the old authentication isn't working? -- Klaus

[jQuery] Re: jquery tabs: custom html structure?

2007-05-10 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, I wanted to get clarification around the Custom HTML structure of the JQuery tabs plug-in. Specifically, it is mentioned in the docs If some HTML structure is required that differs from the default one Does this mean for the tabs themselves or the container

[jQuery] Re: tabs 2.7

2007-05-12 Thread Klaus Hartl
oscar esp wrote: 1)I am using some plugins to build a page. 2)I am using jQuery.noConflict(); I have a a page that works fine using: validatorr, metada plugins. However when I use a tabs 2.7 plugin in order to load that page into a tab a error is produced Microsoft JScript runtime error:

[jQuery] Re: any way to clear cached data

2007-05-13 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, I noticed with the Jquery AJAX tabs, when the remote tab content is loaded, it is stored in a hidden DIV, and then when the tab is re- selected, the content of that DIV is loaded. Is there a way to get the tab to reload the AJAX content each time, instead of going

[jQuery] [ANN] Tabs plugin update

2007-05-14 Thread Klaus Hartl
Hi all, a few updates for the tabs plugin: * CSS update: I made the tabs width/height flexible again, still having a mininmal width... - because people didn't stop asking :-) * I've added a method activeTab to retrieve the currently selected tab, usage is: var index =

[jQuery] Re: jquery tabs: adding a tab on the fly

2007-05-14 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, Regarding JQuery Tabs (http://stilbuero.de/2006/05/13/accessible- unobtrusive-javascript-tabs-with-jquery/), is there an elegant way to add a new tab after the page has loaded and the tabs have already been constructed? That is, I have already made this call

[jQuery] Re: jquery tabs: adding a tab on the fly

2007-05-15 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Thanks for this info. One thing I notice when doing this is that when I reinitialize the tabs, a whole new group of div id=remote-tab-# containers gets created. So for example, if there were 5 tabs initially, and then I try and add a 6th, after reinitialization, there

[jQuery] Re: Tabs

2007-05-15 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hello. I am new to this group. I would like to implement tab plugin into my site. I have read the articles on http://stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/ but i am still have problems figuring out howto make this run. Here is my

[jQuery] Re: help! imagebox disaster - website crashes safari

2007-05-15 Thread Klaus Hartl
Robert O'Rourke wrote: Help! I'm really desperate here, the site I just set live is causing safari to crash when you click through to a property page.. not good. The only unique thing about the page is that I am including imagebox and interface in the head. Are there known issues with

[jQuery] Re: thickbox reloaded?

2007-05-15 Thread Klaus Hartl
Alexandre Plennevaux wrote: hello, I know thickbox 3 is out. What of the parallel branch thickbox reladed ? Is it still on? thank you, Alexandre Yes, it is still on the plate. It has a few things that TB 3 doesn't have, thus I still see a reason to finish it. Unfortunately I'm

[jQuery] Re: thickbox reloaded?

2007-05-15 Thread Klaus Hartl
BAlexandre Plennevaux wrote: Hello Klaus, great: although i used TB2 quite a lot (that's what got me into jquery in the first place), as i grew more used to the jquery way of coding, i prefer the reloaded code. $(element).thickbox(); I'm now trying to hack your implementation so that it

[jQuery] Re: jquery tabs: changing color of unselected tabs

2007-05-15 Thread Klaus Hartl
Giuliano Marcangelo wrote: Dave, if you goa little more specific, and target the .tabs-nav a span, and apply a color to that..and at same time target .tabs-nav .tabs-selected a span for some contrast...you will get your desired effect There's no need to go more specific (besides that it's

[jQuery] Re: jquery tabs: changing color of unselected tabs

2007-05-15 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, This should be simple, I know, but I'm having problems. Using the default stylesheet that accompanies the Jquery Tabs example, how do I change the color of unselected links? I tried adding a color: directive to the .tabs-nav a class, but to no avail. The links

[jQuery] Re: jcarousel safari

2007-05-15 Thread Klaus Hartl
Karl Rudd wrote: I haven't looked at the page but I'll wager it's one of Safari's lazy update type problems. Sometimes you change the styling of an object and it doesn't update till it gets an actual change in the DOM. You can try putting the following somewhere after the carousel is built:

[jQuery] Re: (OT) Node.prototype

2007-05-15 Thread Klaus Hartl
Sean Catchpole wrote: Mozilla (Firefox) can extend Node, but IE cannot. Here's a snippet of what I am trying to do: Node.prototype.ac = function(e) { this.appendChild(e); } The problem is that Node is not defined in IE. Does anyone have any bright ideas on how we can trick IE into working

[jQuery] Re: jquery tabs: changing color of unselected tabs

2007-05-15 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: I downloaded a fresh copy of the CSS and applied what you said and indeed it worked great. However, there is one thing that is still lingering on IE. The DIV with class tab-container is not being moved to the next line. In other words, it is staying on the same line.

[jQuery] Re: jquery tabs and IE 6

2007-05-16 Thread Klaus Hartl
jafar1978 wrote: Hi, I have been using JQuery and it is great. I have a problem which is related to viewing more than anything else. When I click on the tab the text of the div appears on the right of the last tab rather under the tabs. When I use FireFox the text is displayed correctly. I

[jQuery] Re: jquery tabs and IE 6

2007-05-16 Thread Klaus Hartl
jafar1978 wrote: Hi Klaus, First of all, what you have created is the best I have ever seen. It is just so fantastic. This is what I did: I included the the jquery.tabs-ie.css file in the dir. then I uncommented the following: Recommended usage (Conditional Comments): !--[if lte IE 7] link

[jQuery] Re: How to use easing plugin equation in innerfade plugin

2007-05-17 Thread Klaus Hartl
joomlafreak wrote: got it! I'd like to know how! -- Klaus

[jQuery] Re: using jquery to see if an ID occurs twice

2007-05-18 Thread Klaus Hartl
Michael Price wrote: [EMAIL PROTECTED] wrote: Hi, How can I use JQuery to discover if a particular ID occurs twice in my page? I can't use View Source' because the DOM is changing as the user interacts with the page. Try: if ($(#your_id_here).length 1) { // CODE TO EXECUTE } This

[jQuery] Re: jQuery PNG Fix

2007-05-19 Thread Klaus Hartl
Devin Torres wrote: Ah, yes, that seems like a really elegant solution. My problem was the massive amount of transparent PNGs my site was already using. Going back and applying a class to each image would be less counter-productive. I can see his implementation breaking in more ways than just

[jQuery] Re: NEWS: More jQuery News on Ajaxian

2007-05-21 Thread Klaus Hartl
Rey Bango wrote: http://ajaxian.com/archives/jquery-roundup-rails-wordpress-and-new-plugins how cool is that! finally I got my jquery widget! hooray! thanks Rey for these news! --Klaus

[jQuery] Re: click vs click

2007-05-22 Thread Klaus Hartl
Alex Objelean wrote: This solution is good for Firefox, but does not work in IE.. :( Other tips? This solution works perfectly fine for the Tabs plugin in all major browsers. So maybe something is wrong with your code... -- Klaus

[jQuery] Re: jquery tabs: creating tabs without triggering onShow action

2007-05-22 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, I noticed when I create my JQuery tabs, the onShow callback function is automatically invoked. $('#container').tabs(tab_id, { remote: true, fxFade: true, fxSpeed: 'fast',

[jQuery] Re: Slow selector

2007-05-22 Thread Klaus Hartl
Daemach wrote: You should definitely consider using a classname to select items like this. $('input.quantity') would be significantly faster. I don't know why using a class name would be significantly faster. Since there is no doucment.getElementsByClassName (yet), it doesn't make much

[jQuery] Re: Slow selector

2007-05-23 Thread Klaus Hartl
Gordon wrote: I don't know why either, but when I did switch to class names the result was a big speed increase. I guess attribute selecting is a lot trickier to do than class matching. Ah, this is what I overlooked. Class selecting can just use the className property, whereas attribute

[jQuery] Re: jQuery and Tabs plug-in

2007-05-23 Thread Klaus Hartl
Rob Desbois wrote: Bradley, It looks like the tab divs must be in the same container as the navigation ul, plus you're not actually ever setting up the tabs. Try replacing your function with this: $(document).ready(function() { $('#menu').tabs(); }); And move the contents of

[jQuery] Re: Slow selector

2007-05-23 Thread Klaus Hartl
RobG wrote: If myElem is the ID of the form, that will containt all the child nodes, you will then iterate over all of them. To get just the controls with the same name: var controls = $('myElem').elements; This is completely Prototype syntax. In jQuery it looks like: var controls =

  1   2   3   4   5   6   7   8   9   >