Reply
iFrames and Printing
Old 06-25-2003, 01:49 PM iFrames and Printing
Novice Talker

Posts: 10
My first post here, so "Hi" to everyone! What better way to introduce myself by asking a nagging question!

Here's my story... I have a "normal" html page, but it includes a necessary thirdparty iFrame.

This is what I want to do... I want to print the entire contents of inside the iframe PLUS print either a logo, text or something on the SAME page as the printed iframe content.

Cripes this is giving me a hard time.

Really appreciate any help someone could give.
search66 is offline
Reply With Quote
View Public Profile Visit search66's homepage!
 
When You Register, These Ads Go Away!
Old 06-25-2003, 02:06 PM
Omega's Avatar
Extreme Talker

Posts: 234
Location: Sharpsville, PA
Use this if you don't want the "print" button to appear in the printed page.

I'm not sure how you can add a logo after the fact. You may need to have a "printable page" link that opens a new window with the logo/text already in place. Then use this code to add the print button...
__________________
-----------------------------------------------
Current Projects:Texas Silver Rush | Back In The Day Sports

Omega Media Design
Omega is offline
Reply With Quote
View Public Profile Visit Omega's homepage!
 
Old 06-25-2003, 02:09 PM
Omega's Avatar
Extreme Talker

Posts: 234
Location: Sharpsville, PA
PS - Welcome to WT
__________________
-----------------------------------------------
Current Projects:Texas Silver Rush | Back In The Day Sports

Omega Media Design
Omega is offline
Reply With Quote
View Public Profile Visit Omega's homepage!
 
Old 06-25-2003, 02:25 PM
Novice Talker

Posts: 10
Thanks... and thanks! I'll have to give it a go. Really appreciate the help and the welcome.
search66 is offline
Reply With Quote
View Public Profile Visit search66's homepage!
 
Old 06-25-2003, 02:29 PM
Omega's Avatar
Extreme Talker

Posts: 234
Location: Sharpsville, PA
No prob, let me know how it works out...
__________________
-----------------------------------------------
Current Projects:Texas Silver Rush | Back In The Day Sports

Omega Media Design
Omega is offline
Reply With Quote
View Public Profile Visit Omega's homepage!
 
Old 06-25-2003, 02:31 PM
Novice Talker

Posts: 10
Sadly enough... It's not really going to solve my problem. Since my iframe is from another location; I'm having a hard time adding information to the third-party frame.
search66 is offline
Reply With Quote
View Public Profile Visit search66's homepage!
 
Old 06-25-2003, 02:35 PM
Omega's Avatar
Extreme Talker

Posts: 234
Location: Sharpsville, PA
Hrm... then the first code would work, but you wouldn't be able to add your logo...

Is the third party page static? Or dynamic?
__________________
-----------------------------------------------
Current Projects:Texas Silver Rush | Back In The Day Sports

Omega Media Design
Omega is offline
Reply With Quote
View Public Profile Visit Omega's homepage!
 
Old 06-25-2003, 02:37 PM
Novice Talker

Posts: 10
dynamic... Here is the example that I'm talking about

without iframe: http://www.door2shore.com/search.htm
with iframe: http://www.door2shore.com/search2.htm
search66 is offline
Reply With Quote
View Public Profile Visit search66's homepage!
 
Old 06-25-2003, 02:46 PM
Omega's Avatar
Extreme Talker

Posts: 234
Location: Sharpsville, PA
Do you live in OC? I'm going down there in about a month, haha.

The first code would work for you to print the results, but I'm not sure about the logo... Unless you added the logo to the top of the results page...

Unless you have a printable page that has the logo included, and the results...

Eh... Sorry.
__________________
-----------------------------------------------
Current Projects:Texas Silver Rush | Back In The Day Sports

Omega Media Design
Omega is offline
Reply With Quote
View Public Profile Visit Omega's homepage!
 
Old 06-25-2003, 02:54 PM
Novice Talker

Posts: 10
I live north of baltimore.. I made the site for my dad! :P


Well... if you think of anything, I'd appreciate it!
search66 is offline
Reply With Quote
View Public Profile Visit search66's homepage!
 
Old 06-26-2003, 01:49 PM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
There is a method, which I haven't looked into in great depth but I know it will do what you want. With CSS you can set up a stylesheet for printing only (I think you add a media="print" attribute or something). This allows you to change the page to have the logo without the user seeing it on the screen.
__________________
Free Webmaster Help - Everything a webmaster needs - for free
Free-Webhosting.info - Free web hosts reviewed and rated
Web Hosting Hunt - Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile Visit david's homepage!
 
Old 06-26-2003, 02:09 PM
Novice Talker

Posts: 10
I've semi-looked into CSS, but couldn't find anything really. If you come across a link, that would be awesome!

I did look into templates, but I couldn't find the Microsoft component needed to complete the coding. Argh!

Anyway, thanks for your 2 cents, and if you find anything, please let me know.
search66 is offline
Reply With Quote
View Public Profile Visit search66's homepage!
 
Reply     « Reply to iFrames and Printing
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.16103 seconds with 12 queries