• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to create small windows

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am wondering how to create small windows. for example you might have account on yahoo.com. there when you have to attach a file you click on edit\attachments Link as a result a small windows appears asking to perform three steps.
sir i want to create that small window.what is html tag for it? how can i set size for it. its apperance
thank you very much
 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in the head:
<script language="JavaScript">
function smallWindow()
{
var sw = window.open("yourpagehere.html","TITLENOSPACES","height=200,width=160,left=50,top=50");
}
</script>

in the body:
<a href="javascript:void(0);" onclick="smallWindow();">how to create small windows</a>
enjoy.
 
reply
    Bookmark Topic Watch Topic
  • New Topic