Skip navigation
Currently Being Moderated

Help please, I cant get links to work.

Apr 9, 2012 4:08 AM

Tags: #dreamweaver #links #code

Hello

 

First of all allow me to apologise if this question is in the wrong section.

 

I am a student and im working on a project for college.

 

I downloaded a template for a site and i am trying to change the links from a submenu to point to another page.

 

everything seems to work when i mouse over, the software recognises that it is a link and the appropriate highlights appear, however when i click on it in a browser nothing happens.

 

I am including the code below and i really hope somebody could help me.

 

thanks in advance.

 

<!-- Submenu div -->

  <div id="submenu_mask">

   <div id="submenu">

    <div><span><a href="therange.html" title="therange" target="_self" >The Range</a></span><span class="dot">.</span><span><a href="gallery.html" title="gallery" target="_self">Gallery</a></span><span class="dot">.</span><span><a href="contact us.html" target="_self" >Contact us</a></span></div>

   </div>

  </div>

 
Replies
  • Currently Being Moderated
    Apr 9, 2012 4:23 AM   in reply to sibshah

    Where are the other pages in relation to the page that you are linking from?

     

    The links that you have at the moment assume that the therange.html, gallery.html and contact us.html are in the same folder as the page with the links in.

     

    BTW, it is not a good idea for a web file or folder to have spacesinthefilename: contactus.html or contact_us.html or contact-us.html

     

    Martin

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 9, 2012 4:35 AM   in reply to sibshah

    This is pretty much your code in my page:

     

    They are absolute URLs but it worked OK with relative links as well.

     

    Martin

     

    martcol.co.uk/test/simplelink.html

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 9, 2012 4:54 AM   in reply to sibshah

    sibshah wrote:

     

    Would it help if i posted the code for the index file?

     

    Again i really appreciate people taking the time out to help me with this:)

     

    Can you upload the page live somewhere as its much easier to check out if we can access a live page?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 9, 2012 10:29 AM   in reply to sibshah

    Your site is probably not defined correctly. If I navigate to "www.mododivivere.com" and look at the source code, I see many references to resources located up one directory, which would be above site root and is not valid. Check your local and remote site definitions again. You may just need to relink your resources.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 9, 2012 10:30 AM   in reply to sibshah

    Your site is probably not defined correctly. If I navigate to "www.mododivivere.com" and look at the source code, I see many references to resources located up one directory, which would be above site root and is not valid. Check your local and remote site definitions again. You may just need to relink your resources.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points