我有一份与其相邻的icon链接清单——我愿意在 mo已过联系时能够改变icon img的源头(这样,每个环节将改变一线与不同的形象),而我喜欢用 j子这样做,但我可以指出这样做的最佳方式。
Ideally I d like to give the links a class so I can use that in the jquery selector but how would I then send the name of the image to load to the jquery function ? do I need to define an attribute in each link that contains the image name ? how would I preload the images if I did it like this ?