Compatibility of Javascript

They have: 268 posts

Joined: May 1999

Hi all,

I have a page that uses frames. I have a print button on the top frame that should print the bottom frame. It works just fine in Netscape but doesn't in IE.

Any suggestions?

Thanks in advance
http://www.shoutingrock.org/troop214/Permission.html

------------------
My goal in life is found in Phillipians 4:8-9

My goal in life is found in Phillipians 4:8-9
shoutingrock.org/troop214

They have: 48 posts

Joined: Dec 1999

I haven't yet got round to setting up my printer so I haven't been able to try this, but it should work. In toolbar.html change the following line of code:

Code Sample:<AREA SHAPE=RECT COORDS="196,6,241,39" HREF="javascript:window.print()" TARGET="form" ALT="">

to this:

Code Sample:<AREA SHAPE=RECT COORDS="196,6,241,39" HREF="javascript:parent.form.print()" ALT="">

Hope this works

------------------
Do you want to have fun?
TomWorld

Do you want to have fun?
TomWorld

They have: 268 posts

Joined: May 1999

Thanks Tom,

Still doesn't work. I keep getting the top toolbar printed.

Anyone else have any ideas?

They have: 268 posts

Joined: May 1999

Hello everyone,

I finally found the answer to my dilema at the following url http://www.webreference.com/js/tips/991123.html

The problem is changing the focus to the proper frame.

If anyone can make this work better with less code I am still interested.

Thanks

------------------
My goal in life is found in Phillipians 4:8-9

My goal in life is found in Phillipians 4:8-9
shoutingrock.org/troop214

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.