Re: aPossible to Make A "Dummy&quo t; Anchor Tag **without** Jumping BackUp???
Followup-To: comp.infosystem s.www.authoring.html
On 02.5.2008 г. 04:21, /Thomas 'PointedEars' Lahn/:
I agree HTML Form controls (non-submit buttons) should be used
whenever possible, but as far as I know people avoid them because
they are "harder" to style (they are replaced elements the styling
of which is non-standardized, currently). Styling is the main
reason people abuse hyper links instead of using standard form buttons.
Scripting is used to implement non-standard UI controls, too. The
Google Maps map, for instance. It can't be "expressed" using
standard form controls and it can't possibly work without full
scripting and styling support. In this regard I think it is better
to style a SPAN like a button (or whatever is appropriate) and
attach a custom script action to it, rather than abusing a hyper
link element for that purpose.
--
Stanimir
Followup-To: comp.infosystem s.www.authoring.html
On 02.5.2008 г. 04:21, /Thomas 'PointedEars' Lahn/:
Stanimir Stamenkov wrote:
>
However, this reasoning is flawed because the confusion of the user about
what looks like a control that does not appear to work remains.
>Thu, 1 May 2008 16:16:49 -0700 (PDT), /Prisoner at War/:
>>
>>
>If the element is not really a hyper link why marking it as such?
>Better use generic SPAN element or A(nchor) element without 'href'
>and attach 'click' handler to it. This will spare your visitors the
>confusion with encountering hyper links which are not really hyper
>links.
>>
>>I have a hyperlink that doesn't point to another document, but is used
>>to call forth a modal window onClick (or is there another way, without
>>text or image links, of calling forth JavaScript on user activity??).
>>I would like to spare my visitors the inconvenience and visually
>>jarring effect of getting thrown back up to the top of the page! =(
>>to call forth a modal window onClick (or is there another way, without
>>text or image links, of calling forth JavaScript on user activity??).
>>I would like to spare my visitors the inconvenience and visually
>>jarring effect of getting thrown back up to the top of the page! =(
>If the element is not really a hyper link why marking it as such?
>Better use generic SPAN element or A(nchor) element without 'href'
>and attach 'click' handler to it. This will spare your visitors the
>confusion with encountering hyper links which are not really hyper
>links.
However, this reasoning is flawed because the confusion of the user about
what looks like a control that does not appear to work remains.
whenever possible, but as far as I know people avoid them because
they are "harder" to style (they are replaced elements the styling
of which is non-standardized, currently). Styling is the main
reason people abuse hyper links instead of using standard form buttons.
Scripting is used to implement non-standard UI controls, too. The
Google Maps map, for instance. It can't be "expressed" using
standard form controls and it can't possibly work without full
scripting and styling support. In this regard I think it is better
to style a SPAN like a button (or whatever is appropriate) and
attach a custom script action to it, rather than abusing a hyper
link element for that purpose.
--
Stanimir
Comment