PDA

View Full Version : <IFRAME> without border effect



BusterLee
Nov 29th, 2002, 11:57 PM
I presently have an <IFRAME> on a few of my pages, however they do look much better without the border effect.

This is the part of the java:

var iframecode='<iframe id="external" style="width:98%;height:100%" src="http://www.google.co.uk"></iframe>'

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

if (displaymode==0)
document.write(iframecode)

function gone(){
var selectedurl=document.jumpy.example.options[document.jumpy.example.selectedIndex].value
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=selectedurl
else if (document.all&&displaymode==0)
document.all.external.src=selectedurl
else{
if (!window.win2||win2.closed)
win2=window.open(selectedurl)
//else if win2 already exists
else{
win2.location=selectedurl
win2.focus()
}
}
}
//-->
</script>

It does work fine but would really like to ditch the border thingy!.

Is visible in action here (http://www.north-walsham.biz/directory/emergency.shtml) <<<<<added URL this time!!! sorry

chrismiceli
Nov 30th, 2002, 12:02 AM
did you try <iframe border="no"> with the rest of your code?

BusterLee
Nov 30th, 2002, 12:05 AM
just added it and no joy!!!! :(

BusterLee
Nov 30th, 2002, 12:57 AM
sorted :thumbsup:

it works okay with frameborder="0"

cheers