
Ive been looking at the toggle code to display it, but im not smart enough to figure out why firefox doesnt like it.

Anybody else had any luck?
Kinsman wrote: you can see it working on 2.0.1.4 here, as long as you dont ude firfox!
www.junglewraiths.net
Code: Select all
##############################################################
## MOD Title: Medals with PCP toggle.js
## MOD Author: DragonFire < dragonfire@dfsquad.net > (Gen.DF-DFS) http://www.dfsquad.net/
## MOD Description:
## This mod changes the Display Medals button to use the toggle_display.js that
## comes with topic_calendar by Ptirhiik < ptirhiik@clanmckeen.com > (Pierre) http://rpgnet.clanmckeen.com
## The toggle_display.js for topic_calendar works with Firefox web browsers.
##
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: ~5 Minutes
## Files To Edit:
## profilcp/profilcp_medals.php
## templates/subSilver/profilcp/profil_medals_body.tpl
##
## Included Files: n/a
##
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## You will need to get the toggle_display.js file from the Topic Calendar Mod
## and put it in the includes file. If you don't already have it that is.
##
##
##############################################################
## MOD History:
##
## 2005-05-17 - Version 1.0.0
## - first public release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
profilcp/profilcp_medals.php
#
#-----[ FIND ]------------------------------------------------
#
'MEDAL_BUTTON' => '<button onclick="ToggleBox(\'toggle_medal\')">'.$lang['Medal_details'].'</button>')
#
#-----[ BEFORE, ADD ]------------------------------------------
#
/*
#
#-----[ AFTER, ADD ]------------------------------------------
#
*/
'MEDAL_BUTTON' => '<button onclick="hdr_toggle(\'toggle_medal\',\'medal_open_close\')">'.$lang['Medal_details'].'</button>')
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/profilcp/profil_medals_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<script language="Javascript" type="text/javascript" src="templates/toggle.js"></script>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!--
#
#-----[ AFTER, ADD ]------------------------------------------
#
-->
<script language="Javascript" type="text/javascript" src="includes/toggle_display.js"></script>
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM