globalwarming awareness2007

Archive for the 'Java Script' Category

Java script close windows dan refresh parent windows

Sintak untuk menutup new windows dan merefresh parent windows
<a href=\”javascript:top.opener.location.reload();top.close();\”  title=’tutup windows’>tutup windows</A>

Popup New Windows dengan Java Script

To open a new window, you will need to use yet another ready-made JavaScript function. Here is what it looks like:
window.open(’url to open’,’window name’,’attribute1,attribute2′)
This is the function that allows you to open a new browser window for the viewer to use. Note that all the names and attributes [...]