|
|
![]() |
|
|
Top | #1 |
|
Must be dreaming...
Joined: April 2002
Location: Australia
Posts: 673
Reputation: 20
Power: 129 |
I'm working on a new website, and am just wondering if it is possible to make inline frames (the ones in Frontpage) transparent? Thanks. -RaG |
|
|
|
|
|
Top | #2 |
|
OSNN Senior Addict
Joined: February 2002
Posts: 300
Reputation: 0
Power: 129 |
Would setting a width and height of 0 or 1 do what you need?
Find your <iframe> tag Then try the following: <iframe style="visibility:hidden"> That should make it disappear. However the space that the iframe takes up will still be there. Alternatively, if you want it to appear as though the iframe was never there, try this: <iframe style="display:none"> |
|
|
|
|
|
Top | #3 |
|
Must be dreaming...
Joined: April 2002
Location: Australia
Posts: 673
Reputation: 20
Power: 129 |
|
|
|
|
|
|
Top | #4 |
|
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310 |
I think what you'll need to do, it cut the image up and set the iframe background to a part of the image.
|
|
|
|
|
|
Top | #5 |
|
Must be dreaming...
Joined: April 2002
Location: Australia
Posts: 673
Reputation: 20
Power: 129 |
o.0
I didn't think of that. Thanks SPeedY_B. But isn't there any HTML coding or anything that can accomplish what I want? It's just SPeedY_B's method is a bit tedious. :huh: |
|
|
|
|
|
Top | #6 |
|
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 175 |
Not with a (i)frame afaik. Maybe if you used a layer instead (<DIV>).
|
|
|
|
|
|
Top | #7 |
|
Must be dreaming...
Joined: April 2002
Location: Australia
Posts: 673
Reputation: 20
Power: 129 |
Ah well... thanks anyways. <DIV>? |
|
|
|
|
|
Top | #8 |
|
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 175 |
|
|
|
|
|
|
Top | #9 |
|
pffff...
Joined: February 2003
Posts: 705
Reputation: 10
Power: 120 |
Code:
<iframe src="page.html" width="200" height="200" border="0" frameborder="0"></iframe> ) but you need to cut the piece out of the image which would be where the iframe is.Ive made a website which I made that demonstrates what you're after I think... http://www.ackclan.org.uk I used adobe photoshop 7 and its image slice facility to cut the images up where I wanted them. I put the large bit where the iframe is as the background of the page thats loaded in, and it works ok i think ![]() It really all depends on how you want the stuff displayed... if you want it to extend the page as more text is added, i think a layer would be best... but if you want to keep loads of text in a small space (so the user can scroll), i suppose an iframe is best. |
|
|
|
|
|
Top | #10 |
|
Must be dreaming...
Joined: April 2002
Location: Australia
Posts: 673
Reputation: 20
Power: 129 |
All great solutions, but I think an example is what you need. What I want to do is shown on the picture attached. The text box with the text "Seneste nyt". I want to do something like that but with an inline frame or some sort of other frame so I can display a web page in it. Thanks again all.
|
|
|
|
|
|
Top | #11 |
|
OSNN Addict
Joined: September 2002
Posts: 177
Reputation: 0
Power: 119 |
Use a style sheet or put STYLE tag in between the HEAD tag.
<style> iframe{ allowtransparency: true; background-color: transparent; filter:alpha(opacity=60); margin-left:50; } </style> <body background=picture.jpg> <iframe FRAMEBORDER="0" BORDER=0 width=448 height=272 src="anything.htm" name="frame"> </iframe> |
|
|
|
|
|
Top | #12 |
|
. . . . . . . . .
Joined: November 2002
Location: NYC
Posts: 229
Reputation: 10
Power: 119 |
|
|
|
|
|
|
Top | #13 |
|
NTFS Guru
Joined: January 2002
Location: Sweden
Posts: 4,006
Reputation: 890
Power: 175 |
![]() One thing though, wouldn't the alpha apply to the foreground as well as the background? Just a though. |
|
|
|
|
|
Top | #14 |
|
Must be dreaming...
Joined: April 2002
Location: Australia
Posts: 673
Reputation: 20
Power: 129 |
I'll go try that now and I'll message back to tell you guys if it's working or not. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| safari 3 style inline search in firefox | Dark Atheist | Green Room | 1 | April 11th, 2008 3:27pm |
| Frames Per Second Prob | sux2bu | Graphics Cards | 4 | March 29th, 2005 4:55pm |
| kickme.to frames | DAZZ | General Hardware | 12 | February 17th, 2003 12:15am |
| Droppin Frames In Ma Gamez | sleepingsword | PC Gaming | 3 | January 28th, 2002 12:38pm |