PDA

View Full Version : Auction: Mini layout for any site.



myke
08-01-2007, 02:51 PM
http://i13.tinypic.com/2jd1gsn.png
http://i13.tinypic.com/2jd1gsn.png

Offers?

Haven't made a layout in a while

Coded in CSS and Div's apart from one scrolling iframe for the content in the middle.

RNelson!
08-01-2007, 03:04 PM
Why not use expandable iframe?


http://i13.tinypic.com/2jd1gsn.png
http://i13.tinypic.com/2jd1gsn.png

Offers?

Haven't made a layout in a while

Coded in CSS and Div's apart from one scrolling iframe for the content in the middle.

Luckyrare
08-01-2007, 03:05 PM
Why not use expandable iframe?

Why use a iframe at all? "/ Not bad work

myke
08-01-2007, 05:15 PM
@ first post

Because they can't expand unless you use a javascript hack or something *shrug*

@2nd you can't target divs =) and I don't know PHP so.

F32
08-01-2007, 05:25 PM
@ first post

Because they can't expand unless you use a javascript hack or something *shrug*

@2nd you can't target divs =) and I don't know PHP so.
Includes are the easiest thing to do in PHP.

& expandable iframe just means adding some JS.

alexxxxx
08-01-2007, 05:40 PM
i think you can change the content of a DIV with javascript I believe. Correct me if I'm wrong.

Swastika
08-01-2007, 05:50 PM
The background of the template, the scanlines, nearly gave me a seizure.

RNelson!
08-01-2007, 06:02 PM
I'd hate to see what would happen if you looked in mirror you'd probably die (Jokeeeeeee) + Rep coz I said that


The background of the template, the scanlines, nearly gave me a seizure.

myke
08-01-2007, 07:31 PM
lmao, Ok then =))

Thanks for the advice.

myke
09-01-2007, 04:41 PM
Sorry for double post, can't edit. Adam could you link me to a tutorial for PHP includes and also can you target them?

+ Rep if you do.

Also, any offers?

Comes with rollovers.

YouFail
09-01-2007, 04:46 PM
Myke.




<?include "pageurl.php"; ?>

If you try to do that make sure the page extension is .php

myke
09-01-2007, 04:51 PM
THanks Richard =)) How can I target it?

RNelson!
09-01-2007, 05:00 PM
try this it's like iframe I don't know whether it works


target="name.php"


THanks Richard =)) How can I target it?

YouFail
09-01-2007, 05:04 PM
Dude.

The fileurl.php bit is the target.

ScottDiamond
09-01-2007, 05:09 PM
Myke.




<?include "pageurl.php"; ?>

If you try to do that make sure the page extension is .php

Is it not:



<?
include("file.php");
?>


?

YouFail
09-01-2007, 05:13 PM
It doesnt matter?

Same as:



echo ("whatever");

and

echo "whatever";

JoeComins
09-01-2007, 05:28 PM
PHP Include code to place in your content:


<?php
$val = $_GET['id'];
$val .= ".php";
$dirty = array("..");
$clean = array("");
$val = str_replace($dirty, $clean, $val);

if (isset($_GET['id'])) {
if (file_exists($val)) {
include "$val";
}
else {
include "404.php";
}
}
else {
include "home.php";
}

// Include this script in your content area
// Run ?id=pagename (without .php) to view a page
?>

To include a page, you put the link:

index.php?id=home

DO NOT INCLUDE the file entension. PHP FILES ONLY

ScottDiamond
09-01-2007, 05:51 PM
yeah :P

Want to hide these adverts? Register an account for free!