[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread Klaus Hartl
On 3 Apr., 20:12, expresso 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 imposed here seems to

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread Klaus Hartl
On 3 Apr., 20:01, expresso 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 use those styles.

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread expresso
Thank you. There are a LOT of docs to read. One only goes by assuming what makes sense until he is able to read it all. I am doing what I can to "read up" and certainly would not take an entire day working on this if I was not reading what I thought I needed to read. Maybe this link should be

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread Jonathan
I would suggest http://jqueryui.com/docs/Getting_Started It talks about how to get all the dependencies for the widgets and about the Theme CSS. Stop assuming and read docs, it'll be much less frustrating for everyone. On Apr 3, 11:01 am, expresso wrote: > In fact you know what the problem is

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread expresso
Yes, the code works from the demo. I found that it was not my actual mark-up which was the issue. It was that you had to add the specific actual stylesheet in order to get them to work. It's just when you're looking at the examples, the explaination and code that tells you how to "get it to wo

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread Jonathan
I'm not the tabs author this is just a guess but perhaps it needs more then matching IDs, perhaps it needs to follow a certain ID convention such as #tabs-n like was shown in the example. Like I said I'm not the author but I did copy the code from the site, the same code you claimed was broken and

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread expresso
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 use those styles. I assumed the jQuery behind this injected

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread expresso
Dude, where is my mark-up wrong? My do have matching IDs. Where are you NOT seeing this. Jonathan-179 wrote: > > > Wow. People are giving up their free time to try and help you and this > is the response? > > I went to http://www.jqueryui.com/demos/tabs/#default copied the code > exactly

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread Jonathan
Wow. People are giving up their free time to try and help you and this is the response? I went to http://www.jqueryui.com/demos/tabs/#default copied the code exactly and it works perfectly. The problem IS YOUR MARKUP like others have stated to obviously deaf ears. You are monkeying with the marku

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread expresso
Maybe I should just give up on jQuery Tabs altogether if this is the kind of attitude and response I'll get from simply trying everything stated and the syntax IS correct per my last post and has been. I just posted some things wrong. Anyway, take a look at the screen video I posted so you ca

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread expresso
It doesn't make a damn bit of difference. I've tried all the things everyone's said here all along. Take this example for instance: $(document).ready(function() { $('#Tabs').tabs({ fx: { opacity: 'toggle'} }); }); #FContent /Content/Imag

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread MorningZ
I think you assume too much... heh heh want working code? follow the examples :-) http://www.jqueryui.com/demos/tabs/ On Apr 3, 8:58 am, expresso wrote: > I had updated my first post but does not look like it went through.  The # > red and div ids are the same.  I will update that. > > Seco

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread expresso
I had updated my first post but does not look like it went through. The # red and div ids are the same. I will update that. Second, we shouldn't have to use the same Ids as outlined in the example as long as our jQuery is referencing the correct names one would assume MorningZ wrote: > > >

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread MorningZ
Either one of your examples do not have a valid structure your first post has $(document).ready(function() { $('#Tabs div:Form1Content').show(); $('#Tabs').tabs({ fx: { opacity: 'toggle'} }); }); #Form1Content Images/Product/tab1.gif

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread expresso
Klaus, a couple points: First, let me state that it appears that I do see content being changed on click of each tab. That is NOT my problem here. 1) if it's the span tags you're referring to, I tried that by wrapping the spans either around text or an image and it made no diff. When I click

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-02 Thread Klaus Hartl
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: A Tab I m pretty sure the documentation is showing this fact and I don't understand why you took "straight code out of the example" and then changed it to not w

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-02 Thread expresso
I mean really if you take the straight code out of the example and try to run this, it doesn't even work! So how are we to even use the docs? Under the "Example" here: http://docs.jquery.com/UI/Tabs#events that code works there but when I try this in my own page, I get the same issues. h

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-02 Thread expresso
I mean really if you take the straight code out of the example and try to run this, it doesn't even work! So how are we to even use the docs? Under the "Example" here: http://docs.jquery.com/UI/Tabs#events that code works there but when I try this in my own page, I get the same issues. h

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-02 Thread expresso
It's still hard for me to believe I have to manually hide the rest by default just to get my tabs working out of the box. expresso wrote: > > Thanks. And this is what really "gets to me" about the docs. Nowhere in > the docs does it say you need to add code to show the first default tab > an

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-02 Thread expresso
Thanks. And this is what really "gets to me" about the docs. Nowhere in the docs does it say you need to add code to show the first default tab and div. In fact the docs show you an example with example code of tabs working without it. So then why should we assume we have to write all this ex

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-02 Thread thedad...@gmail.com
maybe this tutorial can help you . http://15daysofjquery.com/jquery-online-movie-tutorial-by-john-resig/29/ On 4月3日, 上午10时24分, expresso wrote: > For some reason, when my first div loads, I'm seeing all 3 text show up even > though they're in different containers: > > > $(document).rea