[Ask] Pop Up Di PHP

Discussion in 'Desain Web dan Programming' started by xpreborn, 8 Nov 2015.

Thread Status:
Not open for further replies.
  1. xpreborn

    xpreborn Poster 2.0

    Messages:
    183
    Likes Received:
    4
    Trophy Points:
    18
    Selamat sore Om
    Izin tanya lagi,
    Asumsi :
    Saya punya satu halaman list IP Address misalnya : http://192.168.1.1/admin2/tampil.php, pada halaman tersebut saya ingin ada fungsi edit, jadi saya buat lah halaman edit.php
    Kemudian saya buat tombol edit dgn icon gambar, pada saat diklik maka akan menuju halaman edit berdasarkan ip address
    kurang lebih :
    <a href='edit.php?ipaddress=$ipaddress'><img border='0' src='icon/edit.png' title='EDIT'></a>
    Ketika diklik maka tampilan urlnya : http://192.168.1.1/coba/edit.php?ipaddress=192.168.1.3
    Sampai di sini ga ada masalah,

    Nah yang ingin saya tanyakan bagaimana caranya ketika kita click edit link halamannya tidak berubah tetap, hanya saja untuk halaman editnya yg http://192.168.1.1/coba/edit.php?ipaddress=192.168.1.3 muncul dalam bentuk popup, ketika selesai edit click submit maka otomatis popupnya hilang


    Terimakasih
     
  2. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,229
    Likes Received:
    515
    Trophy Points:
    113
    modals bootstrap gunakaan
     
    xpreborn likes this.
  3. xpreborn

    xpreborn Poster 2.0

    Messages:
    183
    Likes Received:
    4
    Trophy Points:
    18
    Terimakasih banyak Om @junior riau
    Tak coba dlu yach entar diupdate lg hasilnya
     
  4. galuh82

    galuh82 Hosting Guru Web Hosting (Company)

    Messages:
    2,514
    Likes Received:
    186
    Trophy Points:
    63
    xpreborn likes this.
  5. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,229
    Likes Received:
    515
    Trophy Points:
    113
    udah bisa?
    itu pakai ajax on click event nya
     
    xpreborn likes this.
  6. xpreborn

    xpreborn Poster 2.0

    Messages:
    183
    Likes Received:
    4
    Trophy Points:
    18
    Maaf om masih blm sempat coba, lg sibuk manjat tower :D
    entar sore saya coba dan akan diinfo hasilnya
     
  7. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,229
    Likes Received:
    515
    Trophy Points:
    113
    hoho siaap
    asal jangan salah panjat ya :24:
     
  8. xpreborn

    xpreborn Poster 2.0

    Messages:
    183
    Likes Received:
    4
    Trophy Points:
    18
    Hahhahaha bisa saja Om,
    Pku lagi musim hujan Om becek semua,

    Sudah saya coba seperti di bawah dan bisa berjalan Om,
    Code:
    <button onclick="myFunction()">Edit</button>
    <script>
    function myFunction() {
        window.open("edit.php", "_blank", "toolbar=yes, scrollbars=yes, resizable=yes, top=200, left=200, width=800, height=300");
    }
    </script>
    Namun kira2 jika dibuat susun seperti ini bisa ga yach Om ?

    Edit | delete | upload | Export

    Note :
    1. Edit dan upload ketika diklik tampilannya popup seperti edit di atas,
    2. Delete dan Export bentuk ahref

    Sumber : w3schools.com
     
  9. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,229
    Likes Received:
    515
    Trophy Points:
    113
    ya bisa om :)
    kan itu hanya tampilan saja tinggal atur susunan saja kok
     
    xpreborn likes this.
  10. xpreborn

    xpreborn Poster 2.0

    Messages:
    183
    Likes Received:
    4
    Trophy Points:
    18
    Wah thanks berat om :113:, clear
    Solved
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...