| View previous topic :: View next topic |
| Author |
Message |
AuReUs ReCtoR Apprentice


Joined: 01 Jul 2006 Posts: 5
|
Posted: Sat Jul 01, 2006 6:40 pm Post subject: Slider menu for index |
|
|
Hi, i use u`r mod for slider menu in ACP ...
now i want my forum, to have slider menu.
Like this when click:
http://forums.phpmix.org/index.php?c=1
Soo i want this to be slider menu like in admin ACP.
how can i add this?
tnx. and sorry for bad English. |
|
| Back to top |
|
 |
markus [Administrator]
![[Administrator] [Administrator]](images/ranks/rank_stars7_admin.gif)

Joined: 28 Jul 2003 Posts: 1124
|
|
| Back to top |
|
 |
AuReUs ReCtoR Apprentice


Joined: 01 Jul 2006 Posts: 5
|
Posted: Sun Jul 02, 2006 12:12 am Post subject: |
|
|
hmmm, this mod don`t doo what i want ...
i want exactly like in ACP to doo with forum ... |
|
| Back to top |
|
 |
markus [Administrator]
![[Administrator] [Administrator]](images/ranks/rank_stars7_admin.gif)

Joined: 28 Jul 2003 Posts: 1124
|
Posted: Sun Jul 02, 2006 1:44 am Post subject: |
|
|
This MOD uses javascript to allow you to collapse/expand categories in forum index. That is what I understand from your post. But now, I'm not sure if I get you...
Anyway, I don't have time to accept feature requests for these MODs. Feel free to adapt them to your needs... _________________ http://www.phpmix.org |
|
| Back to top |
|
 |
AuReUs ReCtoR Apprentice


Joined: 01 Jul 2006 Posts: 5
|
|
| Back to top |
|
 |
AuReUs ReCtoR Apprentice


Joined: 01 Jul 2006 Posts: 5
|
Posted: Sun Jul 02, 2006 9:35 pm Post subject: |
|
|
oh, work ..
i don`t press on right button
not bad mod. tnx too much |
|
| Back to top |
|
 |
markus [Administrator]
![[Administrator] [Administrator]](images/ranks/rank_stars7_admin.gif)

Joined: 28 Jul 2003 Posts: 1124
|
Posted: Sun Jul 02, 2006 9:36 pm Post subject: |
|
|
It doesn't work, probably, because there is an onload handler in the BODY tag.
Try this:
FIND:
| Code: | | function resize_images() |
BEFORE, ADD:
| Code: | var rs_oldload = window.onload;
window.onload = function() {
if (rs_oldload) {rs_oldload();rs_oldload=null;}
resize_images();
} |
FIND:
| Code: | | <body ... onload="resize_images()"> |
REPLACE WITH:
That is, remove the onload="resize_images()" part from the BODY tag. It will now be called from the code we added in the previous step. _________________ http://www.phpmix.org |
|
| Back to top |
|
 |
markus [Administrator]
![[Administrator] [Administrator]](images/ranks/rank_stars7_admin.gif)

Joined: 28 Jul 2003 Posts: 1124
|
Posted: Sun Jul 02, 2006 9:40 pm Post subject: |
|
|
| AuReUs ReCtoR wrote: | oh, work ..
i don`t press on right button
not bad mod. tnx too much |
Oh, I see. Well, you could move the onclick stuff to wherever else you see fit.  _________________ http://www.phpmix.org |
|
| Back to top |
|
 |
AuReUs ReCtoR Apprentice


Joined: 01 Jul 2006 Posts: 5
|
Posted: Sun Jul 02, 2006 9:43 pm Post subject: |
|
|
yeah
tnx. mate.
cheers |
|
| Back to top |
|
 |
|