Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css conflict #8

Open
hqtc123 opened this issue Jul 30, 2013 · 2 comments
Open

css conflict #8

hqtc123 opened this issue Jul 30, 2013 · 2 comments

Comments

@hqtc123
Copy link

hqtc123 commented Jul 30, 2013

if i have css type =" background:url(http://XXX.jpg)" in html, then the background will dispear when load autolink.js :( ;

@bryanwoods
Copy link
Owner

Hm. I'm not really sure what should happen in this case. Do you have some examples and thoughts about what you think would be the desired behavior?

@hqtc123
Copy link
Author

hqtc123 commented Aug 2, 2013

well , i loaded javascript to html use code "LazyLoad.js(['hqautolink.js'],function(){})" with android webview
and my html contains code

<td type="background:url(http://rescdn.qqmail.com/zh_CN/htmledition/images/xinzhi/thumb/2.png) "/>
my background image gone when i load js....

i think the problem may be that we should avoid replacing "http//..." which is in html tag , we actually want to replace which is in html content only.

ps: i finally fix my problem with help of jquery.autolink.js: https://gist.github.com/koshigoe/1335742

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants