• Page 1 of 2
  • 1
  • 2
  • »
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » ToggleForums
ToggleForums
Nzo
Posts: 25
Reputation: 1

Message # 1 | 10:39 AM
This is a simple JavaScript add-on for the forums which allows you minimize and maximize the forum categories.

Preview:
Please note the blue underlining are there for illustration purposes.

Code:

Code
<div id="forumbody">$BODY$</div><?if($PAGE_ID$='main')?><style type="text/css">     
.gTopCornerRight {display:none;}     
</style>     
<script type="text/javascript" src="http://your-url-goes-here.ucoz.com/toggleforums.js"></script><?endif?>

Download the script from here: http://b2k.ucoz.com/toggleforums.js
Upload the file.
Once uploaded, change the link to where you have uploaded the file

Code
http://your-url-goes-here.ucoz.com/toggleforums.js

And Waalaa! =)

Copyrights: pecora
Site: Unknown


NzoMedia.info

Armaros
Posts: 1424

Message # 2 | 11:26 AM
Location: Control Panel -> Customize Design -> General appearance of forum pages.

Find: $BODY$

Replace with:

Code
<div id="forumbody">$BODY$</div><?if($PAGE_ID$='main')?><style type="text/css">
.gTopCornerRight {display:none;}
</style>
<script type="text/javascript" src="http://your-url-goes-here.ucoz.com/toggleforums.js"></script><?endif?>
Tommy
Posts: 454
Reputation: 38

Message # 3 | 11:57 AM
Nzo,

Thanks It's a nice code. I liked it.


"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
CodeResolution
Posts: 1570
Reputation: 58

Message # 4 | 11:15 PM
If you dont understand Nzo's, Intructions, follow this (For Noobies)

1. Follow this link ( http://b2k.ucoz.com/toggleforums.js ) and right click and click "Save as" and save it on your computer as "toggleforums.js"

2. Upload the file into File Manager

3. CP -> Customize design -> Forum
Find $BODY$ and replace with:

Code
<div id="forumbody">$BODY$</div><?if($PAGE_ID$='main')?><style type="text/css">          
.gTopCornerRight {display:none;}          
</style>          
<script type="text/javascript" src="http://your-url-goes-here.ucoz.com/toggleforums.js"></script><?endif?>

4. Replace http://your-url-goes-here.ucoz.com/toggleforums.js (in the code above) with your toggleforums.js address (link).


Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Post edited by Mistory - Tuesday, 2009-08-18, 11:20 PM
XTahC
Posts: 7
Reputation: 0

Message # 5 | 3:50 AM
Thank you for this code, I have input it onto my forums.

It works "perfect!"

+Rep for you smile


Nightmares, occur in my presence.
Doing everything..wrong..as always..///
Leekinz
Posts: 36
Reputation: 2

Message # 6 | 5:10 AM
Quote (Mistory)
Follow this code ( http://b2k.ucoz.com/toggleforums.js ) and right click and click "Select All" and Then right click on any of the highlighted text and click Copy (Ctrl+C).
Then paste (Ctrl+V) the code into Notepad and save the file as "toggleforums.js"

Or alternatively you can Right Click >> Save Link As. (Just thought I'd point that out,)


There was once a man named Lee. He used to love taking a ***, then he found THIS!
Post edited by Leekinz - Thursday, 2009-08-27, 5:10 AM
fakeros
Posts: 58
Reputation: 13

Message # 7 | 5:15 AM
Really helpfull script!!!!
I m back on track...
CodeResolution
Posts: 1570
Reputation: 58

Message # 8 | 5:44 PM
I love this code. Its brilliant.

Is it also possible to have the ToggleScript on the Forum Statistics?


Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Leekinz
Posts: 36
Reputation: 2

Message # 9 | 8:42 PM
Mistory, It's possible but it hasn't been coded or implemented into a JS code yet, Try requesting for it on http://b2k.ucoz.com
There was once a man named Lee. He used to love taking a ***, then he found THIS!
CodeResolution
Posts: 1570
Reputation: 58

Message # 10 | 11:28 AM
Ok thanks tongue
Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Miss_Stephxx
Posts: 14
Reputation: 5

Message # 11 | 11:15 AM
thanks it works !! biggrin
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

:'( ---> ...

Bengaltiger
Posts: 57
Reputation: 1

Message # 12 | 9:23 PM
Nzo, Thank you very much biggrin biggrin
websiteguru
Posts: 16
Reputation: 0

Message # 13 | 4:29 AM
Thanks, but one prob, the images don't work, that's why i would like to edit the script so that the images are on my site but I need the images to do so. Can you upload them here.?
kanat07
Posts: 28
Reputation: 0

Message # 14 | 7:30 AM
Quote (Source)

++ Author: pecora ++
++ Do not remove or edit lines above!

OK, whichever removed put this, remove and put the original author name.

Alexeenko Ivan aka Vanofuture

http://allcity.net.ru/viewtopic.php?f=3&t=1246&start=10#p11134

Scubs
Posts: 18
Reputation: 2

Message # 15 | 8:04 PM
kanat07, lol thy didn't give credits to themself

and who says that ur friend from the other forum didn't get it from somwhere else , u can go on on on about that , just leave it like it is now

Post edited by Scubs - Monday, 2010-08-30, 8:05 PM
uCoz Community » For Webmasters » Custom Solutions » ToggleForums
  • Page 1 of 2
  • 1
  • 2
  • »
Search: