JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

heool, does support come here anymore?

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
undisclosed
Guest





PostPosted: Sun Nov 09, 2003 10:42 pm    Post subject: heool, does support come here anymore? Reply with quote

undisclosed wrote:
undisclosed wrote:
ok, here is my page layout.. edited for brevity

Code:
<html>
<head>
<title>Welcome To MySite</title>
   <link rel="STYLESHEET" type="text/css" href="style.css">
</head>
<body leftmargin="0" topmargin="0">
<center><img src="images/logo_silver_white.gif" height="64" width="595"></center>
<center>
<table width="750" height="75" border="0"><tr><td align="center">

<!--  *******IFRAME MENU******** -->

<iframe src="menu.html" width="750" height="75" scrolling="no" marginheight="0" marginwidth="0" frameborder="0">Non iframe text</iframe>

</td></tr></table>
</center>
<center>
<table cols="1" height="65%" width="750"><tr><td valign="top" height="50">
   <font face="tempus sans itc">
   <font size="5" color="navy">
   <center><br>Welcome!<br><br></font></font>
   Thank you for coming to our site.<br>MAIN LOGO<br>
   Some sample text i want to print
</center></font></td></tr></table>
</center>
</body>
</html>


The part where it says

<!-- *******IFRAME MENU******** -->

<iframe src="menu.html" width="750" height="75" scrolling="no" marginheight="0" marginwidth="0" frameborder="0">Non iframe test</iframe>


shows that my menu, is in a file called menu.html

this is what i am currently using to print

Code:
   {code:"Print this page", url:"javascript:void(parent.print())", "format":{"size":[20, 112], "itemoff":[0, 5], tip:32}},


and it is still printing the menu.html, not the parent page..

please help.. I am trying to print the main page, not the menu page

- Undis
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Tue Jan 27, 2004 12:10 am    Post subject: Reply with quote

For those who are still interested:
Code:
{code:"Print this page", url:"javascript:void(parent.focus(),parent.print())", ...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1