Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] Typolink history.back(); within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Is it possible to create a typolink with javascript :history.back(); ? renderObj.10 = TEXT renderObj.10 { value = Go back typolink....
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Is it possible to create a typolink with javascript:history.back(); ?
renderObj.10 = TEXT renderObj.10 { value = Go back typolink.parameter = javascript:history.back(); } That's pseudo-code only (of course) Any ideas?? Thank you! _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
Stefan Aichholzer wrote:
> Is it possible to create a typolink with javascript:history.back(); ? > > renderObj.10 = TEXT > renderObj.10 { > value = Go back > typolink.parameter = javascript:history.back(); > } > > That's pseudo-code only (of course) Any ideas?? renderObj.10 = TEXT renderObj.10.value = <a href="javascript:history.back()">Go back</a> -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book In the blog: http://typo3bloke.net/post-details/s...d_in_the_code/ _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
Damn, could it be easier that that?
Well, the force is always tempting us to the dark side, the complex way. Thank you once again. ![]() Dmitry Dulepov [typo3] wrote: > Stefan Aichholzer wrote: >> Is it possible to create a typolink with javascript:history.back(); ? >> >> renderObj.10 = TEXT >> renderObj.10 { >> value = Go back >> typolink.parameter = javascript:history.back(); >> } >> >> That's pseudo-code only (of course) Any ideas?? > > renderObj.10 = TEXT > renderObj.10.value = <a href="javascript:history.back()">Go back</a> > > -- > Dmitry Dulepov > TYPO3 Core team > My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book > In the blog: > http://typo3bloke.net/post-details/s...d_in_the_code/ > _______________________________________________ > TYPO3-english mailing list > TYPO3-english (AT) lists (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english > > -- Stefan Aichholzer http://aichholzer.name stefan (AT) aichholzer (DOT) name (+34) 691.477.394 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#4
|
|||
|
|||
|
and if you have a multilanguage site with one tree concept you could
even source out the wording "Go Back" into a variable. - setup: renderObj.10.value = <a href="javascript:history.back()">{$backlink}</a> - constants: # language uid = 0 (default) e.g. english backlink = Go Back # language uid = 1 e.g. german [globalVar = GP:L = 1] backlink = zurück [end] rgds, GUIDo Am 20.08.2008 um 15:31 schrieb Stefan Aichholzer: > > Damn, could it be easier that that? > > Well, the force is always tempting us to the dark side, the complex > way. > > > Thank you once again. ![]() > > > Dmitry Dulepov [typo3] wrote: >> Stefan Aichholzer wrote: >>> Is it possible to create a typolink with >>> javascript:history.back(); ? >>> >>> renderObj.10 = TEXT >>> renderObj.10 { >>> value = Go back >>> typolink.parameter = javascript:history.back(); >>> } >>> >>> That's pseudo-code only (of course) Any ideas?? >> >> renderObj.10 = TEXT >> renderObj.10.value = <a href="javascript:history.back()">Go back</a> >> >> -- >> Dmitry Dulepov >> TYPO3 Core team >> My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book >> In the blog: >> http://typo3bloke.net/post-details/s...d_in_the_code/ >> _______________________________________________ >> TYPO3-english mailing list >> TYPO3-english (AT) lists (DOT) netfielders.de >> http://lists.netfielders.de/cgi-bin/.../typo3-english >> >> > > > -- > Stefan Aichholzer > http://aichholzer.name > stefan (AT) aichholzer (DOT) name > (+34) 691.477.394 > > _______________________________________________ > TYPO3-english mailing list > TYPO3-english (AT) lists (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] Front end history vs backend history | Stephan Viftrup | typo3-english@lists.netfielders.de | 2 | 07.08.2007 14:00 |
| [TYPO3-german] TemplaVoila Link wie history.back() | Andreas Geibert | typo3-german@lists.netfielders.de | 4 | 10.05.2007 09:16 |
| [TYPO3] history of tt_products, tt_board and feuser_admin | Franz Holzinger | typo3-english@lists.netfielders.de | 0 | 08.03.2007 13:21 |
| [TYPO3-ttnews] The back to newlist is a back-to-month-in-archivelink | Daniel Doesburg | typo3-project-tt-news@lists.netfielders.de | 0 | 23.02.2007 17:24 |
| [TYPO3] History of furniture | Gurmanas | typo3-english@lists.netfielders.de | 0 | 03.12.2006 06:04 |