#top in Opera (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


Edge -> #top in Opera (6/28/2006 12:20:43)

I do not know if this is common knowledge, but I recently noticed that the #top hyperlink does not work in Opera.

#top works fine in IE and FF, but not Opera, at least the version 9 I recently downloaded.

So I created a bookmark at the very top call "toppage" and hyperlinked to #toppage and it works in all three browsers.

Ed





Tailslide -> RE: #top in Opera (6/28/2006 12:28:41)

What anchor markup were you using that wasn't working (if you see what I mean). Where you using name="", id="" or both or attaching the id to a div for instance?




Edge -> RE: #top in Opera (6/28/2006 13:40:28)

I am not exactly sure what you are asking.

First, let me say I am using FP2003. When I want a link at the bottom of the page that says "Top", I would highlight the word "Top" and set up a hyperlink by typing in #top (see photo below). In IE and FF, clicking on the hyperlink will take you to the top of the page without setting any special bookmark. But this does not work for Opera. Here is a page that works in both IE and FF: http://www.bennygordon.us/archives/release_062006_old.htm

[image]http://www.edgesz28.com/edgesz28/pictures/misc/top.jpg[/image]


So as I built the page, I went to the top and named a bookmark called "toppage". Then I set up the hyperlink using the named bookmarks (see photo below). Here is the page that now works in all three browswers: http://www.bennygordon.us/archives/release_062806.htm

[image]http://www.edgesz28.com/edgesz28/pictures/misc/toppage.jpg[/image]

When I view the source of the "toppage" page, I see the name="" you were talking about. I do not see anything like that when I just typed #top into the hyperlink address. But like I said earlier, it works in both IE and FF, just not Opera.

</head>

<body class="body">

	<div align="center">
		<a name="toppage"></a>
		<table width="760" id="table15" cellpadding="0" cellspacing="0" class="td1">
			<tr>
				<td style="border-style: none; border-width: medium">


Ed








Tailslide -> RE: #top in Opera (6/28/2006 13:54:46)

Yeah that's the same code I'd use - in your second example (but also with id="top" in there too).

I can't figure out how your old example is working in FF and IE - and it is definitely working!

Usually what you'd get is the #top for example either referring to a link as per your second example or referring to an element with the id or name of "top" but for the life of me I can't see any in there! It's spooky.... you're old webpage is obviously haunted that's the only logical explanation [8|] oh apart from that I'm going blind!


Edit:
sorry Ed I know you're doing this via FP rather than coding directly, I was just trying to understand what exactly was happening in the code.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.347656E-02