Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2013
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Regular Coder
    Join Date
    Apr 2012
    Location
    St. Louis, MO
    Posts
    985
    Thanks
    7
    Thanked 101 Times in 101 Posts
    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.
    ^_^

    If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
    *
    The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •