transparency?

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
callmecheez
Posts: 7
Joined: Fri Jan 13, 2006 1:38 pm

transparency?

Post by callmecheez »

Is it possible to make the Mboard transparent? (so if I have on my site in an IFRAME the background of the site is visible?)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Not sure what you mean, but you can add your own background to MBoard, for example by editing the CSS file.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello callmecheez,

I just tested it and it can be done.
There is a catch however!
It only worked in Firefox and Netscape and not in Internet Explorer or Opera :D
All you have to do is not define a background-color or background-image in the style.css file of MBoard.

Greetings,
Henrie
callmecheez
Posts: 7
Joined: Fri Jan 13, 2006 1:38 pm

Post by callmecheez »

Hmmm ideally want it to work in Internet Explorer. . . any ideas?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello callmecheez,

Especially for you i tried google to find your answer. I googled for "transparent iframe" and the first presented link was the answer. Here it is:
How to make transparent Iframes

**This only works with Internet Explorer 5.5+ and Netscape 6+ browsers**

First code your page that will be the Iframe being sourced, (src="<filename.html>), put the style code below in between the head tags like so:

<style type="text/css">
body {background-color: transparent}
</style>

Then on the page where you call the iframe add the below code:

<iframe name="something" src="filename.html" allowtransparency="true" background-color="transparent" >
</iframe>
Greetings,
Henrie
Locked