Bookmark Problems in NS4.x

W

Whit

Hi - I'm building a website using FP2000. One page includes a combination of
bookmarks and a simple js-driven pop-up window, to provide additional
details on viewer request. The combo works fine in IE and NS7, but NS4.x
fails to recognize the bookmark anchor, taking me to the top of the pop-up
page. In NS4, the pop-up works fine without the bookmark, and the bookmark
works fine if I eliminate the js to link to a normal webpage. Neither of
those options really gives me what I want.

I know NS4 has issues, I just would like as much backward compatibility as
possible. The website is not yet on a server, but the following is the
related snippets of code:

Initial webpage:
<a href="basket_detail.htm#b1" style="text-decoration: underline"
onclick="NewWindow(this.href,'name','525','330','no');return false;"
target="_blank">Basket Details</a>

Pop-up webpage:
<h4 align="center"><a name="b1"></a><img border="0" src="images/blank15.gif"
width="15" height="15"></h4>

I'd appreciate any suggestions for extending compatibility to NS4. Thanks,
Whit
 
S

Stefan B Rusynko

NN doesn't like empty anchors (neither does the W3C)

Change it to:

<h4 align="center"><a name="b1">
<img border="0" src="images/blank15.gif" width="15" height="15">
</a></h4>

Although I have no idea why you are wrapping an image in a HX tag instead of just a table cell or a <p> if you need a container



--




| Hi - I'm building a website using FP2000. One page includes a combination of
| bookmarks and a simple js-driven pop-up window, to provide additional
| details on viewer request. The combo works fine in IE and NS7, but NS4.x
| fails to recognize the bookmark anchor, taking me to the top of the pop-up
| page. In NS4, the pop-up works fine without the bookmark, and the bookmark
| works fine if I eliminate the js to link to a normal webpage. Neither of
| those options really gives me what I want.
|
| I know NS4 has issues, I just would like as much backward compatibility as
| possible. The website is not yet on a server, but the following is the
| related snippets of code:
|
| Initial webpage:
| <a href="basket_detail.htm#b1" style="text-decoration: underline"
| onclick="NewWindow(this.href,'name','525','330','no');return false;"
| target="_blank">Basket Details</a>
|
| Pop-up webpage:
| <h4 align="center"><a name="b1"></a><img border="0" src="images/blank15.gif"
| width="15" height="15"></h4>
|
| I'd appreciate any suggestions for extending compatibility to NS4. Thanks,
| Whit
|
|
 
W

Whit

Thanks, Stefan - I appreciate the feedback. The <H> tags are FP leftovers.
Originally had text but replaced it with a gif spaceholder.

Stefan B Rusynko said:
NN doesn't like empty anchors (neither does the W3C)

Change it to:

<h4 align="center"><a name="b1">
<img border="0" src="images/blank15.gif" width="15" height="15">
</a></h4>

Although I have no idea why you are wrapping an image in a HX tag instead
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top