Search Results

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: kkeith29 ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Sep 28th, 2007
Replies: 9
Views: 2,299
Posted By kkeith29
i found a problem. if the user uses www in front of the url it doesn't work. you need to add these to the javascript code.


<script type="text/javascript">
var href = window.location.href;
if...
Forum: JavaScript / DHTML / AJAX Sep 28th, 2007
Replies: 9
Views: 2,299
Posted By kkeith29
i tried it on six different browsers and they all worked. firefox worked just fine when i typed in your url. what exactly is the problem? it maybe the version, thats the only thing i can think of.
Forum: JavaScript / DHTML / AJAX Sep 28th, 2007
Replies: 9
Views: 2,299
Posted By kkeith29
try this:


<script type="text/javascript">
var href = window.location.href;
if (href == 'http://yoursite.com/') {
window.location='site_1/index.html';
}
else {...
Forum: JavaScript / DHTML / AJAX Sep 27th, 2007
Replies: 9
Views: 2,299
Posted By kkeith29
stuff concerning domains and what folder they are directed to has to deal with server configuration. there is no need to make a script to do this for you.
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC