html - JavaScript Functionality broken on web, but works in files -
i made site little page
nikhilgupta.paperplane.io/courselist.html
that should clickable, , alter colors, , have popovers etc, , when open files through documents. however, when hosted on domain, functionality stopped working.
when remove https:// automatically inserted through chrome, of functionality returns. think because domain not verified, i'm guessing, , if case, how prepare that?
thanks
if viewing page secure connection (https), browsers block content on page not secure. in source have
src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js'
which in case unsecure content.
you can reference so:
src='//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js'
to take http or https automagically based on connection used.
javascript html google-chrome dns
No comments:
Post a Comment