Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links don't work

Status
Not open for further replies.

snix1

Programmer
Dec 12, 2000
107
0
0
US
Hi! I have an online course I've migrated to a CD with an autoload. When I load the course on my PC, it works just fine and all the links work, too.

However, I've attempted to run the course from the CD on my laptop and now many links do not work. These are just your basic <a href=&quot;file.htm&quot;> type links with a graphic button. I was getting a Javascript error (Object expected) on the laptop, but I removed the Javascript, which only did the rollover images, to test it. No javascript errors now, but the link still does not work. All scripts are on the CD and I can advance page by page with no problem.

Here is a code fragment: (works on my PC)
<tr id=&quot;navigation_cell&quot;>
<td height=&quot;25&quot;>
<table id=&quot;Naviagtion&quot; width = &quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; border=&quot;0&quot;>
<tr>

<td valign=&quot;bottom&quot; height=&quot;38&quot; align=&quot;right&quot;> <a href=&quot;menu.htm&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Menu','','images/nav_buttons/menu_over.gif',1)&quot;><img src=&quot;images/nav_buttons/menu.gif&quot; alt=&quot;Menu&quot; name=&quot;Menu&quot; width=&quot;66&quot; height=&quot;21&quot; hspace=&quot;2&quot; border=&quot;0&quot;></a><a href=&quot;glossary.htm&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Glossary','','images/nav_buttons/glossary_over.gif',1)&quot;><img src=&quot;images/nav_buttons/glossary.gif&quot; alt=&quot;Glossary&quot; name=&quot;Glossary&quot; width=&quot;89&quot; height=&quot;21&quot; hspace=&quot;2&quot; border=&quot;0&quot;></a><a href=&quot;javascript:window.close()&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Exit','','images/nav_buttons/exit_over.gif',1)&quot;><img src=&quot;images/nav_buttons/exit.gif&quot; alt=&quot;Exit Course&quot; name=&quot;Exit&quot; width=&quot;54&quot; height=&quot;21&quot; hspace=&quot;2&quot; border=&quot;0&quot;></a></td>
<td width = &quot;20&quot;>   </td>
<td valign=&quot;bottom&quot; width = &quot;35&quot;> <div align=&quot;center&quot;>
</div></td>

<td valign=&quot;bottom&quot; width = &quot;120&quot;> <div align=&quot;center&quot;><font color=&quot;#FFCC00&quot; size=&quot;2&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>Page <script language=&quot;javascript&quot;>
document.write(page + &quot; of &quot; + maxpage); </script>

</font></div></td>

<td valign=&quot;bottom&quot; width = &quot;35&quot;> <div align=&quot;center&quot;>
<a href=&quot;1010_020.htm&quot; onMouseOut=&quot;MM_swapImgRestore()&quot; onMouseOver=&quot;MM_swapImage('Forward','','images/nav_buttons/forward_button_over.gif',1)&quot;><img align=&quot;absbottom&quot; src=&quot;images/nav_buttons/forward_button.gif&quot; alt=&quot;Forward&quot; name=&quot;Forward&quot; width=&quot;24&quot; height=&quot;24&quot; border=&quot;0&quot;></a>
</div>

</td>
</tr>

Sorry if this is a silly question, but it's driving me crazy. Thanks!
 
You say the scripts are on the CD?

Are you telling your page to link to them?

Code:
<script language=&quot;Javascript&quot; type=&quot;text/javascript&quot; src=&quot;myScripts.js&quot;>

If you aren't then that could be the reason the links aren't working.
 
Thanks so much for your reply. While the problem was driving me crazy, I finally tested the CD on another laptop and PC. It worked great on those. I have no idea why it doesn't work on my laptop, though. I am now assuming it's something to do with the laptop? This doesn't seem to make a whole lot of sense, though.

Thanks for your help.

The javascript file is linked in.
 
It seems that my links work for IE 5.5 or below. With IE 6.0 they don't work!!!

What's up with that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top