Ticket #16 (closed enhancement: wontfix)
start href attribute with '#'
| Reported by: | Balazs Endresz | Owned by: | nathanhammond |
|---|---|---|---|
| Priority: | major | Milestone: | Version 1.0 |
| Component: | jQuery Plugin | Version: | 0.9 |
| Keywords: | Cc: | ||
| Blocking: | Blocked By: |
Description
Hi,
I've just implemented JSSM and it's VERY nice. I've only had one problem: if you open a link in a new tab only some textual content is loaded as I'm just loading some text to some part of the page. So at the end of your plugin I replaced
href=this.href
with
href=this.href.replace(/[^\/]*#/, '')
Now you can start each href with a #. This enables you to open any link in a new tab and JSSM can handle things in that tab as well (with the same url, only the hash changed), instead of directly loading the link (like now, without #).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/jssm/chrome/site/your_project_logo.png)