On 13 Aug., 07:30, Applecore i...@applecorestudios.com wrote:
The jquery.tabs.js file uses the jQuery.load function to load content
from a file. The problem is that this function will remove all scripts
from the file because it can't handle them.
The only function that will allow this is the
Please see:
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F
On 30 Jul., 20:01, vvaz vfp...@gmail.com wrote:
Hello all.
I have a problem with the jCarousel Plugin when i try to display a
second carousel inside one
That shouldn't happen and a similiar bug was fixed for IE long time
ago. Which browser do you encounter this bug in and which version of
jQuery UI do you use?
--Klaus
On 22 Jul., 19:22, WR willrya...@googlemail.com wrote:
It seems that if you change the url of a tab from a remote source
Could you try this?
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F
--Klaus
On 19 Jul., 15:25, blackmeta...@googlemail.com
blackmeta...@googlemail.com wrote:
Hi
I seem to have found the following bug.
(I am
$(#tabs).tabs();
should be just fine, the type of tab is detected automatically. Unless
you're using a very, very old version of Tabs.
--Klaus
On 17 Jul., 00:49, havanna thomas.blas...@diacs.de wrote:
Hi together,
I tried it in the group Jquery UI - but nobody answer there?!
I'm really
$('#tabs').tabs({
spinner: 'Loading...',
ajaxOptions: {
dataType:'text'
}
});
http://docs.jquery.com/UI/Tabs#options
--Klaus
On 21 Jun., 22:18, Hardip hardi.per...@gmail.com wrote:
a small correction.
the method is working.
what wasn't working is the dataType.
if i
On 18 Jun., 19:32, Rodrigo rodrigo.s.alfo...@gmail.com wrote:
I'm trying the simplest task ever, like an alert thrown on the $
(document).ready, but no luck :-(
Also, I slightly remember that alerts are one of the things that do
not work in the standalone IEs...
--Klaus
Did you try
$.cookie('the_cookie', 'the_value', { expires: 7 }); // expires after
7 days
?
The expires option will also accept a Date object.
--Klaus
On 8 Jun., 20:27, Richard Walsh deviantstu...@me.com wrote:
Hey guys, I'm working on a project where I am using the jquery plugin
that
Which version are you using? I've fixed a similiar bug (if not the
same) bug a while ago...
--Klaus
On 28 Mai, 19:30, nextpulse rob...@nextpulse.com wrote:
I have 3 tabs that each loads using ajax (via href).
The problem i am having is that while a tab is loading - the user can
click on
Why don't you use an input type=image?
--Klaus
On 21 Mai, 06:40, Nic Hubbard nnhubb...@gmail.com wrote:
I have a form that I built, and I replaced the submit button with an
image. When you click the image, it calls the .submit() jQuery
function and submits the form.
Because I am not
Not really. You have to meet only one condition - the list to tabify
has to be nested in a container. You can then put your panels
whereever you want. Of course you can't ask for Themeroller support in
that case.
--Klaus
On 9 Mai, 17:31, kim...@gmail.com kim...@gmail.com wrote:
Hi everyone,
is not widely supported:
http://www.w3schools.com/TAGS/att_option_label.asp
On May 7, 3:47 pm, Klaus Hartl klaus.ha...@googlemail.com wrote:
Don't speculate, look
up:http://www.w3.org/TR/html401/interact/forms.html#h-17.6
It's valid.
This attribute allows authors to specify a shorter label
Don't speculate, look up:
http://www.w3.org/TR/html401/interact/forms.html#h-17.6
It's valid.
This attribute allows authors to specify a shorter label for an
option than the content of the OPTION element. When specified, user
agents should use the value of this attribute rather than the
$() === $(document)
--Klaus
On 3 Mai, 07:39, kiusau kiu...@mac.com wrote:
QUESTION: What does the first pair of parentheses indicate in the
following statement:
$().getBrowserInformation();
BACKGROUND: I have noticed that their presence or absence can make or
break
Try:
$(.targetMe, $(testHTML)).html();
or:
$(testHTML).find('.targetMe').html();
You might get into trouble with that and the html and body tags, not
sure. In that case you had to create your own document fragment...
--Klaus
On 21 Apr., 03:28, default_user ayapej...@gmail.com wrote:
I'm
On 16 Apr., 20:38, robintrain...@yahoo.com robintrain...@yahoo.com
wrote:
Hello everyone. Is there a way to have tabs created in jQuery that are
collapsed when the page loads? I use this:
$(document).ready(function(){
$(#tabs).tabs({ collapsible: true
});
});
to allow the user to click
On 14 Apr., 19:15, dhtml dhtmlkitc...@gmail.com wrote:
problem is that that Dreamweaver method is using document.write which
can cause a problem depending on where the function is being called
and which is usually avoided in jQuery land.
Calling document.write in a jQuery ready callback
On 14 Apr., 15:41, MorningZ morni...@gmail.com wrote:
So what is the error
The error is obviously that toDate is not a jQuery method. Another
problem is that that Dreamweaver method is using document.write which
can cause a problem depending on where the function is being called
and which is
Use:
$(.to_be_replaced, ui.panel).load(this.href);
--Klaus
On 11 Apr., 12:00, Claudio Poli masterk...@gmail.com wrote:
hi everyone,
I've this situation: an X number of tabs; in tabs content there's a
div classed .to_be_replaced and links for paginating.
when I click on a link it should
In the past I distinguished between true and triggered events via the
e.clientX property (a triggered event has no such property). Not sure
if it's the same with focus events (especially since you're calling
elem.focus and there is no elem.click) and if there is a better way...
--Klaus
On 6
There's no need for all this ranting. You're simply not meeting the
markup requirements to make the tabs work.
A tab has to look like:
lia href=#fragment-identifierspanA Tab/span/a/li
I m pretty sure the documentation is showing this fact and I don't
understand why you took straight code out
On 3 Apr., 20:01, expresso dschin...@gmail.com wrote:
In fact you know what the problem is? The damn documentation doesn't tell
you that you MUST use the stylesheets given. All I assumed was is that I
had to have the matching IDs and correct jQuery which I DID.
What if we do not want to
On 3 Apr., 20:12, expresso dschin...@gmail.com wrote:
now I have to figure out how to get rid of these imposed styles.
As already mentioned above, the only thing you will need for tabs to
work is the following rule:
.ui-tabs-hide {
display: none !important;
}
So the only thing that's
You can just use the CSS used by jQuery UI by adding the necessary
classes to the HTML right away. Here's an example of the static HTML:
http://jquery-ui.googlecode.com/svn/trunk/tests/static/tabs/tabs.html
You can easily create themes with Themeroller:
http://jqueryui.com/themeroller/
--Klaus
On 31 Mrz., 08:38, Steven Yang kenshin...@gmail.com wrote:
do you have a special reason to find an element by id in a specific node?isn't
id suppose to be unique in the whole document?
Could think of: It may have different behavior depending on wether
it's in the main content or the sidebar.
!
I just need to ignore the XML mime type, and everything would be
sorted!!!
On Mar 31, 6:30 am, Klaus Hartl klaus.ha...@googlemail.com wrote:
I am wondering why the server would not serve html in the first place.
--Klaus
On 30 Mrz., 15:37, the_woodsman elwood.ca...@gmail.com wrote
I am wondering why the server would not serve html in the first place.
--Klaus
On 30 Mrz., 15:37, the_woodsman elwood.ca...@gmail.com wrote:
Hi,
My ajax requests return xml, with the corresponding mime type.
I'm using $.get, as so:
$.get(
async:false may freeze the browser and is in general not a good idea
unless you know that your network, server etc will 100% work.
Why don't you simply put the last line into the callback as well?
--Klaus
On 24 Mrz., 22:40, James james.gp@gmail.com wrote:
Add the {async:false} option to
Read inArray as positionInArray rather than isInArray here...
--Klaus
On 23 Mrz., 21:25, MorningZ morni...@gmail.com wrote:
Yeah, like what he is suggesting is to return a boolean value so
now if someone wants the position of the item, it would be a whole
separate function to do
http://docs.jquery.com/UI/Tabs#...open_a_tab_in_a_new_window_instead
--Klaus
On 22 Mrz., 18:16, David omertacod...@gmail.com wrote:
Hi all,
Is it possible to if you click a tab i get to a new page ? i've tried
the option to load a page into the tab content but that's not what i'm
looking
Well, then you will have to adapt that script and use window.open...
--Klaus
On 22 Mrz., 21:07, David omertacod...@gmail.com wrote:
This opens the external page IN the tabs page ... does not help me
On 22 mrt, 20:52, Klaus Hartl klaus.ha...@googlemail.com wrote:
http://docs.jquery.com/UI
On 20 Mrz., 16:43, Martijn Houtman martijn.hout...@gmail.com wrote:
On Mar 20, 2009, at 4:35 PM, Adam Drew wrote:
name = outline
value = 0 none !important
Those values breaks it every time it comes around..
I'm going to see what is setting these values..
The problem might be that you're selecting too much with your first
selector, a common error.
http://docs.jquery.com/UI/API/1.5.3/Tabs#...the_call_to_tabs_tabify_all_li_elements_-_even_those_in_a_panel_-_although_I_did_not_want_to_create_nested_tabs.3F
--Klaus
On 20 Mrz., 20:03,
Even if it would work I recommend to avoid Umlaute. They're invalid in
ids.
http://www.w3.org/TR/REC-html40/types.html#type-name
--Klaus
On 20 Mrz., 16:52, Karl Swedberg k...@englishrules.com wrote:
Which version of jQuery are using? Are you seeing any JavaScript
errors? I just tested
http://www.w3.org/TR/CSS21/selector.html#class-html
--Klaus
On 19 Mrz., 00:04, Karl Rudd karl.r...@gmail.com wrote:
Yes, it's standard CSS selector behaviour, so it's also standard
jQuery behaviour.
Karl Rudd
On Thu, Mar 19, 2009 at 6:32 AM, bill123 bi...@ssec.wisc.edu wrote:
I need
History is broken in Safari 3, one of the reasons it was taken out of
UI Tabs.
--Klaus
On 11 Mrz., 21:46, ZAP michael...@gmail.com wrote:
Hello -
I'm using Klaus' Tabs plugin (Version: 2.7.4) with jQuery 1.2.6, but
the triggerTab() function just isn't working for me in Safari 3. No
On 10 Mrz., 16:00, Karl Swedberg k...@englishrules.com wrote:
label for =myid
input type=checkbox id=myid name=myid /
/label
Not saying that I prefer this way, just that it's possible.
--Karl
Cool. I've never tried that...
--Klaus
One reason not doing it is probably because IE only supports
explicitly associated labels.
--Klaus
On 9 Mrz., 04:13, Karl Swedberg k...@englishrules.com wrote:
having the input inside the label is perfectly valid.
http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1
To associate a
Looks like you tried to make a cross-domain ajax request.
--Klaus
On 9 Mrz., 21:14, Tom Shafer tom.sha...@gmail.com wrote:
what does this error mean
[Exception... Component returned failure code: 0x80070057
(NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open] nsresult:
0x80070057
nas...@gmail.com wrote:
I'm learning about JQuery and I'm absolute begginer.
I've looking for help about one issue that imagine is easy but I can't
find the answer till now.
I supose Klaus Hartl has the solution for this: How I modify the hash
of the tabs plugin?
I'm using the version 2
I've been using the data method for this, you need to pass a DOM
element though:
var uuid = $.data(el);
--Klaus
On 6 Mrz., 03:48, Mike Alsup mal...@gmail.com wrote:
What do you recommend to generate UUID with jQuery ?
Thank you !
I've been using something like this:
$('a').attr('title' , function() { $(this).text() } );
I must be missing something simple here.
Yes, a return statement.
$('a').attr('title' , function() { return $(this).text(); });
--Klaus
You will have to use the Form plugin.
--Klaus
On 2 Mrz., 12:48, Iswaria iswar...@gmail.com wrote:
Hi,
I am using jquery ajax tabs.
In one of the tab, i am using a form ( i didn't use jquery form).
while submitting the form, it is going a fresh page. But i want to
retain the tabs.
You have a # too much in your panel ids... Should read:
div id=tabs-1 ...
--Klaus
On 27 Feb., 17:35, hitautodestruct yotam.pr...@gmail.com wrote:
Hi,
I have a problem implementing jQuery tabs using hebrew content in the
li and div elements.
I get the error jQuery UI Tabs: Mismatching
On 26 Feb., 16:14, Richard D. Worth rdwo...@gmail.com wrote:
Your code sample doesn't have version numbers. Can you verify you're using
compatible versions of jQuery and jQuery UI?
jQuery UI 1.5.3 is only compatible with jQuery 1.2.6
jQuery UI 1.6rc6 is only compatible with jQuery 1.3+
You're giving way too less information to answer the question if this
has been sorted out. Maybe it needs to be sorted out in your own code.
Please provide a pastebin or test page.
--Klaus
On 25 Feb., 11:22, Intelligent Penguin phalling...@googlemail.com
wrote:
Hello
I've got some of the
On 25 Feb., 14:11, David Muir davidkm...@gmail.com wrote:
I think what P is referring to is what using cookies enables: remember
what tab you were on when refreshing the page.
Which makes me wonder, why not have an option to have the hash set
instead of using a cookie?
eg
index.html:
modify the template? and then who would i
access these two input boxes dynamically?
thanks heaps
paul
On Feb 21, 12:41 am, Klaus Hartl klaus.ha...@googlemail.com wrote:
Why don't you put the desired label in the first place?
$('#tabs').tabs('add', '#new', 'Label');
Other than that you
Not sure yet what the bug is actually, but I found that the following
fixes it:
setTimeout(function() {
tabdiv.children('#tabs').tabs(select,#tabs-2);
}, 0);
Lead me to changing the order of opening the dialog and selecting the
other tab:
content.dialog('open');
:03, Klaus Hartl klaus.ha...@googlemail.com wrote:
Not sure yet what the bug is actually, but I found that the following
fixes it:
setTimeout(function() {
tabdiv.children('#tabs').tabs(select,#tabs-2);
}, 0);
Lead me to changing the order of opening the dialog and selecting the
other
Why don't you put the desired label in the first place?
$('#tabs').tabs('add', '#new', 'Label');
Other than that you could utilize the add callback:
$('#tabs').tabs({
add: function(event, ui) {
// add additional html to the tab
$('span', ui.tab).html(...);
}
});
Or you
There is no auto value for line-height. That's normal.
http://www.w3.org/TR/CSS21/visudet.html#propdef-line-height
--Klaus
On 20 Feb., 07:33, Anjanesh anjanesh.for...@gmail.com wrote:
$('.div p').css('line-height', '25px'); works but $('.div p').css
('line-height', 'auto'); doesnt.
Is
Since 'detection' requires javascript, you can't 'detect' if javascript
is not running.
What I do is have a p/p or div/div with text like Additional
features available with javascript enabled. Give it a class with
display:block and then have javascript change it to display:none.
You should
I can only guess here, but probably both of you have this issue:
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F
--Klaus
On 17 Feb., 01:29, Talya ta...@studio-taj.com wrote:
Hi There,
Im using the jquery cycle
Look out for trailing commas in object literals...
{ foo: bar, that: this, }
^
--Klaus
On 16 Feb., 21:58, Dean C. Reed webspee...@gmail.com wrote:
Or is there a common work around?
I spent a few days getting familiar with JQuery and it works perfectly
in
The jQuery way:
$('#state').filter('select').doSomething();
--Klaus
On 16 Feb., 00:23, RobG rg...@iinet.net.au wrote:
On Feb 15, 9:20 pm, angelochen...@gmail.com
angelochen...@gmail.com wrote:
Hi Rob,
Thanks for the quick reply, actually state has a id='state', I can
obtain it :
On 15 Feb., 20:59, Ricardo Tomasi ricardob...@gmail.com wrote:
I thought that was the point of $.support - If it doesn't support the
standard implementation, then it's false.
Probably you're right. I had just a different interpretation... I
would still be confused that this value is false in
It's false in IE because it tests for use of the 'opacity' style, not
whether the browser has opacity support. Since IE uses filters to
achieve opacity this results in a false value. I think it makes sense
when you think of it that way.
Sure. Although I would have called the property
Are you saying that IE changes its UA string depending on whether
ClearType is enabled or not?
No.
On 14 Feb., 20:31, Chris cpot...@siolon.com wrote:
On Feb 13, 2:34 am, Klaus Hartl klaus.ha...@googlemail.com wrote:
That will not avoid IE's ClearType issue, since IE is supporting
opacity and you still end up in the else branch.
I think it's one of he rare cases where you need to do
Events do fire sequentially. Recommended read:
http://dev.opera.com/articles/view/timing-and-synchronization-in-javascript/
--Klaus
On 13 Feb., 21:54, pantagruel rasmussen.br...@gmail.com wrote:
Never mind, obviously should just catch the onmousedown.
On Feb 13, 9:47 pm, pantagruel
That will not avoid IE's ClearType issue, since IE is supporting
opacity and you still end up in the else branch.
I think it's one of he rare cases where you need to do browser
sniffing. I don't think there's a way to find out, if the ClearType
issue is happening or not.
--Klaus
On 13 Feb.,
in there... It
surely needs a proper unit test this time!
--Klaus
On 11 Feb., 02:51, brian bally.z...@gmail.com wrote:
On Tue, Feb 10, 2009 at 4:17 PM, Klaus Hartl klaus.ha...@googlemail.com
wrote:
I've created the ticket aready:
http://dev.jqueryui.com/ticket/4109
Thanks, Klaus. I think I've sorted
Hello Brian, would you mind to file a bug for this?
--Klaus
On 10 Feb., 06:18, brian bally.z...@gmail.com wrote:
jquery 1.3.1, UI.Tabs 1.6rc6, FF3.0.6
Whenever any tabs load the spinner img will remain visible. I'm using
the following for the spinner option for tabs (I've removed
) no-repeat;
}
Interestingly you're already keeping the image inside the css
folder ;)
Nevertheless, despite the workarounds, I'm going to fix this bug of
course.
--Klaus
On 10 Feb., 19:44, brian bally.z...@gmail.com wrote:
On Tue, Feb 10, 2009 at 4:21 AM, Klaus Hartl klaus.ha...@googlemail.com
I've created the ticket aready:
http://dev.jqueryui.com/ticket/4109
--Klaus
The FAQ applies to UI 1.5.
UI 1.6 requires slightly different markup (additional container) and
works fine for me.
--Klaus
On 6 Feb., 22:32, Nathaniel Whiteinge whitei...@gmail.com wrote:
The UI Tabs documentation for using ul in a panel [1] has
conflicting info and I'm not sure how to
Yes, I'm using 1.5.3 (the current release) and it does not work. Are
you saying this is not possible with 1.5 and I need to run the preview
release instead?
No, it's absolutely possible. Otherwise there wouldn't be a FAQ ;-)
If you follow the code example in here it'll should work fine.
I know it still works in 1.3, just wondering why we are advised not to
use it.
Because feature detection is much more future proof and stable than
browser sniffing. With browser sniffing you simply make wrong
assumptions.
CSS may be a different beast, although I've never had the need for an
You can try as long as you want - as long as you serving XHTML as text/
html, from the browsers point of view (e.g. its parser) it's HTML it's
dealing with, thus it'll remove those slashes internally.
Have you ever wondered why in Firefox' source code view those slashes
are marked red (as in
The name attribute is deprecated for the form element. Using an id ist
good practice.
--Klaus
On 4 Feb., 14:41, Liam Potter radioactiv...@gmail.com wrote:
why you using get element by id?
make sure your form has a name ( form name=myform )
then use this
a class=button
Try something like:
$('#contact-form a').click(function() {
$(this).parents('form').submit();
return false;
});
Or: Simply style a submit input like a link (this is what I would do).
--Klaus
On 4 Feb., 15:38, Tintin81 tkleem...@gmail.com wrote:
Hi Liam and Klaus,
thanks for your
$('form input[value=]:first').focus();
--Klaus
On 4 Feb., 20:57, Massiverse august.massive...@gmail.com wrote:
Hello
I'm a newbie, here's what I need to do (searched the forums first but
couldn't find the answer).
1. Search form for an empty input field.
2. If an empty field exists,
And for some common CSS bugs check: http://positioniseverything.net/
--Klaus
On 1 Feb., 00:31, Karl Swedberg k...@englishrules.com wrote:
On Jan 30, 2009, at 5:06 PM, david.0pl...@gmail.com wrote:
Ok, thank you very much i got this!
Also, just to know is there any site/books that
It's as simple as that: in the first step build a page completely
without JavaScript so that everything works fine. Then add JavaScript/
jQuery to the game and improve the user experience.This concept is
also referred to as Progressive Enhancement. You will find quite some
information about it on
Add the class ui-tabs-hide to your panels beforehand. I will not
encourage bad practice (usage of inline styles).
Note to self: Make FAQ for this.
--Klaus
On 2 Feb., 05:38, Chris cpot...@siolon.com wrote:
On Jan 12, 9:29 am, tlphipps tra...@brandyandtravis.com wrote:
This is because of
I think I've answered to that question already somewhere else, but
here we go. Yes, ui.panel is a reference to the div DOM node that
contains the content of a tab. You can do with it whatever you want to/
can do with a DOM node, for example wrap it in a jQuery object or
retrieve its id
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F
--Klaus
On 2 Feb., 02:37, slake424 iamtakashii...@googlemail.com wrote:
Oh my god! Cam Spiers saved my life. I just added
position:absolute;left:-1px to the
I've added sIFR...:
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F
On 2 Feb., 08:18, Klaus Hartl klaus.ha...@googlemail.com wrote:
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_etc._not...
--Klaus
Well, with Tabs 2 you could actually do:
$('#box').tabs({ remote: true });
--Klaus
On 29 Jan., 13:08, jampov jam...@gmail.com wrote:
I love you stepahn. A million thanks.
I assume you use the for attribute to associate labels with their
inputs. Try (of course you need to adapt the selector probably):
$('label').each(function() {
$('#' + this.htmlFor).val( $(this).text() );
});
--Klaus
osu schrieb:
Hi,
Apologies for this noob question, but I really need
Attach the class to hide a tab panel beforehand:
div id=... class=ui-tabs-hidden.../div
In the future please post jQuery UI related questions to the jQuery UI
mailing list.
--Klaus
On 21 Jan., 18:03, aaron subne...@gmail.com wrote:
I am using jQuery UI Tabs 3
Seems to be using a fairly outdated version. The event's name to bind
has changed since quite a while. Why not take a look at the
documentation:
http://docs.jquery.com/UI/Tabs#Events
--Klaus
On 21 Jan., 16:36, MorningZ morni...@gmail.com wrote:
I've got this code working if it helps
working well, but for that one missing callback.
ah, it's hard to have a reproach to make to jquery. First in 3 years
in my case, and it's not like i'm mad or anything. Just ... annoyed.
:)
On Wed, Jan 21, 2009 at 7:30 PM, Klaus Hartl klaus.ha...@googlemail.com
wrote:
Seems to be using
On 20 Jan., 20:06, MorningZ morni...@gmail.com wrote:
but just comparing value a to value b, it doesn't get any easier/
better than JavaScript's native == operator
Not so fast. Be aware that the equality operator may give you
unexpected results because of type conversion, example:
0 == '' //
On the other hand - I've seen much worse offtopic threads here. And
yes, I've been annoyed by them. That said, sorry for putting fuel into
the discussion.
--Klaus
On 21 Jan., 05:25, Karl Swedberg k...@englishrules.com wrote:
On Jan 20, 2009, at 10:31 PM, johny why wrote:
what does this
First of all, you need to fix your HTML. An anchor is an inline
element and may not contain div, p etc. This may give you unexpected
results cross-browser and scripting on top of an invalid DOM is not a
good idea to begin with.
--Klaus
On 19 Jan., 12:11, Christoph Neymeyr christ...@uddebo.net
On 18 Jan., 19:16, Ricardo Tomasi ricardob...@gmail.com wrote:
They're named **Cascading** Style Sheets for a reason. Third party
CSS Candy that is supposed to be inserted in other's pages should be
coded with this issue in mind, protecting all it's styles in it's own
container, or writing
On 18 Jan., 21:45, johny why johny...@gmail.com wrote:
a 3rd party widget...should...use...important declarations.
Nevertheless there is no guarantee that the site's CSS will not
override styles.
--why? unless the site css ALSO uses !important, how else could it
override the candy-css?
Yes,
One thing to keep in mind: If two declarations use !important! the
conflict is solved by specificity again, e.g. as if there were no !
important:
div id=foo class=bar
#foo {
width: 200px !important; /* higher specificity */
}
.bar {
width: 300px !important;
}
Applied width will be
Could you please file a ticket... thanks.
--Klaus
On 16 Jan., 06:13, brian bally.z...@gmail.com wrote:
sorry,
jQuery 1.2.6
UI 1.6rc4
On Thu, Jan 15, 2009 at 10:49 PM, brian bally.z...@gmail.com wrote:
synopsis: UI.tabs faisl hard when there is no UL for which to apply tabs.
I have
').tabs(disable, 1);
jQuery('#product').tabs(disable, 2);
jQuery('#product').tabs(disable, 3);
jQuery('#product').tabs(disable, 4);
J
On Jan 10, 4:25 am, Klaus Hartl klaus.ha...@googlemail.com wrote:
$(#tabs).data('disabled.tabs', [1,2
In any event, using the element's type together with a class selector
will improve performance (otherwise every single element in the
current context is checked for that class):
$('div.toto').hide();
With a single element (or very few) using an id will probably be
faster, but with 50+ elements,
That's not true. You can set the html element's background...
html {
background: yellow;
}
The reason it doesn't work here is that there is no document.html
property. You either can reference the element via
document.documentElement or just via html selector:
$(html).css(background,
I assume you're using UI Tabs...
http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself
--Klaus
On 30 Dez., 19:09, Ted theodorew...@gmail.com wrote:
I'm having a problem with Jquery's tab plugin.
Specifically, I've got a page with a couple of tabs.
No suggestions unless you show us some code...
--Klaus
On 31 Dez., 08:11, JasonR jbra...@yahoo.com wrote:
Hello,
I have some content and am using the tabs widget to reload without
refreshing. Everything is working fine except for one problem...the ui-
tabs-disabled class is not being
The disabled class is not supposed to be assigned to all but the
selected tab. Where did you get that information from? It is only
assigned to tabs that either are disabled via option
$(...).tabs({ disabled: [1, 2]});
or if a single tab is manually disabled:
$(...).tabs('disable', 1);
There
On 30 Dez., 08:45, Alexandre Plennevaux aplennev...@gmail.com
wrote:
JavaScript enclosures?
i think it has to do with encapsulating your code inside a function so
that all vars are inside the function's scope, so not cluttering the
global namespace.
This, to avoid memory leak.
Are you
That would work fine, but it involves parsing the ID for a name
component that is common to the link and the DIV.
Yes, indeed, that is exactly what you would do. But it's so simple - it
takes less code to do it than describe it. For example:
$(function() {
$('#left
You said you don't want to litter your code with bogus classes, but -
speaking of unobtrusive - you do litter it with bogus anchors
(href=#). That said, the most obvious solution to me is to give
these anchors a little more meaning by letting them point to the div
they seem to be connected to
1 - 100 of 830 matches
Mail list logo