tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norbert Sándor (JIRA) <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-1561) improve the user experience of javascript-based links
Date Tue, 12 Jun 2007 06:44:26 GMT
improve the user experience of javascript-based links
-----------------------------------------------------

                 Key: TAPESTRY-1561
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1561
             Project: Tapestry
          Issue Type: Improvement
          Components: Framework
    Affects Versions: 4.1.2
            Reporter: Norbert Sándor


LinkSubmits are currently rendered as <a href="#" id="submitLink_5">link</a>.
If you click on such a link the following happens:
- the browser window is scrolled to the top
- the attached javascript onclick event handler is executed

It would be much better if this "jump to the top" would not happen. It is easy to achieve
by referencing an undefined anchor for example

<a href="#TAPESTRY_UNDEFD" id="submitLink_5">link</a>

Maybe a shorter name would be ok as well :)
What do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message