PDA

View Full Version : My Links Work Online... But Not Offline?


CalmWaters
August 4th, 2007, 09:10 PM
Really puzzled... I downloaded a web template from a website but the links on the right hand side don't seem to work when its offline. However, when I'm online the links work fine.

The problem is not connecting to the desired page, the links just don't seem to activate. It's as if they're set to link to # rather than the page name.

If anyone wants a look, the site is hosted at www.appleyardscomputer.co.uk/motherload (http://www.appleyardscomputer.co.uk/motherload) and its the long list of links down the right hand side of the page that don't seem to work (only links upto "utilities" are currently hosted, so dont go checking out the others :P )

Any ideas/solutions greatly appreciated!

EDIT: If anyone wants to take a look at the offline version, the template is called "Earthling", search it on Google and you're sure to find it :D

Buzz
August 4th, 2007, 09:25 PM
Do you have all the link pages sitting in the same directory as the template off line?

CalmWaters
August 5th, 2007, 09:05 AM
Yes I do; as I said before the problem isnt the website not locating the desired page, its like the links are set to #, they just don't work. I should also point out that I'm using IE7 and it works fine in Firefox 2

Noticed something else as well... if you look at the top of the page, there are three links: Home, About and Contact. The links on the right hand side work fine offline then you click one of the top links (Home, About, Contact) and then the links on the right STOP working offline. Its all very confusing :(

renegade600
August 5th, 2007, 09:18 AM
try deleting your temporary internet files.

CalmWaters
August 5th, 2007, 09:48 AM
Thanks, but it still doesn't work... If it works online should I just forget about the fact that it doesn't work offline because its not that important?

renegade600
August 5th, 2007, 10:00 AM
if your links are direct to an online site when you are offline or if the the links do not point to the page stored on your computer, then it will not work.

You need to check the offline link and make sure the actual page is at that location on your computer..

Buzz
August 5th, 2007, 10:32 AM
Basically, there is nothing, absolutely nothing, in the code that would elude to the links not working offline. Therefore it must be something regarding the structure of the files offline.

CalmWaters
August 5th, 2007, 10:54 AM
Thats EXACTLY what I thought. The code seems to be solid! And the page structure is fine.

But, for some reason offline and in IE7, the top links bar de-activates the right link bar when clicked! Gaah! :confused:

Oh well, thanks for taking a look guys, I guess I can manage. Thanks :)

rockboy
August 5th, 2007, 11:29 AM
...
Noticed something else as well... if you look at the top of the page, there are three links: Home, About and Contact. The links on the right hand side work fine offline then you click one of the top links (Home, About, Contact) and then the links on the right STOP working offline. Its all very confusing :(

I don't know if this is related but some of your top links have a problem. Fix it and see what happens. Add a space before title=.
<li><a href="about.html"title="About Us">About</a></li>
<li><a href="contact.html"title="Contact Us">Contact</a></li>

oracle128
August 5th, 2007, 12:09 PM
It's a CMS, which means the links are probably generated from a database, and aren't working offline because they're not going through a PHP parser.

CalmWaters
August 5th, 2007, 03:47 PM
Thanks for trying rockboy, but it didn't work.

Gawsh oracle is knowledgable... I'll take it thats the problem, thanks everyone