The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> IE7 Quirk re links
ShadowyBob
post Oct 29 2006, 08:14 PM
Post #1


Advanced Member
****

Group: Members
Posts: 101
Joined: 6-October 06
From: Peterborough, UK
Member No.: 354



Could anyone with IE7 please check out a couple of my web pages? I would like to know if its my set-up or a general IE7 problem.

My scenario is as follows: click on either of the navigation buttons at the top of the page to go to the next or previous page, then do the same on the next page, but return to the original page. After doing this twice, I get the message "Internet Explorer cannot open the Internet site etc............ Operation aborted." After this, I cannot return to any page where the message has appeared without clearing my cache.

Link for testing : Paperback Artwork 1962-1964
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post Oct 30 2006, 11:13 AM
Post #2


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



Found this
http://www.ryangrant.net/archives/internet...-google-map-api
and this
http://nslog.com/2005/11/04/iewin_and_forum_problems/

Hope this helps.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ShadowyBob
post Oct 30 2006, 06:44 PM
Post #3


Advanced Member
****

Group: Members
Posts: 101
Joined: 6-October 06
From: Peterborough, UK
Member No.: 354



Thanks stjepan, already found the 1st link, but that seems to be tied in with the Google map and I don't have that.

Unfortunately the second link doesn't work - any chance you can check it out?

Thanks again
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post Oct 31 2006, 08:51 AM
Post #4


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



QUOTE
Unfortunately the second link doesn't work - any chance you can check it out?


