|
| Enjoy these animations built using a program called SWiSH. The .swi files can be downloaded by those who own the program and freely modified and experimented with for educational purposes only. If you do decide to use/modify /improve on the work you see here, please let me know by email. I would love to see the results. Jean-Michel Molin
Animations
Original .swi files
Testing SectionThe links in the Animations section use the following code to pop up a window when you click on the link. You can define window height and width, control whether or not scroll bars will appear, decide whether the user can resize the window and if the web page will open in a new window or not. I find this very useful when I want to control a browser window which contains a flash movie.
Anyone know how to add code to centre the browser window on the screen? <a href="filename.htm" onClick="popup = window.open('filename.htm', 'windowname', 'height=440,width=640,scrollbars=no,resizeable=no'); return false" target="_blank">WebPage Text</a> A few suggestions and comments...
Below is a working example for the Pumpkin Message link in the Animations section of this page <a href="PumpkinMessage.htm" onClick="popup = window.open('PumpkinMessage.htm', 'Pumpkin_Message', 'height=440,width=640,scrollbars=no,resizeable=no'); return false" target="_blank">Pumpkin Message</a>
The following javascript will set the size of a new browser window and center it on your screen. I t has tyo be added in the <head> section of the html page you are loading. Unfortunately, it doesn't do away with the "chrome" (scroll bars, etc.) Anyone out there know how to include the ability to remove scrollbars and control the resize option? Try it by clicking here. <script type="text/javascript">
|