Topic: [extension] Toggle Categories 0.1b

Hide and show categories on the forum index page.

New link further down

Last edited by lie2815 (2008-09-18 13:35:24)

Re: [extension] Toggle Categories 0.1b

Could somebody please test my new test release with a "fancy" JavaScript sliding effect:

http://download.fluxhosting.org/togglec … b_test.zip

It doesn't seem to work with Internet Explorer yet, and there is a problem when clicking on another toggle button when the sliding is in progress...
As I am not a JavaScript guru, could you guys please help me with those problems?

Thanks a lot.

Re: [extension] Toggle Categories 0.1b

In ie(emulate ie7) it works but the background is white and when hideing the text is shown a bit to long.

But why not use jquery for that?

Re: [extension] Toggle Categories 0.1b

What do you mean with "the text is shown a bit to long"?

Any help for the other problem?

Re: [extension] Toggle Categories 0.1b

I mean that the bottom bar is already closed and then the text of the fora disapears.

Re: [extension] Toggle Categories 0.1b

Should work in Firefox, right?

Why doesn't overflow:hidden work in IE?

Re: [extension] Toggle Categories 0.1b

Yes in firefox it works.

Why it does not work in IE I do not know.

Re: [extension] Toggle Categories 0.1b

Does anybody know?

Re: [extension] Toggle Categories 0.1b

New release:

v1.0 Beta 2

- Uses JQuery extension for JavaScript effects.
- Needs some help with the toggle link styling.

Last edited by lie2815 (2008-09-18 13:34:53)

Re: [extension] Toggle Categories 0.1b

Die Domain "www.download.fluxhosting.org" ist nicht verfügbar.
[Zur SWsoft-Homepage]

Mirror someone?

Last edited by Superflu (2008-09-18 13:05:41)

Re: [extension] Toggle Categories 0.1b

Delete the "www", please. I will take care of that.

Edited the link, too.

Re: [extension] Toggle Categories 0.1b

This looks a bit smaller in code then the previous one smile nice work.

I should change onClick to onclick otherwise it will not be valid xhtml smile

Re: [extension] Toggle Categories 0.1b

Thanks. Will do that.

Re: [extension] Toggle Categories 0.1b

kierownik wrote:

This looks a bit smaller in code then the previous one smile nice work.4

its smaller in code because it doesn't save the categories open/closed status to cookie

but he was able to do something i couldn't. the slide feature.

nice work

also: onLoad should onload to make a valid xhtml

Last edited by Gizzmo (2008-09-19 22:35:23)

~Gizzmo

Re: [extension] Toggle Categories 0.1b

Gizzmo wrote:

its smaller in code because it doesn't save the categories open/closed status to cookie

Does it save them at all?

Re: [extension] Toggle Categories 0.1b

my old punbb 1.2 one did. this one doesn't

~Gizzmo

Re: [extension] Toggle Categories 0.1b

Nothing changed after installing the extention. Do I need to activate some settings or so?

Last edited by Superflu (2008-09-21 16:27:24)

Re: [extension] Toggle Categories 0.1b

This might be because you don't have JavaScript enabled. It only works in that case.

I will work on a feature to save the state in cookies, but not right now...

Re: [extension] Toggle Categories 0.1b

lie2815 wrote:

This might be because you don't have JavaScript enabled. It only works in that case.

I will work on a feature to save the state in cookies, but not right now...

Never mind.. It was because the url "Toggle" was in the same color as its background.

Re: [extension] Toggle Categories 0.1b

Oops, okay. Any ideas on a better link than the text "Toggle"?

Re: [extension] Toggle Categories 0.1b

+ and - ?

Like the 1.2 version had. (At least, that's what I used.) The minus changed to a plus when expanded and vice versa.

Re: [extension] Toggle Categories 0.1b

Ok. I did have this before I used JQuery, too. I have to start looking at JQuery first... wink

Good point, does anybody know a nice downloadable JQuery documentation?

Also (maybe I could get an answer from Paul for this): How can I get the link to be displayed correctly in IE?

Re: [extension] Toggle Categories 0.1b

maby you can use this?
http://plugins.jquery.com/project/Cookie

Re: [extension] Toggle Categories 0.1b

I have used jQuery before. I still use them, but not much.
When I want documentation, I usually look at Visual jQuery.

http://www.visualjquery.com/1.1.2.html

To make overflow: hidden work in IE,
You should set position: relative to that element.

Re: [extension] Toggle Categories 0.1b

kierownik wrote:

Thanks. I also meant changing the class of the element wink

the DtTvB wrote:

I have used jQuery before. I still use them, but not much.
When I want documentation, I usually look at Visual jQuery.

http://www.visualjquery.com/1.1.2.html

To make overflow: hidden work in IE,
You should set position: relative to that element.


Cool. Looks great.

Last edited by lie2815 (2008-09-24 13:20:37)