Forum Moderators: open

Message Too Old, No Replies

Need to make iframe content transparent in older browsers

         

reshma

1:06 pm on Jun 25, 2002 (gmt 0)



Hi,

My Iframe tag loads a floating ad over the parent page. The problem I am facing is I need to make it transparent so that the underlying page can be seen and clicked. I managed to do this in IE 5.5 and above using "Allowtransparency" attribute but no luck with lower browsers. Any suggestions? Or any alternatives? (I tried using div but how do I set the source for div tag?)

Thanks,

Reshma

Brett_Tabke

12:58 pm on Jun 26, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Welcome to the board. Nope, you have to reserve the space some how. If you are shooting for netscape, an Ilayer wrapped in the iframe can work.

papabaer

2:53 pm on Jun 26, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Reshma!
The "allowtransparency" attribute is an IE only option, using it will exclude Opera, Mozilla and Netscape users as well as all other non-IE user-agents. The problem with propriety code is that it only works for a certain segment, granted, IE controls a huge segment of the market, but it is not the only browser by a long shot.

Off hand, I can't think of a good cross browser solution for what you are attempting. Unless you are willing to exclude a sizable segment of potential visitors, you had best reconsider your design.