There currently is one option to travel by night train from Salzburg (Austria) to Zidani Most (Slovenia), taking between approximately 7 and 9 hours: Namely the EN 40237 operated by HŽPP.
HŽPP, Croatia's national passenger railway, operates domestic trains as well as international connections.