Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fixed size and freeze current toolbar buttons

Status
Not open for further replies.

bebig

Technical User
Oct 21, 2004
111
US
puts "<html>\n"
set mydate [clock format [clock seconds] -format "%a %b %d %Y"]
set mytime [clock format [clock seconds] -format "%X %p %Z"]
puts "<title>$mydate $mytime </title>\n"
puts "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n"
puts "<META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">\n"
puts "<p><center><font size=\"+2\" face=\"Times New Roman, Times, serif\" color=\"#0066FF\"><b><i>Submit Schedule</i></b></font></center></p>"
puts "<body>\n"
puts "<form name=Form2 method=post>"
puts "<p><center><INPUT type=\"button\" value=\"Submit Schedule\" name=B3 style=\"font-family: Verdana; font-size: 11px\" onclick=\"return OnButton2();\"></center>\n"
puts "<p><center><font size=\"3\" face=\"Times New Roman, Times, serif\" color=\"#0066FF\"><b><i>After click \"Submit Schedule\", Please wait until you see \"Completed\" and then close window.</i></b></font></center></p>"
puts "</form>"
puts "</body>\n"
puts "</html>\n"
#----------------This Part
# I want to have fixed window page such as height 100 and width 300. Also, I want to freeze "current toolbar buttons" except "close" button.
puts "<script>"
puts "<!--"
puts "function OnButton2() {"
puts " document.Form2.action =\"newsubmitschedules.tcl\""
#puts " document.Form2.action = \"newsubmitschedules1.tcl\""
puts " document.Form2.submit();" ;#// Submit the page
puts " return true;"
puts "}"
puts "//-->"
puts "</script>"
#---------------
 
hi,
I am trying to make "freeze toolbar buttons" and "fixed size"
Would you please help me??

this is my code...

--------------
puts "<html>\n"
set mydate [clock format [clock seconds] -format "%a %b %d %Y"]
set mytime [clock format [clock seconds] -format "%X %p %Z"]
puts "<title>$mydate $mytime </title>\n"
puts "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\n"
puts "<META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">\n"
puts "<p><center><font size=\"+2\" face=\"Times New Roman, Times, serif\" color=\"#0066FF\"><b><i>Submit Schedule</i></b></font></center></p>"
puts "<body>\n"
puts "<form name=Form2 method=post>"
puts "<p><center><INPUT type=\"button\" value=\"Submit Schedule\" name=B3 style=\"font-family: Verdana; font-size: 11px\" onclick=\"return OnButton2();\"></center>\n"
puts "<p><center><font size=\"3\" face=\"Times New Roman, Times, serif\" color=\"#0066FF\"><b><i>After click \"Submit Schedule\", Please wait until you see \"Completed\" and then close window.</i></b></font></center></p>"
puts "</form>"
puts "</body>\n"
puts "</html>\n"
#----------------This Part
# I want to have fixed window page such as height 100 and width 300. Also, I want to freeze "current toolbar buttons" except "close" button.
puts "<script>"
puts "<!--"
puts "function OnButton2() {"
puts " document.Form2.action =\"newsubmitschedules.tcl\""
#puts " document.Form2.action = \"newsubmitschedules1.tcl\""
puts " document.Form2.submit();" ;#// Submit the page
puts " return true;"
puts "}"
puts "//-->"
puts "</script>"
#---------------

thank you in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top