Journal of University of Babylon for Engineering Sciences Journal of University of Babylon for Engineering Sciences

Contoh Kode Widget

Kode Widget

Salin (copy) kode di bawah ini, lalu tempel (paste) di dalam tag <body> halaman situs anda, dimana anda ingin form pencarian dan hasilnya ditampilkan.
<div id="ios-widget"></div>
<script>
  (function() {
    var id = '7627';
    var fr = document.createElement('iframe');
    fr.style.width = "100%";
    fr.style.height = "700px";
    fr.src = "https://onesearch.id/Search/Results?widget=1&repository_id="+id;
    var x = document.getElementById("ios-widget");
    x.appendChild(fr);
  })();
</script>

Contoh Hasil Tampilan