hello, can you provide a sample on how to create a onclick event and link to others page for settings?