Log in

View Full Version : Cosmetic issue in javascript (dropdownview)



Liza Z
12-16-2013, 08:00 PM
http://www.dynamicdrive.com/dynamicindex3/dropdownview2.htm

Is it possible to get rid of the outlines?
I mean the 2 or 3 pixels line in which the outside website appears.
Thanks in advance. Liza

jscheuer1
12-16-2013, 08:55 PM
Add the red:


<!--CHANGE LINKS BELOW TO YOUR OWN-->
<a href="javascript:jumpto('http://www.cnn.com')">CNN.com</a> |
<a href="javascript:jumpto('http://www.msnbc.com')">MSNBC</a> |
<a href="javascript:jumpto('http://www.abcnews.com')">ABC News</a> |
<a href="javascript:jumpto('http://news.bbc.co.uk')">BBC UK News</a>

<script language="javascript">
<!--

//Drop-down Document Viewer II- © Dynamic Drive (www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visit http://www.dynamicdrive.com

//Specify display mode (0 or 1)
//0 causes document to be displayed in an inline frame, while 1 in a new browser window
var displaymode=0
//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
var iframecode='<iframe border=0 id="external" style="border-width:0;width:95%;height:400px" src="http://www.yahoo.com"></iframe>'

/////NO NEED TO EDIT BELOW HERE////////////

if (displa . . .

Liza Z
12-17-2013, 09:50 AM
Thanks afterwards as well John! Looks smooth!