Stumped, please help anyone? - Removing a frame in a pop up window...

They have: 1 posts

Joined: Aug 2012

Dear fellow webmasters,

I am stumped at this problem, can anyone help please?

Please see:
http://www.baloocards.com/Baloo-Cards-Coll01-Botanic.htm#

...and click on one of the thumbnails.

You can see in the pop-up window it displays a cluttered frame. Could you share an alteration to my scripting that will remove the frame clutter at the top please?

Grateful for any help you can give me.

Best regards,

James

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Do you mean the browser toolbar and address bar at the top?

Why don't you use a Lightbox type overlay script instead? I like Colorbox. That's generally the way to go with image enlargements these days.

If you want to continue to work with what you've got (and I must say, this is some of the strangest code I've seen in a long time!), look for code that looks like this, towards the bottom of the page:

<map name="Coll001Link">
  <area shape="rect" coords="6,6,155,154" href="#" onClick="MM_openBrWindow('BalooCardsGraphics/BalooCardsCollections/BalooCardItems/BalooC-Botanic/BalooC-Botanic-Enlarged/BC001.htm','BC001','scrollbars=yes,width=520,height=668')" onMouseOver="MM_swapImage('Coll001Nav','','BalooCardsGraphics/BalooCardsCollections/BalooCardItems/BalooC-Botanic/BalooC044-BC001-Over.jpg',1)" onMouseOut="MM_swapImgRestore()">
</map>

The part in that onClick attribute opens that pop-up window. The 'scrollbars=yes,width=520,height=668' part tells the browser what features to use in the pop-up window. Try changing that to:

'scrollbars=yes,width=520,height=668,toolbar=no'

You'll need to do that for all of the onclick events attached to those image maps. If the toolbar=0 doesn't remove all the elements you want to get rid of, check this article to find out how to get rid of the rest of them (that article is using 1's and 0's instead of yes and no, which also works). I'm not sure exactly what toolbar=no is going to remove - you might have to add location and menubar separately.

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.