no print function not working with dhtml script

liunx

Guest
Hi All

This might be better suited to the dhtml forum but then it could be the stylesheet so here goes.

This site under construction.

<!-- m --><a class="postlink" href="http://www.esimplified.net/lifefmriverland/index.php">http://www.esimplified.net/lifefmriverland/index.php</a><!-- m -->

I call in a sep style sheet that media=print

.noprint {position:absolute;display: none}

I wrap this around the following

<div class=noprint><DIV style="LEFT: 0px; VISIBILITY: hidden; POSITION: absolute; TOP: 0px">

<SCRIPT language=JavaScript1.2
src=http://www.webdeveloper.com/forum/archive/index.php/"coolmenus4.js">
/*****************************************************************************
Copyright (c) 2001 Thomas Brattli (<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->)

DHTML coolMenus - Get it at coolmenus.dhtmlcentral.com
Version 4.0_beta

******************************************************************************/
</SCRIPT><script language="JavaScript1.2" src=http://www.webdeveloper.com/forum/archive/index.php/"makemenu.js"></script>
<script language="JavaScript1.2" src=http://www.webdeveloper.com/forum/archive/index.php/"themenu2.js"></script>
</DIV></div>

If you go to the site and do print preview in IE it does disappear but on coming back to the site so does the menu - needs then a refresh.

If you go to the page in Mozilla it still prints.

Any ideas?

Thx

Chris
 
Back
Top