HighDots Forums  

Printing Framesets

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Printing Framesets in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Markvs
 
Posts: n/a

Default Printing Framesets - 11-11-2004 , 12:28 PM






Hi there,

Here is my situation:

I have a frameset with a left and right frame - left frame is called
"Navigation", right Frame is called "Content".

Within this "Content" frame I have another frameset with a top frame and
bottom frame.

The top Frame is called "topFrame" and has the page heading.
The bottom Frame is called "mainFrame" and has the page content.

I would like to place a link in the bottom frame "mainFrame" to print out the
entire right frameset "Content". I.E I would like to print out both "topFrame"
and "mainFrame" as if they were one page.

Please if anyone could help me I would be forever grateful!


Reply With Quote
  #2  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: Printing Framesets - 11-11-2004 , 12:33 PM






Markvs wrote:

Quote:
Hi there,

Here is my situation:

I have a frameset with a left and right frame - left frame is called
"Navigation", right Frame is called "Content".

Within this "Content" frame I have another frameset with a top frame and
bottom frame.

The top Frame is called "topFrame" and has the page heading.
The bottom Frame is called "mainFrame" and has the page content.

I would like to place a link in the bottom frame "mainFrame" to print out the
entire right frameset "Content". I.E I would like to print out both "topFrame"
and "mainFrame" as if they were one page.

Please if anyone could help me I would be forever grateful!

A frameset in a frameset...
No, I don't think it's possible. Normally, the user will print out the
active frame, i.e. where he had clicked last time. If that's in the menu
frame - which it usually is - all he will get in the menu.
Get out of the misery: Trash the frames, make flat pages.

--
Dan Vendel - *GOF*
"Eagles may soar, free and proud, but weasels never get sucked into jet
engines."
Contact: http://www.proformica.com/contact.shtml
Call or chat me via Skype ID: danvendel, but DON'T ask questions that
you can ask here! (get Skype at http://skype.com)


Reply With Quote
  #3  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Printing Framesets - 11-11-2004 , 12:38 PM



On Thu 11 Nov 2004 12:33:45p, Dan Vendel *GOF* wrote in
macromedia.dreamweaver:

Quote:
A frameset in a frameset...
No, I don't think it's possible. Normally, the user will print out the
active frame, i.e. where he had clicked last time. If that's in the menu
frame - which it usually is - all he will get in the menu.
Get out of the misery: Trash the frames, make flat pages.
What Dan said. Then what you could do is something like:

<div id="leftbar">Nav stuff goes here</div>
<div id="header">Header goes here</div>
<div id="content">Content goes here</div>

Then define a print style sheet, and make the div leftbar hidden in the
print styles.


Reply With Quote
  #4  
Old   
Pablo
 
Posts: n/a

Default Re: Printing Framesets - 11-11-2004 , 12:46 PM



Quote:
Get out of the misery: Trash the frames, make flat pages.
Sheesh, are you in the ITFS club too

Cheers

Pablo


"Dan Vendel *GOF*" <see_my_signature_ (AT) _the_bottom_of_the_po (DOT) st> a écrit dans
le message de news: cn07pj$i4a$1 (AT) forums (DOT) macromedia.com...
Quote:
Markvs wrote:

Hi there,

Here is my situation:

I have a frameset with a left and right frame - left frame is called
"Navigation", right Frame is called "Content".

Within this "Content" frame I have another frameset with a top frame
and
bottom frame.

The top Frame is called "topFrame" and has the page heading.
The bottom Frame is called "mainFrame" and has the page content.

I would like to place a link in the bottom frame "mainFrame" to print
out the
entire right frameset "Content". I.E I would like to print out both
"topFrame"
and "mainFrame" as if they were one page.

Please if anyone could help me I would be forever grateful!


A frameset in a frameset...
No, I don't think it's possible. Normally, the user will print out the
active frame, i.e. where he had clicked last time. If that's in the menu
frame - which it usually is - all he will get in the menu.
Get out of the misery: Trash the frames, make flat pages.

--
Dan Vendel - *GOF*
"Eagles may soar, free and proud, but weasels never get sucked into jet
engines."
Contact: http://www.proformica.com/contact.shtml
Call or chat me via Skype ID: danvendel, but DON'T ask questions that
you can ask here! (get Skype at http://skype.com)



Reply With Quote
  #5  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: Printing Framesets - 11-11-2004 , 01:01 PM



Pablo wrote:

Quote:
Sheesh, are you in the ITFS club too
No, I'm in the UFWIGAFPWIN society, which is very much more liberal.
Also, I'm in the KYFSCTY group, the Swedish cell. ;-)

--
Dan Vendel - *GOF*
"Eagles may soar, free and proud, but weasels never get sucked into jet
engines."
Contact: http://www.proformica.com/contact.shtml
Call or chat me via Skype ID: danvendel, but DON'T ask questions that
you can ask here! (get Skype at http://skype.com)


Reply With Quote
  #6  
Old   
Joost Kolkman
 
Posts: n/a

Default Re: Printing Framesets - 11-12-2004 , 03:06 AM



put this in your head section:

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}

function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}


and this in your body section (beware of text wrapping in your newsreader)

<a href="#" onClick="parent.Content.focus(); parent.Content.print()"
onMouseOver="MM_displayStatusMsg('Print the content above');return
document.MM_returnValue" onMouseOut="MM_displayStatusMsg('');return
document.MM_returnValue">
Print </a>

working example can be found here:

http://www.isfd3.nl/

success, Joost Kolkman



Markvs wrote:

Quote:
Hi there,

Here is my situation:

I have a frameset with a left and right frame - left frame is called
"Navigation", right Frame is called "Content".

Within this "Content" frame I have another frameset with a top frame and
bottom frame.

The top Frame is called "topFrame" and has the page heading.
The bottom Frame is called "mainFrame" and has the page content.

I would like to place a link in the bottom frame "mainFrame" to print out the
entire right frameset "Content". I.E I would like to print out both "topFrame"
and "mainFrame" as if they were one page.

Please if anyone could help me I would be forever grateful!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.