Try cut and paste
nslog.com/2005/11/04/iewin_and_forum_problems/
(put http:// in front although it should work without it)
It describes a problem from various points of news, not all connected with Google map, on post is similar to your problem - look for "'I've uploaded two files, both of which should have full static URLs for all images and scripts" down the page.

Another link is
channel9.msdn.com/wiki/default.aspx/Channel9.InternetExplorerProgrammingBugs
Look for "Operation aborted", it's half way down the page.

We'll search until we find the solution smile.gif

This post has been edited by stjepan: Oct 31 2006, 08:54 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ShadowyBob
post Oct 31 2006, 04:52 PM
Post #5


Advanced Member
****

Group: Members
Posts: 101
Joined: 6-October 06
From: Peterborough, UK
Member No.: 354



Thanks stjepan, link now works OK - must have been an IE7 problem!!

OK, what I'm picking up is that everyone thinks the problem is related to JavaScript in some way and does not just apply to IE7 (I never had any problem before IE7).

Working on that principle I have examined my offending pages and apart from straight css and html the only added bits are two short SSI includes, one of which contains a JavaScript navigation procedure.

I systematically removed each include, cleared my cache each time and re-ran the pages. Same problem, even when the pages were down to plain html/css. So it looks as if I don't fit into any of the discussions so far. I have noticed that my text-only (apart from backgrounds) pages don't seem to suffer.

When I've got more time - have to dash off to watch BBC FOUR's 'The Haunted Airman' (an adaptation of one of my favourite author's novels) - I'll do a more detailed attempt at more of my pages and see if I can detect a pattern in the design of the pages.

This post has been edited by ShadowyBob: Oct 31 2006, 04:53 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ShadowyBob
post Oct 31 2006, 09:10 PM
Post #6


Advanced Member
****

Group: Members
Posts: 101
Joined: 6-October 06
From: Peterborough, UK
Member No.: 354



You are NOT going to believe my solution!

I found a pattern in the groups of pages that generated the problem and removed the #top from the end of my <a href="page.htm"> links!. No longer any problem.

Now explain that!

I have, sort of, emulated the problem with the following code which includes the basics of most of my pages:
aalinktest1.htm
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-gb">
<title>link test page 1</title>
<meta name="AUTHOR" content="My Name, 2006">
<meta name="DESCRIPTION" content="">
<meta name="KEYWORDS" content="">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="stylefonts.css" type="text/css">
<style type="text/css"><!--

--></style>
</head>
<body>
<p><a href="aalinktest2.htm">Test page 2</a></p>
<p><!--#include virtual="/included/sitedir.htm" --></p>
<p class="sansc" align="center" style="font-size:small; margin: 0 20px 0 20px">This page last updated <!--#include virtual="/included/modified_date.htm" -->     Copyright © 2002-2006 My Name.</p>
</body>
</html>

aalinktest2.htm
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-gb">
<title>link test page 2</title>
<meta name="AUTHOR" content="My Name, 2006">
<meta name="DESCRIPTION" content="">
<meta name="KEYWORDS" content="">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="stylefonts.css" type="text/css">
<style type="text/css"><!--

--></style>
</head>
<body>
<p><a href="aalinktest1.htm">Test page 1</a>    <a href="aalinktest3.htm">Test page 3</a></p>
<p><!--#include virtual="/included/sitedir.htm" --></p>
<p class="sansc" align="center" style="font-size:small; margin: 0 20px 0 20px">This page last updated <!--#include virtual="/included/modified_date.htm" -->     Copyright © 2002-2006 My Name.</p>
</body>
</html>

aalinktest3.htm
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-gb">
<title>link test page 3</title>
<meta name="AUTHOR" content="My Name, 2006">
<meta name="DESCRIPTION" content="">
<meta name="KEYWORDS" content="">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="stylefonts.css" type="text/css">
<style type="text/css"><!--

--></style>
</head>
<body>
<p><a href="aalinktest2.htm">Test page 2</a></p>
<p><!--#include virtual="/included/sitedir.htm" --></p>
<p class="sansc" align="center" style="font-size:small; margin: 0 20px 0 20px">This page last updated <!--#include virtual="/included/modified_date.htm" -->     Copyright © 2002-2006 My Name.</p>
</body>
</html>


Why 3 pages? For some reason there is not a problem when only two pages are involved. And I say "sort of emulated the problem" because the above examples don't generate the IE7 error message, but after a few navigations between the pages, the navigations cease to work. Remove the #top from the end of the links and the problem disappears!

This post has been edited by ShadowyBob: Oct 31 2006, 09:12 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 1 2006, 07:16 AM
Post #7


.
********

Group: WDG Moderators
Posts: 9,661
Joined: 10-August 06
Member No.: 7



QUOTE(ShadowyBob @ Nov 1 2006, 03:10 AM) *

You are NOT going to believe my solution!

I found a pattern in the groups of pages that generated the problem and removed the #top from the end of my <a href="page.htm"> links!. No longer any problem.


I don't see any "page.htm" links in your example pages, is it part of the included content? What does the file "sitedir.htm" contain?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ShadowyBob
post Nov 1 2006, 07:43 PM
Post #8


Advanced Member
****

Group: Members
Posts: 101
Joined: 6-October 06
From: Peterborough, UK
Member No.: 354



Sorry Christain J, mixing my metaphors, or should I say examples!

The initial reference of "page.htm" was nothing to do with the examples which followed; reading others' offerings, perhaps I should have used the expression "foo.htm".

Re the examples "foo.htm" becomes "aalinktest1.htm, aalinktest2.htm and aalinktest3.htm", and the following show the type of content contained in the files "/included/sitedir.htm" and "/included/modified_date.htm":

/included/sitedir.htm:
CODE
<form action="">
  <p style="text-align: center"><select name="menu1" size="1"
  onchange="location.href=(form.menu1.options[form.menu1.selectedIndex].value)"
  class="sansb" style="font-size: small; background: #FFFFFF; color: #000000">
    <option value="#">------ Site Map ------</option>
    <option value="index.html">Home</option>
    <option value="contents.htm">Site Contents</option>
    <option value="whatsnew.htm">What’s New</option>
    <option value="aboutsite.htm">About This Site</option>
... ...
    <option value="#"> </option>
  </select> </p>
</form>


/included/modified_date.htm:
CODE
<!--#config timefmt="%A %d %B, %Y." --><!--#echo var="LAST_MODIFIED" -->


This post has been edited by ShadowyBob: Nov 1 2006, 07:47 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 1 2006, 08:11 PM
Post #9


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(ShadowyBob @ Nov 1 2006, 04:43 PM) *
CODE
<form action="">
  <p style="text-align: center"><select name="menu1" size="1"
  onchange="location.href=(form.menu1.options[form.menu1.selectedIndex].value)"
  class="sansb" style="font-size: small; background: #FFFFFF; color: #000000">
    <option value="#">------ Site Map ------</option>
    <option value="index.html">Home</option>
    <option value="contents.htm">Site Contents</option>
    <option value="whatsnew.htm">What’s New</option>
    <option value="aboutsite.htm">About This Site</option>
... ...
    <option value="#"> </option>
  </select> </p>
</form>
I recommend against this approach to site navigation. It doesn't work when JavaScript is disabled/unavailable, leaving a useless form widget that may confuse the user. Furthermore, it violates the normal expectations for form widgets. Selecting a value should not "do" anything until the form is submitted. When your form widget works, it causes something that looks like a form submission when the user has merely selected a value.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 2 2006, 09:46 AM
Post #10


.
********

Group: WDG Moderators
Posts: 9,661
Joined: 10-August 06
Member No.: 7



If I understood correctly, this:
CODE
<p><!--#include virtual="/included/sitedir.htm" --></p>

includes this:
CODE
<form action="">
  <p ...

...which is invalid HTML (P inside FORM inside P). The validator also complains about this character: in
CODE
<option value="whatsnew.htm">What’s New</option>


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ShadowyBob
post Nov 2 2006, 10:51 AM
Post #11


Advanced Member
****

Group: Members
Posts: 101
Joined: 6-October 06
From: Peterborough, UK
Member No.: 354



QUOTE("Darin McGrew")
... I recommend against this approach to site navigation. It doesn't work when JavaScript is disabled/unavailable, ...
As I have said in previous topics, this is an alternative to the normal html page navigation, not a substitute.

Thanks for the validation checks Christian J, I will correct.

However I think both of you have sidestepped the topic subject. Am I wrong in assuming some satisfaction at 'solving' an IE7 problem?

This post has been edited by ShadowyBob: Nov 2 2006, 11:05 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ShadowyBob
post Nov 2 2006, 11:10 AM
Post #12


Advanced Member
****

Group: Members
Posts: 101
Joined: 6-October 06
From: Peterborough, UK
Member No.: 354



QUOTE(Christian J @ Nov 2 2006, 02:46 PM) *

The validator also complains about this character: in
CODE
<option value="whatsnew.htm">What’s New</option>



Don't know which Validator you were using, Christian J, or how you set it up, but WDG's Validator, set for Character encoding: UTF-8, finds "What’s New" perfectly acceptable.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 2 2006, 01:26 PM
Post #13


.
********

Group: WDG Moderators
Posts: 9,661
Joined: 10-August 06
Member No.: 7



QUOTE(ShadowyBob @ Nov 2 2006, 04:51 PM) *

Am I wrong in assuming some satisfaction at 'solving' an IE7 problem?


Not at all, but I don't have IE7 so I'm clutching at straws. blush.gif

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 2 2006, 01:34 PM
Post #14


.
********

Group: WDG Moderators
Posts: 9,661
Joined: 10-August 06
Member No.: 7



QUOTE(ShadowyBob @ Nov 2 2006, 05:10 PM) *

Don't know which Validator you were using, Christian J, or how you set it up, but WDG's Validator, set for Character encoding: UTF-8, finds "What’s New" perfectly acceptable.


Sorry, I pasted it into
http://htmlhelp.com/tools/validator/direct.html.en but forgot to change the character encoding in the SELECT menu. blush.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 09:50 PM