add tab function for some page