Here is a little guide for those who want to add a simple popup to the Plone frontpage for some purpose (eg: announcements, advertisements, etc). Create a basic html file containing the content you want to appear in the popup. Upload it into $PLONE_SITE/portal_skins/custom (as Page Template) and for the sake of this example, name it popup.html Afterward, create a Javascript file with your Pop-Up loader script. For example , this script: function popup(mylink, windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href, windowname, 'width=220,height=400,scrollbars=no'); return false; }; popup('popup.html', 'My Popup'); Also upload this file into $PLONE_SITE/portal_skins/custom (as Page Template too). For this example, name it as popup.js Afterward, in $PLONE_SITE/portal_javascripts , add popup.js as a new s
Comments
http://www.revsys.com/writings/quicktips/ssh-faster-connections.html
@bochecha
that tips helps in creating new connections .. but the lag when typing commands etc is still quite long..
@pfrields
i am using compression in my connection, though, its still not quite enough ..
I guess i had to live with this for the time being.
10-15seconds lag is kindof too long .. anyway .. thanks to both of you for responding