yakan531 Moderatör
Mesaj Sayısı : 207 Kayıt tarihi : 16/11/09 Yaş : 28
| Konu: Ziyaretçinizin browser modeline göre farklı sayfalara gönderebileceğiniz bir link örneği. Çarş. Şub. 10, 2010 3:50 pm | |
| - Kod:
-
<script LANGUAGE="Javascript"> <!-- Hiding from other browsers
// Browser Detector (v. 1.0) // Author: Jason Tschopp // Email: tschopp( at )greenapple.com // Url: http://www.greenapple.com/~tschopp/ // Notes: Permission is granted to anyone for use // on the internet, provided this header stays with // the script and this header stays in intact.
var name = navigator.appName if (name == "Microsoft Internet Explorer")
url=("explorer.html");
else
url=("nestcape.html")
document.write('<A HREF="' + url + '">TIKLA</A>'); // --> </script>a | |
|