Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IFRAME Help

Status
Not open for further replies.

beefeater267

Programmer
Apr 6, 2005
79
why can't i see the IFRAME?

I simply put the following on my page... and I cannot see LINK1, LINK2.

<IFRAME style="filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);DISPLAY: visible; zIndex: 8; LEFT: 0px; POSITION: absolute; TOP: 0px; width=720px; height=50px;" src="" frameBorder="1" scrolling="no" >
<a href="">LINK 1</a> <br>
<a href="">LINK 2</a> <br>
</IFRAME>


Can anyone explain? I do not want to populate from an external HTML page.
 
Then why are you using iframe? Iframe is used to load another website inside the current website through a [tt]src=""[/tt] attribute. Looks to me you need a <div>.
 
I'm stuck w/ the problem of a DHTML DIV being stuck UNDER a SELECT box in my navigation menu.

I read that using an IFRAME will solve this problem.

I found an example on the web yesterday but can't find it today of having an IFRAME and writing it's content w/ javascript. Can anyone give me an example on how to do this. I DO NOT want to populate the IFRAME from a SRC.
 
Code:
var daFrameDoc = document.frames['theFrame'].document;
daFrameDoc.open();
daFrameDoc.write("this will show up in the iframe");
daFrameDoc.close();


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
You cannot fix stacking problems involving SELECTs with z-index. They are "windowed" controls and behave very badly. Using an iframe supposedly works (it used to be "windowed" itself, but not in newer browser according to MS. You can also hide the select and show it to prevent it from showing thru.


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top