
August 20th, 2005, 12:45 AM
| | | <a name="#top">
Hi Group...
<a name="#top"></a>
----del----
----del----
<img SRC="images/top.gif" USEMAP="#top" BORDER=0>
<map NAME="top">
<area SHAPE=RECT COORDS="2,1,33,15" HREF="#top" ALT=""
OnMouseOut="window.status=''; return true"
OnMouseOver="window.status='';
return true">
<area SHAPE=default HREF="#top">
</map>
Why does the code above work with: (all current versions)
IE
Netscape
Firefox
But not with Opera?
Gufus
.... Why glue my bills together? It's a mail bonding ritual. | 
August 20th, 2005, 02:55 AM
| | | Re: <a name="#top">
On Fri, 19 Aug 2005 23:35:40 GMT, NOSPAM.gbbsg@shaw.ca (Gufus) wrote:
[color=blue]
>Hi Group...
>
><a name="#top"></a>
>
>----del----
>
>----del----
>
><img SRC="images/top.gif" USEMAP="#top" BORDER=0>
><map NAME="top">
><area SHAPE=RECT COORDS="2,1,33,15" HREF="#top" ALT=""
>OnMouseOut="window.status=''; return true"
>OnMouseOver="window.status='';
>return true">
><area SHAPE=default HREF="#top">
></map>
>
>Why does the code above work with: (all current versions)
>
>IE
>Netscape
>Firefox
>
>But not with Opera?
>
>
>
> Gufus
>
>... Why glue my bills together? It's a mail bonding ritual.[/color]
I don't know, but I'll bet a nickel it will work in Opera
if you make it:
<a name="#top"> </a> or anything else as marker.
Mason C | 
August 20th, 2005, 06:35 AM
| | | Re: <a name="#top">
Gufus wrote:[color=blue]
> <a name="#top"></a>[/color]
<a name="top"> </a>
you only use "#" for the link (i.e. <a href="#top">) also you don't
have to use the a tag you could use any tag.
<div id="wrapper">....blah...<a href="#wrapper">TOP</a></div> | 
August 20th, 2005, 07:35 AM
| | | Re: <a name="#top"> NOSPAM.gbbsg@shaw.ca (Gufus) wrote:
[color=blue]
><a name="#top"></a>
>
>Why does the code above work with: (all current versions)
>
>IE
>Netscape
>Firefox
>
>But not with Opera?[/color]
Because of your faulty code, use <a name="top"></a>
--
Spartanicus | 
August 20th, 2005, 08:35 AM
| | | Re: <a name="#top"> NOSPAM.gbbsg@shaw.ca (Gufus) wrote:
[color=blue]
> <a name="#top"></a>[/color]
- -[color=blue]
> <img SRC="images/top.gif" USEMAP="#top" BORDER=0>
> <map NAME="top">
> <area SHAPE=RECT COORDS="2,1,33,15" HREF="#top" ALT=""
> OnMouseOut="window.status=''; return true"
> OnMouseOver="window.status='';
> return true">
> <area SHAPE=default HREF="#top">
> </map>
>
> Why does the code above work with: (all current versions)[/color]
It doesn't. Saying so just tells you didn't test properly.
What would happen when you turn images off? Besides, there's no
point in what it "does". You have a completely useless and contrived link
to the start of a page.
On the technical side, if you make the obvious fix from name="#top" to
name="top", you create yet another problem: you would both an <a> element
with name="top" and a <map> element with name="top". Although this does not
seem to violate any specific requirement, it is illogical and takes an
unnecessary risk - browsers could get confused, and it is easy to avoid
this by inventing another name.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html | 
August 20th, 2005, 08:35 PM
| | | <a name="#top">
Hi Mason,
Saturday August 20 2005, Mason A. Clark writes to Gufus:
Nope... sorry, I gave it a marker to go too and still broken with
Opera, I did
notice it does now go to the top of the page better. <smile>
Works with (IE, Netscape, Firefox) but still not with Opera. :(
[color=blue]
> From: masoncERASETHIS@ix.netcom.com[/color]
[color=blue]
> On Fri, 19 Aug 2005 23:35:40 GMT, NOSPAM.gbbsg@shaw.ca
> (Gufus) wrote:[/color]
[color=blue][color=green]
>> Hi Group...
>>
>> <a name="#top"></a>
>>
>> -+--del-+--
>>
>> -+--del-+--
>>
>> <img SRC="images/top.gif" USEMAP="#top" BORDER=0>
>> <map NAME="top">
>> <area SHAPE=RECT COORDS="2,1,33,15" HREF="#top" ALT=""
>> OnMouseOut="window.status=''; return true"
>> OnMouseOver="window.status='';
>> return true">
>> <area SHAPE=default HREF="#top">
>> </map>
>>
>> Why does the code above work with: (all current versions)
>>
>> IE
>> Netscape
>> Firefox
>>
>> But not with Opera?
>>
>>
>>
>> Gufus
>>
>> ... Why glue my bills together? It's a mail bonding
>> ritual.[/color][/color]
[color=blue]
> I don't know, but I'll bet a nickel it will work in Opera
> if you make it:[/color]
[color=blue]
> <a name="#top"> </a> or anything else as marker.[/color]
[color=blue]
> Mason C[/color]
[color=blue]
> -+- SoupGate-Win32 v1.05
> + Origin: Calgary Organization CDN Fidonet-Internet Gateway
> (1:134/77.10)[/color]
Gufus
.... I Think Therefore I Am ... a programmer. | 
August 20th, 2005, 08:35 PM
| | | <a name="#top">
Friday August 19 2005, logic_earth writes to Gufus:
Nope still broken with Opera, but IE, Netscape and Firefox works, this
is the
code I'm still using.
<a name="#top"> </a>
---webpage---
---webpage---
<img SRC="images/top.gif" USEMAP="#top" BORDER=0>
<map NAME="#top">
<area SHAPE=RECT COORDS="2,1,33,15" HREF="#top" ALT=""
OnMouseOut="window.status=''; return true"
OnMouseOver="window.status=''; return true">
<area SHAPE=default HREF="#top">
</map>
Any more ideas?
[color=blue]
> From: logicearth@gmail.com[/color]
[color=blue]
> Gufus wrote:[color=green]
>> <a name="#top"></a>[/color][/color]
[color=blue]
> <a name="top"> </a>[/color]
[color=blue]
> you only use "#" for the link (i.e. <a href="#top">) also
> you don't have to use the a tag you could use any tag.[/color]
[color=blue]
> <div id="wrapper">....blah...<a
> href="#wrapper">TOP</a></div>[/color]
[color=blue]
> -+- SoupGate-Win32 v1.05
> + Origin: Calgary Organization CDN Fidonet-Internet Gateway
> (1:134/77.10)[/color]
Gufus
.... Gold's Law: If the shoe fits, it's ugly. | 
August 20th, 2005, 08:35 PM
| | | <a name="#top">
Hi Jukka,
Saturday August 20 2005, Jukka K. Korpela writes to Gufus:
[color=blue]
> From: jkorpela@cs.tut.fi[/color]
[color=blue]
> It doesn't. Saying so just tells you didn't test properly.
> What would happen when you turn images off? Besides, there's
> no point in what it "does". You have a completely useless
> and contrived link to the start of a page.[/color]
Okay.
[color=blue]
> On the technical side, if you make the obvious fix from
> name="#top" to name="top", you create yet another problem:[/color]
Sorry still won't work with Opera, and if I change the code to this, IE
and
Opera stoped working. :(
<a name="top"> </a>
--webpage--
--webpage--
<img SRC="images/top.gif" USEMAP="#top" BORDER=0>
<map NAME="#top">
<area SHAPE=RECT COORDS="2,1,33,15" HREF="top" ALT=""
OnMouseOut="window.status=''; return true"
OnMouseOver="window.status=''; return true">
<area SHAPE=default HREF="top">
</map>
Ideas?
[color=blue]
> you would both an <a> element with name="top" and a <map>
> element with name="top". Although this does not seem to
> violate any specific requirement, it is illogical and takes
> an unnecessary risk - browsers could get confused, and it is
> easy to avoid this by inventing another name.[/color]
[color=blue]
> --
> Yucca, http://www.cs.tut.fi/~jkorpela/
> Pages about Web authoring:
> http://www.cs.tut.fi/~jkorpela/www.html[/color]
[color=blue]
> -+- SoupGate-Win32 v1.05
> + Origin: Calgary Organization CDN Fidonet-Internet Gateway
> (1:134/77.10)[/color]
Gufus
.... The ultimate Law: All general statements are false. | 
August 20th, 2005, 11:25 PM
| | | Re: <a name="#top">
Gufus wrote:[color=blue]
> Hi Jukka,
>
> Saturday August 20 2005, Jukka K. Korpela writes to Gufus:
>[color=green]
> > From: jkorpela@cs.tut.fi[/color]
>[color=green]
> > It doesn't. Saying so just tells you didn't test properly.
> > What would happen when you turn images off? Besides, there's
> > no point in what it "does". You have a completely useless
> > and contrived link to the start of a page.[/color]
>
> Okay.
>[color=green]
> > On the technical side, if you make the obvious fix from
> > name="#top" to name="top", you create yet another problem:[/color]
>
> Sorry still won't work with Opera, and if I change the code to this, IE
> and
> Opera stoped working. :([/color]
You changed it from one piece of bad code to another. How about NOT
putting a # sign in ANY of the NAME attributes, where it doesn't belong?
The # isn't part of the name, it's a marker used in a URL to indicate
that whatever follows it is a reference to something within the current
page. The # itself isn't part of that reference.
[color=blue]
>
> <a name="top"> </a>
>
> --webpage--
> --webpage--
>
> <img SRC="images/top.gif" USEMAP="#top" BORDER=0>
> <map NAME="#top">
> <area SHAPE=RECT COORDS="2,1,33,15" HREF="top" ALT=""
> OnMouseOut="window.status=''; return true"
> OnMouseOver="window.status=''; return true">
> <area SHAPE=default HREF="top">
> </map>
>[/color] | 
August 21st, 2005, 12:45 AM
| | | <a name="#top">
Hi Harlan,
Saturday August 20 2005, Harlan Messinger writes to Gufus:[color=blue]
> From: hmessinger.removethis@comcast.net[/color]
[color=blue]
> You changed it from one piece of bad code to another. How
> about NOT putting a # sign in ANY of the NAME attributes,[/color]
Tryed that, still wouldn't work in Opera. What about the [map]?
IE, Netscape nd Firefox still works.
Want to look at my code? http://www.gypsy-designs.com/faq.html
Gufus
.... If it walks out of your refrigerator, LET IT GO !! | 
August 21st, 2005, 08:05 PM
| | | Re: <a name="#top">
Gufus wrote:[color=blue]
>[color=green]
> > You changed it from one piece of bad code to another. How
> > about NOT putting a # sign in ANY of the NAME attributes,[/color]
>
> Tryed that, still wouldn't work in Opera.
>[/color]
No, you did not. Use the search and replace function of your editor.[color=blue]
>
> http://www.gypsy-designs.com/faq.html
>[/color]
You are assigning 12 objects with the same name: #top. How would you
expect a browser to sort out which one you are referencing? IE and Firefox
choose the first; Opera chooses the nearest.
And what is with that bizarre use of a <map>? What is wrong with <a
href="#top">?
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email) | 
August 21st, 2005, 08:35 PM
| | | <a name="#top">
Hi Jukka,
[color=blue]
> From: jkorpela@cs.tut.fi[/color]
[color=blue]
> Yes, we love to see the real problem.[/color]
So... pretty shitty programing hu...
[color=blue]
> Short answer: Remove the completely useless imitation of a
> link to the start of the document. Many problems solved.[/color]
Thats what I'm going to do (del .* <a name="top"></a>) crap.
Thanks for the advice, it worked in IE, Netscape and
Firefox, just not Opera.
Gufus
.... Features should be discovered, not documented | 
August 21st, 2005, 09:15 PM
| | | <a name="#top">
Hi Jim,
[color=blue]
> From: jmm-list.AXSPAMGN@sohnen-moe.com[/color]
[color=blue]
> No, you did not. Use the search and replace function of
> your editor.[/color]
Yes... I know how to search and replace. Just didn't understand
what was wrong with my code. :)
[color=blue]
> You are assigning 12 objects with the same name: #top.
> How would you expect a browser to sort out which one you are
> referencing?[/color]
Okay, understand, makes sense.
[color=blue]
> IE and Firefox choose the first; Opera chooses
> the nearest.[/color]
Understood.
[color=blue]
> And what is with that bizarre use of a <map>? What is
> wrong with <a href="#top">?[/color]
Just the way I decided to write this part of the code. Alright
I understand the <a href="#top"> code, so the ten thousand dollar
question, how would you code this?
Like show me. :)
For now I took Mr.Korpela advice and did a del.* for this code.
Gufus
.... Skydiving! Good till the last drop... | 
August 21st, 2005, 11:25 PM
| | | <a name="#top">
Hi Jim,
Sunday August 21 2005, Jim Moe writes to Gufus:
BTY... You've given the best answer. (so far)
[color=blue]
> From: jmm-list.AXSPAMGN@sohnen-moe.com[/color]
[color=blue]
> Gufus wrote:[color=green]
>>[color=darkred]
>> > You changed it from one piece of bad code to another.
>> > How about NOT putting a # sign in ANY of the NAME
>> > attributes,[/color]
>>
>> Tryed that, still wouldn't work in Opera.
>>[/color]
> No, you did not. Use the search and replace function of
> your editor.[color=green]
>>
>> http://www.gypsy-designs.com/faq.html
>>[/color]
> You are assigning 12 objects with the same name: #top.
> How would you expect a browser to sort out which one you are
> referencing? IE and Firefox choose the first; Opera chooses
> the nearest.
> And what is with that bizarre use of a <map>? What is
> wrong with <a href="#top">?[/color]
[color=blue]
> --
> jmm dash list (at) sohnen-moe (dot) com
> (Remove .AXSPAMGN for email)[/color]
[color=blue]
> -+- SoupGate-Win32 v1.05
> + Origin: Calgary Organization CDN Fidonet-Internet Gateway
> (1:134/77.10)[/color]
Gufus
.... ... No Glove. No Love jmm-list.AXSPAMGN@sohnen-moe.com | 
August 22nd, 2005, 07:05 AM
| | | Re: <a name="#top">
Gufus wrote:[color=blue]
>
> I understand the <a href="#top"> code, so the ten thousand dollar
> question, how would you code this?
>
> Like show me. :)
>[/color]
Dude:
At the "top" of your document:
<a name="the_top_of_doc"></a>
Wherever you want to link to the "top":
<a href="#the_top_of_doc"><img ...></a>
Like, need the address to send the $10,000?
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email) |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over network members.
|