Forum Moderators: not2easy

Message Too Old, No Replies

iframe not displaying properly in Netscape

iframe netscape problems

         

johan2k4

4:06 am on Apr 28, 2004 (gmt 0)

10+ Year Member



I have an iframe that opens in a part of a page. for some reason in Netscape 6.2 it only displays about 1/3 of the wanted width. It shows a slide bar at the bottom. If the iframe is loaded separatly it displays fine. It also works fine in IE. Please help. Project is due Wednesday 4/29.

DrDoc

4:35 am on Apr 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

Can you provide the relevant HTML and/or CSS for the iframe? That will greatly assist everyone in finding a solution to the problem.

johan2k4

6:02 am on Apr 28, 2004 (gmt 0)

10+ Year Member



Actually I found the problem myself. I had a nowrap tag that caused the problem. But thanx anyway.

Now my next problem is to try to make a link print a jpg without displaying it first.

<div align="center"><a href="ParkingFull.jpg" onclick="window.print();return false"><font size="1"><b><font size="3" face="Arial">Click
here to print Coupon</font></b></font></a></div>

This is printing the page and not the image.

How do I fix this?

Johan

DrDoc

1:44 pm on Apr 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



print a jpg without displaying it first

Can't be done... Sorry :)

Bonusbana

2:33 pm on Apr 28, 2004 (gmt 0)

10+ Year Member



The only way would probably be to open a new window when clicking on the link, and from there use a @screen css to hide the image and a @print css to show the image. Then make a javascript that first prints it out, then closes the window again.

But it would be hard to make the function user friendly and accessible, not to mention cross-browser friendly ( mac doesnt understand the javascript command print(); )

Or, maybe you could make a style switcher, so that when the user presses the link, the @print css would change and make everything hidden except the image. Then add a print(); command to the style switcher function (remember: mac doesnt support this).

johan2k4

5:19 am on Apr 29, 2004 (gmt 0)

10+ Year Member



IC

Thanx ya'all

I will make a new page to print it from.

J