<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
var fb_description, fb_name; var skey; var liked = false; var fb_share_image = ''; var fb_link = 'https://www.jkforum.net/thread-0-1-1.html'; var fb_description = ''; var fb_name = "導讀-我的文章"; window.fbAsyncInit = function(event){ jkfjs.facebook.dispatchEvent('fbAsyncInit', event, this); }; jkfjs.facebook.on('fbAsyncInit', function() { FB.init({appId: '177297825623692', version: 'v2.0', status: true, cookie: true, oauth : true, xfbml: true});
});
function OnRequestPermission(){ FB.Event.subscribe('auth.authResponseChange', function(response) { if(response.authResponse.accessToken && response.status=='connected'){ location.replace('facebookConnect.php?action=login'); } }); }
code<a href="javascript:void(0);" class="mniconbox" title="論壇導航" style="padding-top: 9px !important;"> <span class="fa-stack fa-lg"><i class="fa fa-navicon fa-stack-2x"></i></span></a> </div><style>#logoa img{width:180px;}</style>可申請任務
code<br>目前暫無可申請的任務進行中的任務
code<br>目前暫無可申請的任務code<a href="home.php?mod=magic&action=shop" class="mniconbox" title="Game"> <span class="fa-stack fa-lg"><i class="fa fa-gamepad fa-stack-2x"></i></span></a>code<a href="home.php" class="mniconbox" title="My"> <span class="fa-stack fa-lg"><i class="fa fa-edit fa-stack-2x"></i></span></a> <!-- 個人空間 -->code<a href="home.php?mod=space&do=friend&view=online&type=friend" class="mniconbox" title="好友"> <span class="fa-stack fa-lg"><i class="fa fa-user-plus fa-stack-2x"></i></span></a>code<div id="mn_mymsg_menu" class="top_popmenu" style="display:none;"> - Assistant
The HTML provided does not include any scripts that dynamically change the color of the title (or any element) when it is clicked. To achieve such a behavior, you would need to implement JavaScript or jQuery functionality.
Here’s a simple way to add some JavaScript code that changes the title color when clicked:
- Add an ID or class to the title element you wish to modify.
- Use jQuery or plain JavaScript to add a click event listener that changes the color of that element.
Here’s an example modification based on your provided HTML:
-
In the
<h1 class="xs2">我的文章</h1>, you can add an ID like so:html<h1 id="myTitle" class="xs2">我的文章</h1> -
Next, add the following JavaScript at the bottom of your
<body>tag just before to change the text color when clicked: