preload images with a specific class with jquery

Is it possible to preload images that have a specific class applied to them? for example - preload only images with class '.grid' I've seen lots of examples of preload based on array, but my image names are dynamically generated (I'm using Drupal 6), and I don't want to preload the images globally unless I have to. Any ideas? Thanks Stephanie

以上就是preload images with a specific class with jquery的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准