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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable print item in borrower window

Status
Not open for further replies.

fairfaxVB

Programmer
Nov 3, 2005
46
US
Hi Friends,
after created user's print button,how can we disable or hidden print item in borrower window?
I have a frame structure. so it need to disable /hidden print to avoid issue of print.
welcond any codes of example.
Thanks for your help!
FairfaxVB
 
This is on a web page? How are you creating the button? Could you post that code? You should be able to do this by setting the .style.display = "none" for the object, but not positive from the information that you have provided.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
this is a javascript
<INPUT NAME="print" TYPE="button" VALUE="Print Report" ONCLICK="varitext(this.form)">

between head tag
function varitext(text){
text=document
print(text)
}


TomThumbKP & Friends,
I means i want to disable/hide print menu item in IE borrower.
 
sounds like you need to customise one of the IE toolbars
 
perhaps not visible the toolbar within spawned child borroower
 
Friends,
Happy New year at first.
Yes, I want to customise IT toolbars. how to do that?

Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top