Mike Eghtebas
asked on
replace minified JavaScript with http://...
Q: How to replace minified version in te following lines with online URLs?
I guess this applies to lines 3 through 6, correct?
I guess this applies to lines 3 through 6, correct?
<script src="http://code.jquery.com/jquery.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="js/bootstrap.js"></script>
<script src="plugins/fancybox/jquery.fancybox.js"></script>
<script type="text/javascript" src="plugins/fancybox/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>
<script type="text/javascript" src="plugins/fancybox/helpers/jquery.fancybox-media.js?v=1.0.6"></script>
<script>
$(function() {
$('.fancybox').fancybox();
});
</script>
Minified scripts usually have the word 'min' in them somewhere. I don't see that there. You can open those script files in the view source in Firefox and see what's there.
ASKER
Ok, take line 4, for example:
<script src="plugins/fancybox/jque ry.fancybo x.js"></sc ript>
I do not see url in this line. Could you possibly explain where src information resides? Is it in my root directory (plugins/fancybox...)? If it is downloaded minified or not.
Could it get the information it needs from a url instead?
<script src="plugins/fancybox/jque
I do not see url in this line. Could you possibly explain where src information resides? Is it in my root directory (plugins/fancybox...)? If it is downloaded minified or not.
Could it get the information it needs from a url instead?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.