[阅读: 282] 2005-10-19 21:59:48
theme.js:
var themeTitle = "<TABLE width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><TR><TD background=\"bg-tile.jpg\"><IMG src=\"masthead.jpg\" width=\"306\" height=\"60\" NAME=\"IGNORE\"></TD></TR><TR><TD align=center><H1>%s</H1></TD></TR></TABLE>"
↓↓
<H1>%s</H1>
data.js:
var title = "2005*******************"
common.js:
var replacementChar = /%s/
outputTitle = themeTitle.replace(replacementChar, title);
↓↓↓↓↓
change:
thems.js:
<H2>%s</H2>
or
<font size=*px>%s</font>