|
|
| Author |
Message |
Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.
|
|
| Back to top |
|
 |
the axe
Not So New User
Joined: 01 Mar 2009
Posts: 69
|
Posted: October 30th 2009, 12:44 am Post subject: |
|
|
Hi Patrick, and thanks for rescuing me again!
I don't know why this only happens with Firefox, and not with IE (I now used a FF add-on which enables me to switch a given tab to IE)?
The overall_header.html file is;-
| Quote:
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->
function popup(url, width, height, name)
{
if (!name)
{
name = '_popup';
}
window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
return false;
}
function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
{
if (base_url.indexOf('?') == -1)
{
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
}
else
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
}
}
}
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval('parent = document.' + id);
}
if (!parent)
{
return;
}
var rb = parent.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}
<!-- IF ._file -->
/**
* Play quicktime file by determining it's width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();
if (rectangle)
{
rectangle = rectangle.split(',')
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);
var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}
obj.width = width;
obj.height = height + 16;
obj.SetControllerVisible(true);
obj.Play();
}
<!-- ENDIF -->
// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">
<a name="top"></a>
<div id="wrapheader">
<div id="logodesc">
<table width="100%" cellspacing="0">
<tr>
<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td width="100%" align="left"><!– <h1>{SITENAME}</h1> –><span class="gen">{SITE_DESCRIPTION}</span></td>
</tr>
</table>
</div>
<div id="menubar">
<table width="100%" cellspacing="0">
<tr>
<td class="genmed">
<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a> <!-- ENDIF -->
<!-- IF U_RESTORE_PERMISSIONS --> <a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_PM --> <a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
<!-- ELSEIF S_REGISTER_ENABLED --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a>
<!-- ENDIF -->
<!-- ENDIF -->
</td>
<td class="genmed" align="{S_CONTENT_FLOW_END}">
<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
<!-- IF S_DISPLAY_SEARCH --> <a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --> <a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --> <a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
<!-- ENDIF -->
</td>
</tr>
</table>
</div>
<div id="datebar">
<table class="tablebg" align="center" width="100%" cellspacing="1">
<tr>
<!--start logged in welcome -->
<tr>
<td>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN-->
<span class="gensmall">
<script language="JavaScript">
var digital=new Date()
var hours=digital.getHours()
var weekday=new Array(7)
//you can configure messages as you want.
if (hours>=5&&hours<=11) //MESSAGE FOR MORNING
document.write('<strong>Morning, <span style="color: black;">{S_USERNAME}</span>! Welcome back to {SITENAME} </strong>')
else if (hours==12) //MESSAGE FOR NOON
document.write('<strong> {SITENAME}Hello again, <span style="color: red;">{S_USERNAME}</span>! </strong>')
else if (hours>=13&&hours<=17) //MESSAGE FOR AFTERNOON
document.write('<strong>Good afternoon, <span style="color: red;">{S_USERNAME}</span>! Posting again at {SITENAME}? </strong>')
else if (hours>=18&&hours<=20) //MESSAGE FOR EVENING (6pm-9pm)
document.write('<strong>Good evening, <span style="color: red;">{S_USERNAME}</span>! </strong>')
else if (hours>=21&&hours<=11) //MESSAGE FOR NIGHT (9pm-12pm)
document.write('<strong>Late evening for you <span style="color: red;">{S_USERNAME}</span>? </strong>')
else //MESSAGE FOR LATE NIGHT, EARLY MORNING (12pm-4am)
document.write('<strong>Hi <span style="color: red;">{S_USERNAME}</span> All nighter at {SITENAME}? </strong>')
weekday[0]="Sunnen Dæg (OE- Day of the Sun)";
weekday[1]="Monan Dæg (OE- Day of the Moon)";
weekday[2]="Tiwes Dæg (OE- Tiw's Day, Norse god of glory)";
weekday[3]="Wodnes Dæg (OE- Woden's Day, Odin, chief Norse god)";
weekday[4]="Ðunres Dæg (OE- Thor's Day, Norse god of thunder)";
weekday[5]="Friges Dæg (OE- Freya's day, Norse goddess of beauty)";
weekday[6]="Sæternes Dæg (OE- Saturn's day)";
document.write("Today is " + weekday[digital.getDay()]);
</script>
</span>
<!-- ENDIF -->
</td>
</tr>
<!--end logged in welcome-->
<td class="row1" width="100%"><span class="gensmall">
<strong>
<div style="float:center; padding:12px 0">
<!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}</strong><!-- ELSE --></strong>{CURRENT_TIME}<!-- ENDIF -->
<!-- IF S_USER_LOGGED_IN --><br />{CURRENT_TIME}<!-- ENDIF --></span></div>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<span class="gensmall">
<strong>{S_TIME} {WELCOME_REGISTERED}</strong>
<!-- ELSE -->
<strong>{S_TIME} {WELCOME_GUEST}</strong>
</span>
<!-- ENDIF -->
</div>
</div>
</tr></td></table>
<!-- IF S_DISPLAY_SEARCH -->
<p class="searchbar">
<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
<!-- IF S_USER_LOGGED_IN -->
<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- IF U_MCP -->
| <a href="{U_MCP}">{L_MCP}</a>
<!-- ENDIF -->
</span>
<!-- ENDIF -->
</p>
<!-- ENDIF -->
<br />
|
Thanks! |
|
| Back to top |
|
 |
Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.
|
|
| Back to top |
|
 |
the axe
Not So New User
Joined: 01 Mar 2009
Posts: 69
|
Posted: October 31st 2009, 3:22 pm Post subject: |
|
|
Brilliant!! It all worked!
Capt. O'Keefe flies to the rescue ...again!
Thanks a million, mate!  |
|
| Back to top |
|
 |
Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.
|
|
| Back to top |
|
 |
londrum
New User
Joined: 12 Oct 2010
Posts: 3
|
Posted: October 12th 2010, 4:01 am Post subject: |
|
|
i haven't read every single post so i apologise if this has been said before, but i think that background image is a bit too busy.
i can't read the writing in the top bar because the black writing is over black bits of the background. the writing doesnt become visible until you scroll the page and get some yellow under it. (im using firefox, 1024 size screen)
also, i dont think the bright orange text on a white background is easy to see for a lot of people. the post description text is very small too. maybe it would be easier to read at that size if you changed to verdana, rather than the times new roman i think you're using at the moment. |
|
| Back to top |
|
 |
the axe
Not So New User
Joined: 01 Mar 2009
Posts: 69
|
Posted: October 31st 2010, 6:46 pm Post subject: |
|
|
Hi Londrum and thanks for your input!
This forum- newer than the co.uk forum I was using- is now Forumotion host's version (Invision). I also use Firefox and have since made a few subtle changes which you might like, based upon your comments.
I seem to be stuck with the 'white block' beneath the header image (I have tried to make it transparent) the background image upon which I was wanting to experiment with the overlaid text there? |
|
| Back to top |
|
 |
Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.
|
|
| Back to top |
|
 |
|