CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   DOM and JSON scripting (http://www.codingforums.com/forumdisplay.php?f=15)
-   -   Change a url on my home page... (http://www.codingforums.com/showthread.php?t=286220)

brookfloyd 01-22-2013 01:40 AM

Change a url on my home page...
 
Hello,

I am fairly new (let's say a novice) with javascript. I have, what I think is an easy task, in making a url on my home page turn into a different url when clicked. Right now the url is delivered to the page as http://www.mixnob.com/defaul.html and am wanting it to just change to be a link to my home page http://www.mixnob.com.

The original link can't be changed as it is being created dynamically. So I figured javascript could solve the issue. I'm just a little unclear on how to do it. I have read up on many options for changing something in dom to become something else, but don't know the actual code to accomplish it.

Any help would be appreciated.

WolfShade 01-22-2013 02:15 PM

It's not a scripting issue. Whichever web server you're using (IIS, Apache, etc.) needs to be told that "default.html" or whatever document (index.html, home.html, etc.) is a "default document" so that when a URL without a doc name is searched, that file will be pulled up.


All times are GMT +1. The time now is 10:59 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.