1
我想在forumotion平台的主页上隐藏论坛标题。我想这个代码在JavaScript使用javascript/css隐藏forumotion平台的论坛标题(phpBB3)
document.getElementsByClassName("hierarchy")[24].style.visibility='hidden';
这jsfiddle.net效果很好,但似乎并不当我通过JavaScript代码管理我的论坛的主页上实现它的工作,标题仍然存在:/
我想隐藏文字“Games Section”,这是论坛的标题。这是一个href,导致一个subforum。我想隐藏这个,所以成员将不得不点击在论坛的图片,这将导致他们到我选择的另一个页面(我可以从管理面板上的论坛描述改变这一点,我不能改变“游戏部分的href “论坛标题,因为我不能更改phpBB3的模板或更改主页html)。
我认为这是论坛
<ul class="topiclist forums">
<li class="row"><dl class="icon" style="background:url(http://www.esecuredata.com/forums/styles/IDLaunch_Fresh/imageset/forum_unread.gif) no-repeat scroll 10px 50%;"><dd class="dterm">
<div style="display: block; margin : 0 0px 0 42px;">
<h3 class="hierarchy">
<a href="/f1-forum" class="forumtitle">Σειρές</a>
</h3>
<br />
<a href="http://retrocartoonsgreek.omgforum.net/h10-page"><img style="width: 122px; height: 43px;" border="0" alt="Seires" src="http://img32.imageshack.us/img32/7186/47770160.png" /></a>
<p>
<span style="font-family: 'Comic Sans MS'; font-size: 13px;">
<span style="LINE-HEIGHT: normal; FONT-SIZE: 13px">
<span style="font-family: 'Comic Sans Ms';">Σε αυτή την κατηγορία θα ανεβαίνουν σειρές!!
</span>
</span>
</span>
</p>
任何想法,这部分的代码?
不幸的是,我无法访问论坛的首页html代码,我只能添加javascript或css代码:) – user3361331
你可以使用jQuery吗? – Zword
我认为forumotion已经内置了jQuery – user3361331