View Full Version : Irregular Drop Down Viewer 2

10-24-2004, 06:24 PM
On theDrop Down Viewer 2 (http://www.dynamicdrive.com/dynamicindex3/dropdownview2.htm) script there is a default border that looks so irregular with my site, is there any way to remove it?

10-26-2004, 01:10 AM
Add FRAMEBORDER=0 to your iframe information section like so...

var iframecode='<iframe id="external" style="width:95%;height:400px" frameborder=0 src="http://www.yahoo.com"></iframe>'

You may need to adjust it to be incorporated into the style section like so...

var iframecode='<iframe id="external" style="width:95%;height:400px;border=0" src="http://www.yahoo.com"></iframe>'

Not sure if you will have to say frameborder or just border in the second example.

Give it a whirl and see if that helps.

10-26-2004, 08:30 PM
Nah I know incorporating it into the style section doesn't work, but for the other I'll try it now.

10-26-2004, 08:33 PM
Aha... Presto! It Works! Thanks dude