View Single Post
Old 03-30-2017, 08:37 PM   #7
NikaZhenya
Junior Member
NikaZhenya began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2017
Location: MX
Device: Calibre
Without JQuery

You can change
Code:
$(document).ready(function() {
with
Code:
window.addEventListener('load', function () {
and you dont need JQuery

Example:

Code:
window.addEventListener('load', function () {
    window.frames["f1"].addEventListener("resize", setup);
});
NikaZhenya is offline   Reply With Quote