Poll: What should be the default theme?
Eos Expanded
firmament_x
Iris Expanded
ONi
subSilver
[Show Results]
 
Post Reply 
Forum Default Theme
Jul. 28, 2005, 05:17 PM
Post: #31
 
*42*? Did Douglas Adams pay us a visit?
Add Thank You Quote this message in a reply
Jul. 28, 2005, 06:15 PM
Post: #32
 
Was thinking the same thing. Smile!
Add Thank You Quote this message in a reply
Jul. 29, 2005, 07:27 PM
Post: #33
 
sidki3003 Wrote:Although i do wonder what kind of script needs to sniff "navigator.userAgent" *42* times.
Well, in European politics we have a term called "constructive motion of no-confidence".
It translates to: "If you don't offer an alternative, shut the f**k up!"

So... I don't know if that change can be easily done in the PHP script, but i think a rather resource/CPU/Opera/Prox-filter friendly solution would be to add this script to the <head> block...
Code:
<script language="JavaScript" type="text/javascript"><!--
var isIE = (document.all && document.getElementById && !window.opera) ? 1 : 0;
//--></script>
...and to replace (the forum code tag refused to work for below strings)...
Quote:if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
...with...
Quote:if (isIE)

Above concerns the ONi theme only. I've just quick-tested it in the three browsers and NN 4.8.

sidki
Add Thank You Quote this message in a reply
Jul. 29, 2005, 07:35 PM
Post: #34
 
Done Smile!
Visit this user's website
Add Thank You Quote this message in a reply
Jul. 29, 2005, 07:49 PM
Post: #35
 
Big Teeth
Add Thank You Quote this message in a reply
Jul. 29, 2005, 07:54 PM
Post: #36
 
Thanks Sidki Wink (BTW, happy 500th post Big Teeth)
Visit this user's website
Add Thank You Quote this message in a reply
Jul. 29, 2005, 11:51 PM
Post: #37
 
Oh, right! Thanks Smile!
Add Thank You Quote this message in a reply
Jul. 31, 2005, 01:29 PM
Post: #38
 
The poll is closed.

I've changed the default theme to ONi accordingly. If anyone still gets a broken layout with this theme, please start screaming, and i'll switch back to Iris until Kye-U comes back. Smile!

sidki
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: