Shoutbox

Iframe and HTML help - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Iframe and HTML help (/showthread.php?tid=32373)

Iframe and HTML help by banky on 10-02-2004 at 05:56 AM

i was just wondering is it possible to change the color of the background in Iframe ????? heres the current code

code:
<body bgcolor="#000000" text="#FF8040" alink="#0000FF">
<iframe width=350 height=115 frameborder=0 scrolling="NO" src="sitelink"></iframe>
</body>
</html>


all the body bgcolor does is change the background of the page but the iframe is a white bg not black does anyone know how to make it black???
RE: Iframe and HTML help by user27089 on 10-02-2004 at 06:57 AM

well, what you should do is, create the page that you are going to put in the iframe, and make that black:


code:

<iframe src=link to page here sheight=115 frameborder=0 scrolling="NO" src="sitelink"></iframe>


RE: Iframe and HTML help by banky on 10-03-2004 at 06:03 AM

ok thanks now i have another question.

on this page http://thedon.toastednet.org/test2.php i have a lil drop-box to choose diffrent options how do i make them to where when u click them in the Iframe below it changes the pic to a diffrent one for each option:D if thats possible.


RE: Iframe and HTML help by Xero_Cool on 10-03-2004 at 06:12 AM

Howdi,

Heres the code i found and re-modified alittle:

quote:
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><form name="mygallery"><p><select
name="picture" size="1" onChange="showimage()">
<option selected value="http://www.mrfart.be/strip/mess/msn.jpg">Picture of me</option>
<option value="http://www.mrfart.be/strip/mess/msn.jpg">Picture of my aunt</option>
<option value="http://www.mrfart.be/strip/mess/msn.jpg">Picture of my brother</option>
</select></p>
</form>
</td>
</tr>
<tr>
<td width="100%"><p align="center"><img src="http://www.mrfart.be/strip/mess/msn.jpg" name="pictures" width="99"
height="100"></td>
</tr>
</table>

<script language="javascript">

/*Created by Xero_Cool
http://www.xerocool.zsxonline.com
Drop Down Box with pics.
*/

function showimage()
{
if (!document.images)
return
document.images.pictures.src=
document.mygallery.picture.options[document.mygallery.picture.selectedIndex].value
}
//-->
</script>



Change all of that to any image you like...Also:

quote:
<td width="100%"><p align="center"><img src="http://www.mrfart.be/strip/mess/msn.jpg" name="pictures" width="99"
height="100"></td>

Looks like that is the first pic that shows up so you will have to re-modify that too. Have fun!

Xero_Cool