Image map headers and footers in Match Context result pages - problem

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Image map headers and footers in Match Context result pages - problem

Post by Thunderstone »



Hi,

We are running the free webinator on an IIS 4 NT box.
We have inserted an image map header into the newsearch script:

<!------------ HTML at the top of every page --------------------->


<A NAME=top>
.snip..
</IF>

<map name="FPMap0">
<area href="http://www.lincoln.ac.nz:800/default.htm" shape="rect"
coords="0, 0, 140, 40"
alt="Lincoln University Homepage">
</map>
<img border="0" src="http://www.lincoln.ac.nz:800/images/menuimg.gif"
usemap="#FPMap0" width="625" height="41">

<P>
</A>

Works fine on the Search page, Search results page, Find Similar and
Show Parents result pages - but on the Match Info page the image
displays but there are no hot spots under Netscape 4. Under IE 5 it
works as expected. The same thing happens if I put the image map into
the section that controls bottom of page HTML.

If I cut and paste the View source of the "faulty" displayed page -
and put it onto my web server as a regular document it works as
expected under Netscape 4. Something in the way texis processes the
Match Info seems to be at fault.

Anyone have an example of an image map banner on all pages that works?

Royston Boot
ITS
Lincoln University
Canterbury, New Zealand



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Image map headers and footers in Match Context result pages - problem

Post by Thunderstone »



It would seem that a persistent problem with netscape is showing itself
in a new way. Netscape has always had problems handling "#" location
anchors in urls. The "match info" page uses one to jump directly to the
first match on the page.

Unless someone out there has some way of making netscape behave, you
would probably have to remove the anchor from the urls. Near the bottom
of the "<a name=results>" function in the default search script
you'll find a line like this:
<a href="$url/$urlq&cmd=context&id=$id#hit1">Match Info</a><br>
Remove the "#hit1":
<a href="$url/$urlq&cmd=context&id=$id">Match Info</a><br>




Post Reply