Alexander Foken: Link von 1. Frame in 2. Frame mit anderer Datei-Endung

Beitrag lesen

location.href='/en/'+location.pathname.substr(4,location.pathname-4)

Tippen müßte man können:

location.href='/en/'+location.pathname.substr(4,location.pathname.length-4)

Alexander