I am doing some print layout with the menu on Netscape 4.77, IE 6 on window 2000 and IE 6 on the Mac.
On the Mac, the printout is perfect. The menu showed where it's supposed to show.
But on Window IE 6, the menu moved to the right .... how much to the right depended on the screen size.
And onto Netscape, the menu doesn't show at all in netscape .. don't know why .... but hope someone know about this.
http://www.virginia.edu/pswebtest/DEV/Thuy/psweb/
thanks,
Tanya
Print Layout (Netscape 4.77 & IE 6)
Print Layout in IE 6
I get the same problem. Does anyone know how to fix this please...
Nev
Nev
Printing a page with the menu on it in Windows
I too am having the same problem and was not aware of it because everything printed fine on my Macintosh. I always check my work on the Windows platform but it never occurred to me to try printing out a page. I just really need to know if there is a solution to this problem because for my purposes, having the menu print in the middle of the page (as opposed to the left -hand side where it is relatively positioned and where it's supposed to be) is unacceptable and means I get to start a 15 page web site from scratch.
Somebody? Is there a fix and what is it??
Somebody? Is there a fix and what is it??
Hi,
This is a duplicate from another post.
You can Show and Hide menus with this custom function.
This Hides a menu by it's name
This displays a menu by it's name
Hope this helps
Andy
This is a duplicate from another post.
You can Show and Hide menus with this custom function.
This Hides a menu by it's name
Code: Select all
function hide_menu(mnu){
mn=getMenuByName(mnu)
SDiv("menu"+mn,0)
}
hide_menu("mainmenu")
Code: Select all
function show_menu(mnu){
mn=getMenuByName(mnu)
SDiv("menu"+mn,1)
}
show_menu("mainmenu")
Andy
Show/Hide menu for printing purposes
Thanks Andy. Problem is I saw this original post but, um, didn't understand what it meant or how to implement it. Sorry for being confused. It comes naturally.
If what I want to accomplish is to have the menu visible at all times except when someone goes to print a web page, exactly what do I do with those custom functions? And where would I put them? And am I neglecting to ask anything else that I would need to know to make this work?
Thank you.
If what I want to accomplish is to have the menu visible at all times except when someone goes to print a web page, exactly what do I do with those custom functions? And where would I put them? And am I neglecting to ask anything else that I would need to know to make this work?
Thank you.
Hi,
You need to include a button on your site that executes the functions and passes a print() action to initiate the print dialog.
Will do just that.
Cheers
Andy
You need to include a button on your site that executes the functions and passes a print() action to initiate the print dialog.
Code: Select all
self.print()
Cheers
Andy
Hiding Menu
Simply....
Add to head section...
<script>
function hide_menu(mnu){
mn=getMenuByName(mnu)
SDiv("menu"+mn,0)
}
function show_menu(mnu){
mn=getMenuByName(mnu)
SDiv("menu"+mn,1)
}
</script>
Then I just created a link within the page for "Printer Friendly"
<a href='javascript:hide_menu("mainmenu");self.print();show_menu("mainmenu")'>Printer Friendly</a>
I'm sure theres a much better way, but it did the trick for me.
Nev
Add to head section...
<script>
function hide_menu(mnu){
mn=getMenuByName(mnu)
SDiv("menu"+mn,0)
}
function show_menu(mnu){
mn=getMenuByName(mnu)
SDiv("menu"+mn,1)
}
</script>
Then I just created a link within the page for "Printer Friendly"
<a href='javascript:hide_menu("mainmenu");self.print();show_menu("mainmenu")'>Printer Friendly</a>
I'm sure theres a much better way, but it did the trick for me.
Nev
Helloe Nev --
Thank you for replying ...
I put that code on my page. The only different I see is that when clicking on that "Print Friendly" in IE ... the menu hides itself. Nothing change in Netscape. (Even when I have <a href='javascript:show_menu("mainmenu");self.print();show_menu("mainmenu")'>Printer Friendly</a>). In netscape even the form element is not printed b/c I put that DIV in so that the box does not appear on top of the menu.
So, is the purpose of the code is to hide the menu when printing? is that what we want?? .. or am i missing some important piece here??
Thank you for replying ...
I put that code on my page. The only different I see is that when clicking on that "Print Friendly" in IE ... the menu hides itself. Nothing change in Netscape. (Even when I have <a href='javascript:show_menu("mainmenu");self.print();show_menu("mainmenu")'>Printer Friendly</a>). In netscape even the form element is not printed b/c I put that DIV in so that the box does not appear on top of the menu.
So, is the purpose of the code is to hide the menu when printing? is that what we want?? .. or am i missing some important piece here??