Sample source 4) JavaScript basic document structure : window object 1) open method
|
<script type="text/javascript">//<![CDATA[ |
||
|
|
|
|
|
|
// window.open("file to display","window name","window style") | |
|
||
|
|
window.open("./event.html","event2011","width=350,height=120,status=no,toolbar=no,left=0,top=0") |
|
|
|
//]]]]]]> |
|
|
|
</script> |
As a designer, when you start dealing with JavaScript,
you begin to think how nice it would be if there were a few things you could do freely.
For example,
freely changing the contents inside the basic markup,
or pulling in markup that's outside, or making something that exists look as if it doesn't, and so on..
The content above could be seen as the start of doing that kind of work...
you begin to think how nice it would be if there were a few things you could do freely.
For example,
freely changing the contents inside the basic markup,
or pulling in markup that's outside, or making something that exists look as if it doesn't, and so on..
The content above could be seen as the start of doing that kind of work...
