[jQuery] Re: tabs: replacing the content without switching the selected tab

2008-02-15 Thread Klaus Hartl
Try: $('#replaceContent').click(function() { $('#tabcontent div.ui-tabs-panel:visible').html('hello'); }); --Klaus On Feb 15, 11:24 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Let's say I have these tabs and code that makes them so ... script type=text/javascript        

[jQuery] Form plugin in jQuery 1.2.3

2008-02-14 Thread Klaus Hartl
Is it just me or does the form plugin currently not work in jQuery 1.2.3? No way... --Klaus

[jQuery] Re: tabs: possible to save a form when switching tabs?

2008-02-14 Thread Klaus Hartl
Try the select event. If the handler for that event returns false you won't be allowed to switch tabs. Something like: var $tabs = $('#foo').tabs().bind('select.ui-tabs', function(e, ui) { return validateForm( $('#tabcontent div.ui-tabs-container:visible form')[0] ); }); I assumed youhave to

[jQuery] Re: Form plugin in jQuery 1.2.3

2008-02-14 Thread Klaus Hartl
Scratch that, it was just me! Sorry Mike, I was afraid I couldn't use this excellent piece of work... --Klaus

[jQuery] Re: tabs: possible to save a form when switching tabs?

2008-02-14 Thread Klaus Hartl
On Feb 14, 9:25 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, Klaus.  I only want to run this form validation if a user is leaving the tab with a.title = Properties.  How do I screen for that prior to executing the function? - Dave var $tabs = $('#foo').tabs().bind('select.ui-tabs',

[jQuery] Re: tabs: possible to save a form when switching tabs?

2008-02-14 Thread Klaus Hartl
On Feb 15, 4:06 am, FrenchiINLA [EMAIL PROTECTED] wrote: if you use the click event of tab it pass 3 parameters Tab clicked, Tab toShow, TabtoHide so you can write something like var $tabs = $('#foo).tabs({click: function(clicked, toShow, toHide) { var title = toHide.title; . });

[jQuery] Re: tabs: possible to save a form when switching tabs?

2008-02-14 Thread Klaus Hartl
On Feb 15, 3:28 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, but let me throw in an additional wrinkle.  Let's say there are three tabs, with titles Properties, General, and Misc and you are on tab General and then click on tab Misc.   The below functionality would get called, even

[jQuery] Re: tabs: possible to save a form when switching tabs?

2008-02-14 Thread Klaus Hartl
On Feb 15, 5:08 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, but that didn't work.  I have script type=text/javascript         $(function() {                 $('#tabcontent ul').tabs({click: function(clicked, toShow, toHide) {                                 alert(toHide.title);

[jQuery] Re: tabs: Can't get tabs to work, but I'm including the right files!

2008-02-13 Thread Klaus Hartl
Dave, that's weird, there's a syntax error in the packed script in the second example, but the files are the same. I checked the response headers and they're different: DateWed, 13 Feb 2008 21:23:34 GMT Server Apache Connection Keep-Alive, Keep-Alive Keep-Alive timeout=15, max=98

[jQuery] Re: Feed history/remote

2008-02-12 Thread Klaus Hartl
Hi Frizzle, I'm sorry to say that stuff like that is not supported... --Klaus On Feb 12, 8:20 pm, frizzle [EMAIL PROTECTED] wrote: Hi there, I was wondering if it's possible to directly feed History/Remote: say the hash is     #/this_dir/another_dir/ Then i'd like to load    

[jQuery] Re: controlling li-items with unique IDs and trigger corresponding DIVs

2008-02-12 Thread Klaus Hartl
On Feb 12, 2:37 pm, schnuck [EMAIL PROTECTED] wrote: hi guys, hope someone can give me a hint for this. if i had an unordered list as shown below, where the li-items had unique IDs - is there any way that we check which li-items has been clicked so depending on that, we could show/animate a

[jQuery] Re: .html(val) not working properly in IE6 - suggestions?

2008-02-12 Thread Klaus Hartl
On Feb 13, 2:03 am, Michael Geary [EMAIL PROTECTED] wrote: It's not really a question of IE6 liking that code or not. It's invalid HTML, so all bets are off. The real thing to mark for future reference should be: http://validator.w3.org/ When things are acting strange, run your code

[jQuery] Re: ui tabs, more different tab styles

2008-02-10 Thread Klaus Hartl
I suggest id'ing the sets and adapt style sheets for that. div id=foo ... /div div id=bar ... /div And in your style sheet something like: .ui-tabs-nav { /* shared styles */ } #foo .ui-tabs-nav { /* foo specific */ } #bar ui.tabs-nav { /* bar specific */ } --Klaus On

[jQuery] Re: getElementById('myTable').rows[1].cells[2] in jQuery?

2008-02-08 Thread Klaus Hartl
Because tds will be stored in order of appearance in the DOM - maybe we can speed up that query by matching the td as a sum of cells in a row and its position: $('#myTable td:eq(1)'); // 2nd cell, 1st row $('#myTable td:eq(6)'); // 2nd cell, 2nd row $('#myTable td:eq(11)'); // 2nd cell, 3rd row

[jQuery] Re: Translating XPath expressions to CSS selectors

2008-02-08 Thread Klaus Hartl
On Feb 7, 12:56 pm, [EMAIL PROTECTED] wrote: The CSS 3 :root selector is not supported unfortunately, but the root node of a document is represented by document.documentElement. So you could try: $(' KNOWN_NODE', document.documentElement) or $(document.documentElement.tagName + '

[jQuery] Re: Fire history/remote from actual DIV

2008-02-06 Thread Klaus Hartl
On Feb 5, 9:55 pm, frizzle [EMAIL PROTECTED] wrote: Hi all, I'm using Klaus' History/Remote plugin for Jquery. I have the JS included, and the script looks like this:   script type=text/javascript     $(function() {       $('a.remote').remote('#files', function() {         if

[jQuery] Re: Fire history/remote from actual DIV

2008-02-06 Thread Klaus Hartl
On Feb 6, 1:59 pm, frizzle [EMAIL PROTECTED] wrote: Hi Klaus, Thanks for your reply, the links are re-indexed, too bad the back/forward of the browser is broken now... Could this be, because the links with the appropriate title that's requested in the URL isn't actually on the page

[jQuery] Re: Translating XPath expressions to CSS selectors

2008-02-06 Thread Klaus Hartl
On Feb 6, 1:38 pm, [EMAIL PROTECTED] wrote: Hi, I'm trying to migrate from jQuery 1.1.3 to 1.2.2, and I'm having trouble converting my XPath expressions.  In CSS, asterisks are deep, i.e. they match all elements that are descendants of the context node.  In XPath, they are not, i.e. they

[jQuery] Re: thickbox reloaded and IE6 not good

2008-02-06 Thread Klaus Hartl
Yes it has. I'm using it on plazes.com and haven't faced any problems yet... What issues exactly? Mayb the CSS isn't up-to-date in the repository. --Klaus On Feb 6, 5:17 pm, Eridius [EMAIL PROTECTED] wrote: I just tested the index.hmtl from the jquery svn repository for thickbox realoaded in

[jQuery] Re: - Problem with nested tabs

2008-02-05 Thread Klaus Hartl
It is almost always useful if you post *relevant* code for these kind of problems. Otherwise we can only guess or have to spend some time on writing a reply asking you for such code ;-) (By relevant I mean not to simply dump 400 lines of HTML + JavaScript source code in here...) There's nothing

[jQuery] Re: Author of UI-Tabs Plug-in?

2008-02-04 Thread Klaus Hartl
On Feb 4, 5:35 pm, Lion29 [EMAIL PROTECTED] wrote: That doesn't make sense to me. Each tab represents a section in the document (which is identified with a fragment identifier). Imagine you had in-pagetabs. It wouldn't make any sense if all thesetabswould point to a single fragment, e.g.

[jQuery] Re: Author of UI-Tabs Plug-in?

2008-02-04 Thread Klaus Hartl
On Feb 4, 5:35 pm, Lion29 [EMAIL PROTECTED] wrote: @Klaus: On Feb 3, 7:42 pm, Klaus Hartl [EMAIL PROTECTED] wrote: On Feb 2, 2:58 pm, Lion29 [EMAIL PROTECTED] wrote: 1. Right now thetabsfunction that upon every ajax load the new content is ADDED to the DOM (even if the new loaded

[jQuery] Re: Author of UI-Tabs Plug-in?

2008-02-03 Thread Klaus Hartl
On Feb 2, 2:58 pm, Lion29 [EMAIL PROTECTED] wrote: 1. Right now the tabs function that upon every ajax load the new content is ADDED to the DOM (even if the new loaded content is in conflict with already loaded - same ids for example) It would be nice to have the option to set tabs to laod

[jQuery] Err The Blog on jQuery

2008-02-01 Thread Klaus Hartl
Err The Blog has tried jQuery and seems to like it pretty much :-) http://errtheblog.com/posts/73-the-jskinny-on-jquery Gotta love that one (on using the form plugin): respond_to and jQuery are so in love it's making me sick. --Klaus

[jQuery] Low-Pro for jQuery

2008-02-01 Thread Klaus Hartl
Just came across this post today: http://www.danwebb.net/2008/1/31/low-pro-for-jquery Haven't used Low-Pro so far, but this one seems to be interesting for Rails developers that want to migrate from Prototype to jQuery... --Klaus

[jQuery] Re: Err The Blog on jQuery

2008-02-01 Thread Klaus Hartl
On Feb 1, 2:11 pm, Alex Brem [EMAIL PROTECTED] wrote: Hi Klaus, this is good news, as he's the hell of a r-r-r-Ruby (and Rails) guy. Yeah, that's why I thought it's worth sharing... --Klaus

[jQuery] Re: thickbox reloaded question

2008-02-01 Thread Klaus Hartl
Yes, it is also possible with Thickbox Reloaded and pretty easy and straight forward: var $thickbox = $('a.thickbox').thickbox(); $thickbox.trigger('click'); --Klaus On Feb 1, 9:45 pm, Eridius [EMAIL PROTECTED] wrote: I am wanting to trigger a thickbox after I validate a form.  Basically I

[jQuery] Re: How to prevent user from clicking links or buttons while submitting

2008-01-31 Thread Klaus Hartl
First of all you should keep in mind that a user can always submit a form by hitting enter. Thus disabling the buttons only is more or less useless. You should just alter the forms submit event, this is where it all happens. That even works if you manually submit forms via links. Here's what I'd

[jQuery] Upgrading from jQuery 1.2.1 to 1.2.2 - What happened to nodeType attribute selector, e.g. not('[nodeType=1]') in IE?

2008-01-30 Thread Klaus Hartl
All, in jQuery 1.2.1 I was using the following snippet, which I actually more or less took from the documents example page: $('p').contents().not('[nodeType=1]').replaceWith(' '); I used this to empty out some text nodes I couldn't control otherwise but leave other HTML elements alone. That

[jQuery] Re: there is a conflict ui.resizable.js and ajaxpro

2008-01-30 Thread Klaus Hartl
On Jan 30, 9:10 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: resizable will not be able  when using ajaxpro,the javascript error: c[0] has no properties code: for(var i in this.options.modifyThese) { var c = this.options.modifyThese[i]; c[0].css({ width: modifier.width ?

[jQuery] Re: ui.tabs ajaxOptions success callback

2008-01-28 Thread Klaus Hartl
On Jan 28, 6:20 am, Terrence Wood [EMAIL PROTECTED] wrote: To answer my own question I attached the function to the show callback: $('.pane ul').tabs({show:function(){alert('hello world')}}); On 28/01/2008, Terrence Wood [EMAIL PROTECTED] wrote: Anyone know how I can add a callback to

[jQuery] Re: How to add item directly to $ ?

2008-01-28 Thread Klaus Hartl
On Jan 28, 6:57 pm, Kynn Jones [EMAIL PROTECTED] wrote: Hi. I'm just getting started with jQuery and I'm still trying to figure out how to do some common tasks.  Here's one of them. Suppose I have something like:   var opts = $( 'option', select ); ...where select is some select DOM

[jQuery] Re: keep div element visible in viewport

2008-01-27 Thread Klaus Hartl
On Jan 27, 9:19 pm, robing [EMAIL PROTECTED] wrote: Hi All, Is it possible to keep an element visible in the viewport even when the page has been scrolled, so as you scroll the page the header (for example) either gets bumped down or becomes visible when the scrolling stops? I know this

[jQuery] Re: Tabs stopped working in IE

2008-01-26 Thread Klaus Hartl
On Jan 25, 8:12 pm, carvingcode [EMAIL PROTECTED] wrote: Thanks, Klaus!  I know exactly when I added that.  Surprised Aptana didn't notice it... On another note, any suggestions on where I could best start to get the tabs located better within IE?  I'm currently using the unmodified

[jQuery] Re: Tabs stopped working in IE

2008-01-25 Thread Klaus Hartl
On Jan 25, 1:22 pm, carvingcode [EMAIL PROTECTED] wrote: My tabs (using UI.TABS) stopped working in IE6 yesterday.  There was some formatting problems, but the tabs worked until yesterday. I'm using the stock flora CSS package with additional CSS loaded from main.css.  I've trued to find the

[jQuery] Re: Shadowbox Media Viewer

2008-01-25 Thread Klaus Hartl
On Jan 25, 10:45 am, mjijackson [EMAIL PROTECTED] wrote: Hello all, I'm putting the finishing touches on a media viewer application that I coded up recently (think Thickbox). It can be used with jQuery or any other library. I created an adapter for jQuery, and I thought that somebody on

[jQuery] Re: Calendar inside a Tab3

2008-01-23 Thread Klaus Hartl
On Jan 22, 8:55 pm, Diego [EMAIL PROTECTED] wrote: argh, its works.. but i have a new problem my old function, with tabhref when i click in other tab. $(function() { var $tabs = $('#container ul').tabs(3, {     click: function() {         $tabs.tabsHref(3,

[jQuery] Re: ui_tabs and form plugin: conflict in IE 6.

2008-01-23 Thread Klaus Hartl
On Jan 22, 11:31 pm, Romiz [EMAIL PROTECTED] wrote: Hello All!!!  I has meet one strange thing in IE6  when use together 2 plugins, such as a href=http://stilbuero.de/jquery/tabs_3/;ui_tabs/a and a href=http://www.malsup.com/jquery/form/;form plugin/a - forms not sent when it loaded in ui

[jQuery] Re: Tabs and Hide/Show Divs

2008-01-22 Thread Klaus Hartl
On Jan 22, 2:37 am, MikeP [EMAIL PROTECTED] wrote: I see the click method with the tab. It takes 3 arguments: clicked tab, tab container to show, tab container to hide I do want to hide and show a tab's contents. This it's doing automatically. However, I also have ANOTHER panel/div that I

[jQuery] Re: Calendar inside a Tab3

2008-01-22 Thread Klaus Hartl
On Jan 22, 4:29 pm, Diego [EMAIL PROTECTED] wrote: Hi I'm working with tabs3. In one tab im loading a jsp with a form inside. i'm trying to use datepicker inside the tab but i cant do it. I can make the calendar works in any input text the index but no in the tab that i have. Here is my

[jQuery] Re: Calendar inside a Tab3

2008-01-22 Thread Klaus Hartl
On Jan 22, 5:13 pm, Diego [EMAIL PROTECTED] wrote: Yes div id=container             ul                 lia href=/jsp/GoInsert.dospanGoInsert/span/a/ li [...] the tabs load an action and forward to jsp page In this case you need to initialize the calendar in the load callback, e.g.

[jQuery] Re: Author of UI-Tabs Plug-in?

2008-01-21 Thread Klaus Hartl
On 21 Jan., 00:36, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, Klaus...and thanks for the response. What I want to do is create a tabs setup that will operate as follows and the UI/Tabs settings that will cause this functionality: - Initially, the tab details don't show at all - When a

[jQuery] Re: Tabs and Hide/Show Divs

2008-01-21 Thread Klaus Hartl
On Jan 21, 1:22 am, MikeP [EMAIL PROTECTED] wrote: Hello. I'm using tabs to display lists of data.http://stilbuero.de/jquery/tabs_3/http://dev.jquery.com/view/trunk/ui/current/ui.tabs.js  When you click on an item in the list, I display a div. $('#problempanel').show(); If you click on

[jQuery] Re: Author of UI-Tabs Plug-in?

2008-01-20 Thread Klaus Hartl
On Jan 20, 6:28 am, Rick Faircloth [EMAIL PROTECTED] wrote: Thanks... Hey, Klaus (or anyone who might know), is there a event setting for tabs in the UI/Tabs plug-in for mouseout? I see that I can use mouseover to change a content div, and I see that I can use a click to toggle a content

[jQuery] Re: Author of UI-Tabs Plug-in?

2008-01-20 Thread Klaus Hartl
On Jan 20, 4:44 am, rolfsf [EMAIL PROTECTED] wrote: I believe it's Klaus... Yep, that's me :-)

[jQuery] Minifying and packing failed because of Windows line endings

2008-01-19 Thread Klaus Hartl
Hi, just in case someone else is running into this problem. Whenever I wanted to pack or minify a script of mine I got this error on the console (using ant): js: uncaught JavaScript runtime exception: TypeError: Cannot read property 0.0 from null With the help of Chris Thatcher I found that

[jQuery] Re: Loading dynamic content into tab (ui.tabs)

2008-01-17 Thread Klaus Hartl
On Jan 17, 4:44 pm, carvingcode [EMAIL PROTECTED] wrote: I'm having trouble getting dynamic content to load into a tab.  At present, I'm using the the the Ajax tabs example from the ui.tabs documentation.  The file I am trying to load works fine when I call it independently, but when I try

[jQuery] Re: Example of show callback for UI.Tabs?

2008-01-17 Thread Klaus Hartl
On Jan 17, 8:56 pm, MorningZ [EMAIL PROTECTED] wrote:  I see the option in the ui.tabs.js file: By the way - in case you didn't know - you don't have to scan the source code for available options. There's also a documentation: http://docs.jquery.com/UI/Tabs In case you like to look at the

[jQuery] Re: Changing url

2008-01-16 Thread Klaus Hartl
On Jan 16, 4:11 pm, Diego [EMAIL PROTECTED] wrote: How you change the url of a tab 'on the fly' ? for example, clicking the second tab change the url of the first tab? thanks There is a tabsHref method: var $tabs = $('#example').tabs(); // change href of first tab $tabs.tabsHref(1,

[jQuery] Re: Changing url

2008-01-16 Thread Klaus Hartl
On Jan 16, 8:04 pm, Diego [EMAIL PROTECTED] wrote: nvm It works $(function() { $('#container ul').tabs(3); $('#container ul').tabs({ cache: false }); $('#container ul').tabs({     click: function() {         $('#container').tabs().tabsHref(3,'/jsp/BuscarTareas.do');     }         });

[jQuery] Re: progressive enhancement link href hurdle

2008-01-15 Thread Klaus Hartl
Speaking of Progressive Enhancement, there's a concept called Hijax. That means nothing else than simply ajaxifying links without altering the href attribute at all and instead using the given one. An example of that technique can be found here: http://stilbuero.de/jquery/history In your case

[jQuery] Re: Help with Tabs 3 and struts

2008-01-15 Thread Klaus Hartl
On Jan 15, 7:39 pm, Diego [EMAIL PROTECTED] wrote: Hi I'm programming a j2ee application, using struts. Yesterday I start learning jquery (really fast, helping me a lot!). now I'm trying to use Tabs3 , but i need that the context of the tab call an action first (using struts), and then

[jQuery] Re: ANDing selectors

2008-01-10 Thread Klaus Hartl
On Jan 10, 8:14 am, mnbeer [EMAIL PROTECTED] wrote: What is the best way to select all elements with classX and not classY? Try: $('.classX:not(.classY)') --Klaus

[jQuery] Re: jquery ui tabs (tabs 3) in conjunction with the new coda slider (1.1.1) troubles.

2008-01-09 Thread Klaus Hartl
On 9 Jan., 01:50, Josh Nathanson [EMAIL PROTECTED] wrote: Without looking at the code, my guess would be ye olde must rebind event handlers when loading content via ajax issue. -- Josh Yes, that may be the case for Ajax tabs. I didn't look at the code either, but in addition here's what I

[jQuery] Re: jquery ui tabs (tabs 3) in conjunction with the new coda slider (1.1.1) troubles.

2008-01-09 Thread Klaus Hartl
On 9 Jan., 11:48, Klaus Hartl [EMAIL PROTECTED] wrote: On 9 Jan., 01:50, Josh Nathanson [EMAIL PROTECTED] wrote: Some ideas: Initialize the slider before tabs. Or initialize the slider via the tabs show callback. Or do not use display: none for hiding tabs and the offleft technique instead

[jQuery] Re: Stopping click event action in safari 1.3 ( click(function(){return false;}); )

2008-01-09 Thread Klaus Hartl
On 9 Jan., 18:13, Dan Eastwell [EMAIL PROTECTED] wrote: No one? I would have thought it was fairly common... It is common. As far as I remember Safari 1.3 and even 2.0 does not support preventDefault nor return false to stop an event's default action, if you attach events dynamically via the

[jQuery] Re: Stopping click event action in safari 1.3 ( click(function(){return false;}); )

2008-01-09 Thread Klaus Hartl
On 9 Jan., 19:14, Dan Eastwell [EMAIL PROTECTED] wrote: Thanks Klaus, I'll have to rewrite my functions for that. I'm sure it's no great headache. Before rewriting, have you tried the following? // attach event handler the usual way var $a = $('a'); $a.click(function() { ... }); // be nice

[jQuery] Re: Need

2008-01-07 Thread Klaus Hartl
On 7 Jan., 22:40, Glen Lipka [EMAIL PROTECTED] wrote: You might better off using CSS instead of the background= for a couple of reasons. td width=90 align=center background=images/rboxbg.jpg becomes td class=col4 red menu td.col4 {width: 90px} td.red {background: #ff

[jQuery] Re: jQuery Tabs - Can I Do This?

2008-01-05 Thread Klaus Hartl
On 5 Jan., 23:35, Matt Quackenbush [EMAIL PROTECTED] wrote: I'm using the Tabs plugin, and have a question. ul     lia href=#tab-1spanMy First Tab/span/a/li     lia href=#tab-2spanMy Second Tab/span/a/li     lia href=http://www.someothersite.com/;spanMy Third Tab/span/a/li /ul div

[jQuery] Re: jQuery UI Tabs / Tabs 3 + Fading = can't CSS validate?

2008-01-03 Thread Klaus Hartl
On 3 Jan., 05:24, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I just installed the jQuery UI Tabs / Tabs 3 and I am using the fading version. My CSS won't validate now. Any suggestions on fixing this? Thanks. -chris IE uses a proprietary property (instead of CSS 3 - in fact they invented

[jQuery] Re: Shared variables, events, and namespaces...

2007-12-17 Thread Klaus Hartl
On 17 Dez., 08:31, Micky Hulse [EMAIL PROTECTED] wrote: Hi again, So, yes! The code works! Many thanks for the tips. :) In your last example, I am just wondering about the $ (dollar sign) before the foo variable. When should I use that on variables? I assume that I would do this if I am

[jQuery] Re: Jaiku's jQuery plugs (http://jaiku.com/js/core.js)

2007-12-13 Thread Klaus Hartl
On 13 Dez., 07:29, John Resig [EMAIL PROTECTED] wrote: Good find - some real interesting code in there. --John Extra cool, I'm using Jaiku (= carhartl to whoever may be interested) and like it pretty much. Even better it uses jQuery... --Klaus

[jQuery] Re: Shared variables, events, and namespaces...

2007-12-13 Thread Klaus Hartl
On 14 Dez., 04:47, Erik Beeson [EMAIL PROTECTED] wrote: Then ele will just be available for the scope of your closure. Also, if you really are doing something like your example, you might as well cache the jQuery object instead of the selector to save having to look it up twice. A good

[jQuery] Re: Shared variables, events, and namespaces...

2007-12-13 Thread Klaus Hartl
On 14 Dez., 08:55, Klaus Hartl [EMAIL PROTECTED] wrote: On 14 Dez., 04:47, Erik Beeson [EMAIL PROTECTED] wrote: Try: (function() { var $ele; $(document).ready(function() { $ele = $('#foo'); $ele. // ... Do something with 'ele'... }); $(window).load(function

[jQuery] Re: UI Tabs / Tabs 3

2007-12-12 Thread Klaus Hartl
On 12 Dez., 11:26, Richard W [EMAIL PROTECTED] wrote: I was wondering if there is any way of making the tabs still retain their original link after you have click on a tab. IE when you click on a tab, it goes selected but the link still remains and the cursor still remains as a link area, so

[jQuery] Re: ui.datepicker causes IE operation aborted

2007-12-11 Thread Klaus Hartl
On 8 Dez., 23:26, Charles Johnson [EMAIL PROTECTED] wrote: I believe this bug was supposed to have been fixed in the move from jQuery Calendar to ui.datepicker, but I'm still seeing sporadic Operation Aborted errors in Internet Explorer, both 6 and 7, when the datepicker is initialized.

[jQuery] Re: fxFade + tabsRotate

2007-12-07 Thread Klaus Hartl
On 6 Dez., 14:48, RamoNMol [EMAIL PROTECTED] wrote: Okay guys, kinda new to this whole discussiongroup thing, so if i'm completely posting something in the wrong section or anything, then please forgive fot my ignorance.. I have a small problem with the tabsRotate function from jQuery, it

[jQuery] Re: Problem in delete cookie with jQuery Cookie plugin

2007-12-04 Thread Klaus Hartl
On 4 Dez., 14:01, Leandro Vieira Pinho [EMAIL PROTECTED] wrote: Yes Klaus, The code is ok, but the cookie isn´t deleting, and I don´t know why? I don't know either. Works for me. Maybe something is wrong with the cookie name. Or some JavaScript error on the page. I can only guess... --Klaus

[jQuery] Re: How to global a variable?

2007-12-03 Thread Klaus Hartl
On 2 Dez., 20:56, Ryura [EMAIL PROTECTED] wrote: Thanks for the reply, Mike. I've tried that but I'm still thrown the error z is not defined $(function(){ z=$(#getID).text();}); document.write(z); An additional thought: I think it isn't 100% obvious that you actually want to create a

[jQuery] Re: History Remote Post

2007-12-02 Thread Klaus Hartl
On 1 Dez., 15:35, ogurec [EMAIL PROTECTED] wrote: Hi, if i have ajax search form and submit different search query 3 times can i go back and see results for every search separately? You would have to have 3 different links that work the way I described above... --Klaus

[jQuery] Re: Tabs 3 Update tab content

2007-11-29 Thread Klaus Hartl
On 29 Nov., 10:39, Richard W [EMAIL PROTECTED] wrote: Awesome, that is exactly what i'm looking for. Thank you Klaus, and thank you for an excellent plugin! I'm confused. So I can disregard your former post? In any case, here's how I would do it (untested): var $tabs = $(...).tabs({ load:

[jQuery] Re: Question regarding JQuery tabs UI

2007-11-29 Thread Klaus Hartl
On 29 Nov., 05:54, cjiang [EMAIL PROTECTED] wrote: Hi, I am working on an application in which I use JQuery Tabs plugin. The basic layout of the page is that there is a tree structure on the left side of the page. When the user clicks on any node of the tree, it fires an Ajax call and the

[jQuery] Re: Slightly OT: Datejs - jQuery-like date chaining

2007-11-28 Thread Klaus Hartl
On 28 Nov., 02:17, Guy Fraser [EMAIL PROTECTED] wrote: Just spotted this via Ajaxian: http://www.datejs.com/ It's got jQuery-like syntax for working with dates: Reminds me pretty much of Rails: 3.days.ago ... To have that in JS is pretty neat. --Klaus

[jQuery] Re: Eval error with Firefox 3

2007-11-28 Thread Klaus Hartl
On 28 Nov., 01:22, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm sure by the time Firefox 3 is released to the general public this issue will be resolved. Having said this: Firefox 3 is more stable that Firefox 2.0.0.10 on my computer. Yeah! Firefox 2 keeps freezing on my Mac whereas Firefox

[jQuery] Re: Tabs 3 Update tab content

2007-11-28 Thread Klaus Hartl
On 28 Nov., 20:06, Richard W [EMAIL PROTECTED] wrote: Hi There I'm realling ejoying using tabs, especially the ajax content. I would like to know if there is painless way of updating the current tabs content via ajax without using the tabs. For example you view the content of a tab, click on

[jQuery] Re: html() and text() creates block elements - need inline to output messages

2007-11-27 Thread Klaus Hartl
On 26 Nov., 23:30, asle [EMAIL PROTECTED] wrote: Hello, I have a small menu bar div with several buttons. Only the height of the buttons. I.ex. one button creates a new list item under the bar. A span element (.msg) shows the message where I output New item created after every click and

[jQuery] Re: Making jQuery turn up on time (document.ready and firing too early)

2007-11-26 Thread Klaus Hartl
On 26 Nov., 01:53, Brett [EMAIL PROTECTED] wrote: So I guess what we should do is, try and get a list of possible ways to run jquery ( I know of $(function(){ in a js block of code, document.ready , and a very buggy window.onLoad() - Even if it will be fixed in upcoming versions hopefully,

[jQuery] Re: JQuery Tabs not loading on first click

2007-11-23 Thread Klaus Hartl
On 23 Nov., 12:39, sukhminder [EMAIL PROTECTED] wrote: Tabs are not loading on the first click. I have a link which is like: li class=newsa href=javascript:loadTabs('news')Headlines/a/ li when user clicks on this it calls the following function: script function loadTabs(filename) {

[jQuery] Re: History Remote Post

2007-11-21 Thread Klaus Hartl
On Nov 21, 2:06 am, Talv [EMAIL PROTECTED] wrote: Hi all, Im vey new to Jquery started today infact moving over from mootools and so far whilst things are differnet im developing at a very fast rate, the main reason i moved was because i couldnt get history managers to work correctly so in

[jQuery] Re: Tab plugin always first tab after reload

2007-11-20 Thread Klaus Hartl
On Nov 20, 1:13 pm, gizze [EMAIL PROTECTED] wrote: Hi, I installed the Tab Plugin in my page and I got a question: Once I'm in the second tab and my page get reloaded, I always return to the first tab. Is it possible to stay in the second tab after a page reload? Can someone give me an

[jQuery] Re: Tab that links to another page

2007-11-19 Thread Klaus Hartl
On Nov 19, 4:17 pm, Owen Leonard [EMAIL PROTECTED] wrote: I must be doing something wrong: http://zivotdesign.com/examples/jquery/tab-href.html -- Owen I was incorrectly assuming you were using UI Tabs/Tabs 3. With Tabs 2 it should work like this: $('#bibliodescriptions').tabs({

[jQuery] Re: IE7 Tabs are invisible

2007-11-19 Thread Klaus Hartl
On Nov 18, 9:30 pm, Moonwalker [EMAIL PROTECTED] wrote: Hello, I already did a search query on the site looking for other people having the same problem, but couldn't find any. My problem is the fact that I use FireFox as default browser, so I don't see any problems until I decide do check

[jQuery] Re: WAI-ARIA support in jQuery?

2007-11-19 Thread Klaus Hartl
On Nov 19, 9:21 pm, Pete [EMAIL PROTECTED] wrote: Hi! Is anyone working on implementing the appropriate WAI-ARIA roles, states and properties [1] where relevant in jQuery? [1]:http://www.w3.org/TR/aria-roadmap/ Not yet, but I'm planning to do so for UI Tabs. --Klaus

[jQuery] Re: IE7 Tabs are invisible

2007-11-19 Thread Klaus Hartl
On Nov 19, 6:23 pm, Moonwalker [EMAIL PROTECTED] wrote: Ok I found the solution. It appears like I'm not using the last CSS theme. I downloaded the one here:http://dev.jquery.com/view/trunk/themes/dark/dark.tabs.css And it worked fine. Just one final question. Is it possible to use the

[jQuery] Re: IE7 Tabs are invisible

2007-11-19 Thread Klaus Hartl
On Nov 19, 9:37 pm, Moonwalker [EMAIL PROTECTED] wrote: Is there any place where I can download all the last packages? I don't mean just the JS files, but also the themes, CSS and UI. You can download the full package from here: http://ui.jquery.com/ Click Download jQuery UI. --Klaus

[jQuery] Re: Tab that links to another page

2007-11-18 Thread Klaus Hartl
On Nov 17, 4:37 pm, owen [EMAIL PROTECTED] wrote: Is it possible to create a tab that links directly to another page? I can't load the contents of the other page because of limitations in the app, but I want to keep the link consistent with the other tabs. How canI do that? -- Owen Try

[jQuery] Re: jRails plugin: jQuery on Rails

2007-11-16 Thread Klaus Hartl
On Nov 15, 4:36 pm, Aaron [EMAIL PROTECTED] wrote: Hey all, I've just built a plugin a that allows you to use jQuery as a replacement for Prototype/script.aculo.us in Rails. It also includes some of the visual effects that were missing since 1.2 came out and broke compatibility with

[jQuery] Re: History Plugin initial state

2007-11-15 Thread Klaus Hartl
On Nov 14, 9:13 pm, dandanthesushiman [EMAIL PROTECTED] wrote: Thanks for the quick reply, but my lack of knowledge means I stil don't get it I am trying $(function() { $('a.remote').remote('#chapter', function() { if (window.console window.console.info)

[jQuery] Re: UI Tabs - Close a tab with a separate button

2007-11-15 Thread Klaus Hartl
On Nov 15, 4:03 pm, ccieszyn [EMAIL PROTECTED] wrote: Hi, I'm using the following javascript to to run a fade/slide/close- able UI box with UI tabs: pre script type=text/javascript $(function() { $('#navcontainer ul').tabs({

[jQuery] Re: Browser Exit Event

2007-11-15 Thread Klaus Hartl
On Nov 15, 9:35 pm, Bil Corry [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote on 11/15/2007 8:12 AM: I'd just like to know what the jQuery best practice for catching the browser exit event is? Probably just bind your code to the onunload event. From the jQuery docs:

[jQuery] Re: History Plugin initial state

2007-11-14 Thread Klaus Hartl
On Nov 14, 12:15 pm, dandanthesushiman [EMAIL PROTECTED] wrote: Hi I hope someone can help, I am just getting stated with jQuery so I may be asking a question that is obvious to most of you but I'm stuck. I have implemented the History/Remote plugin in on my site. I found the files

[jQuery] Re: Livequery and History / Remote togehter. Help.

2007-11-05 Thread Klaus Hartl
On Nov 5, 5:53 pm, Carl Anderson [EMAIL PROTECTED] wrote: I too would like to get an idea of the use of History/Remote and Live Query. I don't know if I can divorce Live Query from my existing solution, so I very much need to have an idea of how to use these two plugins together

[jQuery] Re: Tabs plugin: Clicking on tabs makes page to scroll

2007-11-05 Thread Klaus Hartl
On Nov 5, 5:10 pm, pigeonpoop [EMAIL PROTECTED] wrote: It happens when i load the page and scroll down before i click any of the tabs. The 3rd tab of the group is the one that always bounces the page(way more than the others) to the scroll height it chooses. Strange right? Each of the divs

[jQuery] Re: Changing a:hover style

2007-11-04 Thread Klaus Hartl
On Nov 4, 3:57 pm, Ufucuk [EMAIL PROTECTED] wrote: Hi; It is easy to select links just like $('a') however I want to change a:hover style dynamically. I try $('a:hover').css(color,#000) or whatevet, but it doesnt work. I think it recognize : signnn as a different selector. Can anybody tell

[jQuery] Re: Sticky Footer

2007-11-01 Thread Klaus Hartl
On Oct 31, 10:26 pm, Jake McGraw [EMAIL PROTECTED] wrote: Ah, that isn't a true sticky footer, he's talking about a footer that sticks to the bottom AND does not overlay the page content. Then declare a padding for the body plus fixed positioning. IE 6 needs some extra treatment:

[jQuery] Re: Request for comments on code snippet.

2007-11-01 Thread Klaus Hartl
On Nov 1, 2:21 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: i've just started using jQuery, and I'm having lots of fun. I have the following code snippet. What it does is looks for all instances of a tdtrue/td and tdfalse/td and replaces the content with an image of a tick and cross.

[jQuery] Re: Test if object is jQuery object

2007-10-31 Thread Klaus Hartl
On 30 Okt., 17:55, Josh Nathanson [EMAIL PROTECTED] wrote: Is there a cool way to check if an object is a jQuery object as opposed to any other object? I tried the constructor property but it just says Object(), the same as any other object. Tried typeof, but same deal, just object.

[jQuery] Re: I just hate the way this mailing list handles grouping messages...

2007-10-31 Thread Klaus Hartl
On 30 Okt., 21:00, Karl Swedberg [EMAIL PROTECTED] wrote: For what it's worth, I have the same problem using Apple's mail.app. If anyone has a solution for that one, I'd love to hear it. --Karl And I experience something similiar with Thunderbird. Some threads are kept together, but others

[jQuery] Re: rounded corners in tabs

2007-10-30 Thread Klaus Hartl
On 30 Okt., 05:05, SterlingK [EMAIL PROTECTED] wrote: Dave, you nailed it. I'm pretty new to jquery stuff, so I really appreciate that nudge in the right direction. What I did is a callback on 'show' in my tabs function. Two relatively small problems have now arisen from that. First, in

[jQuery] Re: rounded corners in tabs

2007-10-30 Thread Klaus Hartl
On 30 Okt., 18:32, SterlingK [EMAIL PROTECTED] wrote: $(document).ready(function() { $('.round_box').corner(); $('#tab_menu ul').tabs({ cache: false, remote: true, show: function() { $('.round_box2').corner(); } }); }); There is no longer a remote option by the way. That

<    1   2   3   4   5   6   7   8   9   >