View RSS Feed

molendijk

  1. [jQuery-append] includes HTML as well as JS

    1.
    Create a string that is the JS-equivant of the DD Anylink standalone menu (or of any standalone menu) with the help of a good HTML-to-JS-converter. Make sure that all JS and CSS are made inline before conversion. Name the string included_js.
    2.
    Create a script like this:
    Code:
    <script>
    var included_js = STRING, where STRING represents the string you just created.
    </script>
    (in the Anylink-case, STRING representsw THIS) and put the script ...

    Updated 08-20-2012 at 12:26 AM by molendijk (Correction)

    Categories
    Post a JavaScript