Opening specific slider from one html file

i have 2 pages home.html , slider.html. i have created an event on home.html which will call slider.html and show slider. i have 3 icons to click on home.html when i click on icon1 it should display slider1, when i click on icon2 it should display slider2 and icon3 to slider3 . how i can achieve this ???
need guidance plzz