Hi all..
I didn't post this in the coder's forum as it's not LFS related, but I know there's a few web coders around here
I've hit an anomaly that I've not come across before.. on one of the pages, IE6 doesn't want to display the text for the main content until either the window is covered and then shown again (alt+tab to a new app and back again, for example, ie: the UI gets redrawn) or I hit the refresh button.
I've attached 2 pics: 'ie_fscked_00.png' is what I get when I click on the link from the left-hand navigation link and 'ie_fscked_01.png' is what I get when I refresh (or the IE UI gets redrawn), which is obviously the desired result.
I've also added the code for the page (Smarty-based, see below) for anyone willing to have a nose about, although I can't see anything wrong with the code. The strange part is the index.php (Home) page works as expected, yet this b0rked page is almost the same (index.tpl was loaded and then one section removed and resaved as a different filename).
It works hunky-dorey in Firefox, no problems at all.
Has anyone else come across anything like this previously? Although it's being done voluntarily for my bro's boss, I can't turn around and say "tough, it's for Firefox users only"
Page code:
PS: Ignore the unfinished layout / graphics
Regards,
Ian
I didn't post this in the coder's forum as it's not LFS related, but I know there's a few web coders around here
I've hit an anomaly that I've not come across before.. on one of the pages, IE6 doesn't want to display the text for the main content until either the window is covered and then shown again (alt+tab to a new app and back again, for example, ie: the UI gets redrawn) or I hit the refresh button.
I've attached 2 pics: 'ie_fscked_00.png' is what I get when I click on the link from the left-hand navigation link and 'ie_fscked_01.png' is what I get when I refresh (or the IE UI gets redrawn), which is obviously the desired result.
I've also added the code for the page (Smarty-based, see below) for anyone willing to have a nose about, although I can't see anything wrong with the code. The strange part is the index.php (Home) page works as expected, yet this b0rked page is almost the same (index.tpl was loaded and then one section removed and resaved as a different filename).
It works hunky-dorey in Firefox, no problems at all.
Has anyone else come across anything like this previously? Although it's being done voluntarily for my bro's boss, I can't turn around and say "tough, it's for Firefox users only"
Page code:
{* $Id$ *}
{assign var='page_title' value='About Us'}
{include file='header.inc.tpl' title="$page_title"}
<div id="container">
{include file='header_logo.inc.tpl'}
{include file='main_menu.inc.tpl'}
<div id="content">
<div id="content-inner">
<div id="main-content">
<div class="info-section">
<h1>Primary Heading <img src="/images/balls_secondary.png" alt="" class="balls-secondary" /></h1>
<img src="/images/stock/man_sitting.jpg" alt="" class="stock-image-left" />
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus sapien felis, scelerisque convallis,
mattis ac, eleifend eu, nunc. Vestibulum iaculis augue et turpis. In pharetra. Etiam egestas metus.
Praesent in justo in risus sagittis aliquet. Mauris luctus, tortor vel viverra lobortis, lorem nisi semper
nibh, vitae mollis felis tortor ac nibh. Maecenas porta. Pellentesque aliquet lobortis leo. Sed dignissim
enim eget massa. Vestibulum sodales. Praesent dignissim sem. Pellentesque eget lorem in mi pretium varius.
Aliquam lacus sapien, malesuada in, vulputate id, vehicula in, est. Morbi vitae purus. Maecenas sed lorem
quis nisl lacinia pellentesque. Curabitur non enim. Integer purus est, tempor id, sollicitudin in, aliquam
in, erat.
</p>
</div>
</div>
</div>
<div class="plf"> </div>
{include file='left_col_addy.inc.tpl'}
</div>
{include file='footer_bar.inc.tpl'}
</div>
{include file='footer.inc.tpl'}
PS: Ignore the unfinished layout / graphics
Regards,
Ian