开发者

jquery-ui from a bookmarklet

开发者 https://www.devze.com 2022-12-24 04:17 出处:网络
I\'m trying to create a bookmarklet which will use the jquery-ui - what steps must I take to do this? My bookmarklet loads a remote script and appends it to the page. This script includes jquery and j

I'm trying to create a bookmarklet which will use the jquery-ui - what steps must I take to do this? My bookmarklet loads a remote script and appends it to the page. This script includes jquery and jquery-ui, but getting the stylesheets and images is turning into a nightmare. Do I have to edit all the CSS to point images to their locations on the remote server?

Effectively what I'm trying to do is have a bookmarklet which will pop up some information in a nice pretty draggable jquery-ui dialog. Is there an e开发者_如何转开发asier way?

Thanks,

Mala


I did the same, but I had no problems to load images. To load the jquery ui images, I just used the google cdn server. That worked without any problems. To load items from a master webpage, I had to upload a script which returns the complete host url.

0

精彩评论

暂无评论...
验证码 换一张
取 消