<tr style="height:5px" id="TRRSHeaderTrialBar" name="TRRSHeaderTrialBar" style='display:none'>
<tr id="TREmail" name="TREmail" style="height:1px;" nowrap style='display:none'>
Using the code snippet above to hide the bar works well in Internet Explorer, but not in Firefox or Chrome. To address this issue, I added the following JavaScript:
document.getElementById("TREmail").style.display = "none";
document.getElementById("TRRSHeaderTrialBar").style.display = "none";
The element TRRSHeaderTrialBar
contains tab pages, while TREmail
contains two buttons. Upon page load, TRRSHeaderTrialBar
behaves as expected, but TREmail
initially shows the buttons and hides them after the page finishes loading.
To ensure that the buttons are hidden during page load, you can modify the scripts accordingly.