We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[CODE]Glowing/Unglowing Text in MainPage; By Ryan Fan
Topic Started: Jan 25 2010, 09:16 AM (105 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Ryan Fan
[CODE
 
Glowing/Unglowing Text in MainPage]Mod Name: Glowing/Unglowing Text over the board logo
Description: Check out
Preview/Screenshot In Use:
HERE

To view the glow effect click on the text.
-----------------------------
Put this in your JavaScript Section.

Code:
 
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_changeProp(objName,x,theProp,theValue) { //v3.0
var obj = MM_findObj(objName);
if (obj && (theProp.indexOf("style.")==-1 || obj.style)) eval("obj."+theProp+"='"+theValue+"'");
}
//-->
</script>


Put this in your Header & Body,under the <% Board %> tag.

Quote:
 
<body bgcolor="#FFFFFF" text="#000000">
<div align="center">
<div id="Layer1" style="position:absolute; width:494px; height:115px; z-index:1; left: 96px; top: 9px" onClick="MM_changeProp('Layer1','','style.filter','glow','LAYER')" onMouseOut="MM_changeProp('Layer1','','style.filter','','LAYER')"><b>TEXT HERE TEXT HERE TEXT HERE TEXT HERE</b></div>
</div>


Change the bold,to what do you want.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply