Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor techotronic

    (@techotronic)

    I put all JavaScript code into files.

    The Array you are referring to only contains settings that configure the Colorbox (like width, height and so on, everything you can configure in the backend) and no actual JavaScript code.

    There is no way the plugin would run without inserting the Array.

    Why do you want to remove it?

    Cheers,
    Arne

    Thread Starter Jack

    (@moxie)

    Well, I just noticed (again) that a lot of WordPress plugins put code in the head of pages. That makes scrolling through the source of the page quite long before actual content is reached. I read somewhere that this is not good for Google, so I was looking at how to make the head of the page as short and clean as possible :).

    Thanks for your explanation 🙂

    Jack

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: jQuery Colorbox] How to get the javascript code out of the ?’ is closed to new replies.