I have an html script going like this: which is in mymain.html

<a id="temples" href="mytemples.html">Temples</a><br>
<a id="festivals" href="myfestivals.html">Festivals</a><br>

When I click on Temples link , I am taken to mytemples.html , which again has the folowing links :

<a id="home" href="mymain.htm">Home</a><br>
<a id="prev" href="#" onClick="(-1)">Back</a><br>

The funny issue is, when I click on Home, I am still stuck in mytemples.html page, whereas when I click on Back, I am taken
back to mymain.html.

Can anyone help me as to what is wrong in my Home script in my
mytemples.html, that is refusing to invoke mymain.html.

Thanks.

Dani AI

Generated

Brief expert note tied to the thread: sees the Home link work in Firefox and on another PC, but not in IE 6.02 SP2 on one machine. first suggested an extension typo (already checked) and / called out common typos and unclosed markup. The pattern — works elsewhere, fails only in one IE instance — points to environment or browser-quirk causes rather than the simple href text.

Most likely causes to consider:

  • A script or event handler on the page intercepts the click (return false / preventDefault) or fails in IE and prevents the normal navigation.
  • An invisible overlay or positioned element (z-index) is sitting over the link in IE’s rendering, swallowing clicks.
  • Broken HTML earlier in the document (unclosed quotes, tags) makes IE parse the DOM differently than Firefox.
  • A <base> tag or a nonstandard path resolution causes the relative link to resolve incorrectly in that IE instance.
  • An IE add-on, toolbar, or local security/zone setting on that machine is blocking or rewriting navigation.

Focused diagnostics (minimal, reversible steps):

  1. Open the page source in IE and confirm the link target exactly as delivered to the browser.
  2. Right-click the link -> Open in New Window / Copy Shortcut to reveal the resolved URL.
  3. Test a copy of the page with all external scripts/styles removed (or renamed) to see whether a script or stylesheet is interfering.
  4. Temporarily replace the relative URL with an absolute URL (file:/// or http://) to test path resolution.
  5. Clear IE cache and temporarily disable toolbars/add-ons; reset Security zone scripting settings to defaults only for testing.
  6. Validate the page markup (W3C validator) or scan for unclosed quotes/tags; those commonly break IE layout.

IE6 has many quirks; if diagnostics point to an environment issue, consider upgrading the browser or using a standards-capable test machine for development.

Recommended Answers

All 9 Replies

> <a id="home" href="mymain.htm">Home</a><br> I guess the browser is looking for 'mymain.htm' but you have a file named 'mymain.html'. Even though both 'htm' and 'html' are acceptable formats, you can't use them interchangeably.

Do something like: <a id="home" href="mymain.html">Home</a><br>

Yep, one of those problems that get you frustrated when it is just a typo. Try what ~s.o.s~ said :D

Always poofread your work to see if you any letters or words out.

I have an html script going like this: which is in mymain.html

<a id="temples" href="mytemples.html">Temples</a><br>
<a id="festivals" href="myfestivals.html">Festivals</a><br>

When I click on Temples link , I am taken to mytemples.html , which again has the folowing links :

<a id="home" href="mymain.html">Home</a><br>
<a id="prev" href="#" onClick="(-1)">Back</a><br>

The funny issue is, when I click on Home, I am still stuck in mytemples.html page, whereas when I click on Back, I am taken
back to mymain.html.

Can anyone help me as to what is wrong in my Home script in my
mytemples.html, that is refusing to invoke mymain.html.

Thanks.

Hi guys,

The spell mistake was only on this write-up !!!!

To repeat, my html code is with correct spelling.

While mymain.html works ok independantly, it is not if invoked
thro' mytemples.html home -link.

I took these code to another PC, and it works fine !!!!!.


Can anybody help me?
Whether, any change is reqd in Advanced IE settings ?
in IE 6.02 /SP2 which I am using?...

Thanks again.

If you have Firefox, see the Error Console to see if it shows any errors. If not then paste the code of both the files here otherwise we only end up guessing things.

If you have Firefox, see the Error Console to see if it shows any errors. If not then paste the code of both the files here otherwise we only end up guessing things.

Yes. In FireFox... it works perfect. No issues. No errors.

What could be then?

Hi guys,

In firefox browser, whereever dropdown menus are there for a link-text on my horizontal bar, there appears a 'v' at the end of that link-text on the horizontal menu
.
While it does not show for such menu-text link, where there is no dropdown choice.

How should i avoid this 'v' showing up ?

Thanks in advance.

Maybe uploading screenshots would help us in understanding the problem in a better way...

Check for a typo in earlier code. Here are a few causes of grief that can vary with different browsers:

- Forgetting to close a quote on an earlier tag.
- Closing " with '
- Not using the & codes for certain characters.
- Javascript improperly changing code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.