View Full Version : Can someone please help me...


sabbath
07-16-2004, 12:20 AM
Im not sure if this is the right room but, Can you help me? I need a Iframe Tutorial for psp7. I know you can do it with The image slicer...i just uhh...Dont know how. And i cant find a Tutorial for it on google...so i was hoping you could help me? Pretty please? :wolf: Thanks.

Valkyrie
07-16-2004, 12:38 AM
Well...Im guessing you want to make an iframe layout? soo...first you make some kind of layout, drawing boxes for your iframe.
Theres two ways you can code the iframe. You can use divs to position the iframe over the box, or using the image slicer. But I think you want to do it the latter way. So slice your layout, (make sure you slice the box where you want the iframe to go), and then save it. PSP should save it as an html file.
There, you will see your layout coded into a table. Go the the cell with the box image...and remove the image code, and replace it with an iframe code. So the coding will look something like this:
<table>
<tr>
<td><img src="layout1.gif"></td>
<td><img src="layout2.gif"></td>
</tr>
<tr>
<td><img src="layout3.gif"></td>
<td><iframe src="main.html" name="main" width="#" height="#" scrolling="auto"></iframe></td>
</tr>
</table>

So now youll have an iframe there, and to put the background in the iframe,
use css

body{background-image: url(yourimage.gif);}

and thats how ye make an iframe. Just replace some of the stuff in the code with your own info (like the picture names and stuff) I hope that helps. :)

sabbath
07-16-2004, 12:42 AM
Ooooh! Thanks!! :wolf: