Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- jquery fancybox doesn't run in a script


Uzil - 5:59 pm on Jan 25, 2013 (gmt 0)


I've fix it.
The Javescript in my original post should have been:

<script type="text/javascript">
$(document).ready(function() {

$('.fancybox').fancybox();

});
</script>



and it didn't work. I've just eliminate the empty lines between code line, lookink like my first post:

<script type="text/javascript">
$(document).ready(function() {
$('.fancybox').fancybox();
});
</script>


And for my surprise it works. This is something that i never seen, but i realize that i haven't seen much yet.
Did anybody ever faced what i just did, because de html document have the break lines and works, but the copy and past into the perl script, due to those line breaks didn't.


Thread source:: http://www.webmasterworld.com/javascript/4539266.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com