Quote:
Originally Posted by KamuiX
Ahhhh Just noticed a flaw when checking the hack with Mac's Safari browser. The text box stretches for however much news is contained within... gah.
Any idea how to have browser detection for this, so that either the news hack isn't there for Safari, or at least closed?
If you have Safari and want to see the occurance, my forum's here: http://www.animegamer.com/forums/index.php
|
Put the news part in a conditional that check the browser and have it do whatever you want for different browsers.
PHP Code:
<if condition="is_browser('safari')">
// Stuff For Safari Here
<else />
// Stuff For Other Browsers Here
</if>
If you don't want anything to show for safari, use:
PHP Code:
<if condition="!is_browser('safari')">
// Stuff For Browsers Other Than Safari Here
</if>