emptyClass -> emptyClassName
Only listen to link click on linkAttributeName