Anyone know which hack they used to replace the collapse button with an image?
Changing collapse button into image?
Collapse
X
-
Tags: None
-
It's just a template edit. Edit:
Forum Home Templates >> forumhome_forumbit_level1_nopost
Just change the img to whatever you want, change the url to whatever you want, and remove the onclick event. -
Originally posted by Nombie WanIt's just a template edit. Edit:
Forum Home Templates >> forumhome_forumbit_level1_nopost
Just change the img to whatever you want, change the url to whatever you want, and remove the onclick event.
Here's the code, I'm trying to get each category/forum id to have it's own image but can't seem to get it right. Here's the original code:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>Comment
-
Name the images as follows:
images/buttons/collapse_tcat_FORUMID_collapsed.gif for the COLLAPSED image.
images/buttons/collapse_tcat_FORUMID.gif for the NON collapsed image.
You then change the code you pasted to be:
Code:<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat_$forumid$collapseimg.gif" alt="" border="0" /></a>
Comment
-
Hey Merk, I just tried the code and it was a lot more hard to grasph than I thought. I was trained in HTML, when it comes to php, it's quite a ways off. Can you show me the right way to insert an invocation code of a banner script, I'm using Phpmyads. The invocation code they use is:
PHP Code:<?php
if (@include(getenv('DOCUMENT_ROOT').'/phpads/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:8', 0, '_blank', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>Comment
-
Originally posted by merkThis question has been asked quite a few times, its easier if you search, mainly because i dont use phpnewads and dont know of the quirks of doing it.Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment