Example:
The cycle according to 5 pictures, ProductID respectively 1, 2, 3, 4, 5
Now want to implement the following effects:
When the current page ID is 2, the image is selected, border color into red style="border: 1 px solid # ff0000;"
When the current page ID is 3, the image is selected, border color into red style="border: 1 px solid # ff0000;"
.