| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | location.hostname I'm using location.hostname in javascript to display the domain name for my website. For example, if you go to domain.com location.hostname will show domain.com. If you go to www.domain.com, the location.hostname will also display www.domain.com. I want to just display the domain name as formatted like Domain.com capital first letter and no www in front. I saw this script before and I can't find it. I even saw something that it will automatically use letter image to display your location.hostname result. Care to share if you know this script.
__________________ Start your own domain business visit http://RESELLER.KING.NET My Blog KING.NET daily updates. http://www.twitter.com/KingNET DNCon.com - Domaining for Business!. FREE Service for all. Moscom.com 24x7 Web Hosting (480) 624-2500. Michigan.TV SM.TV Last edited by TheWatcher; 11-19-2007 at 12:38 PM. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |