It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming CSS Forum

Placing fireworks created photo album into div

Placing fireworks created photo album into div

Postby Joy on Fri Jan 11, 2008 3:25 am

I created a photo album, and I would like to place it inside of a div on an already existing page, as opposed to having it say "index.html" and link to another page. Any way to get these thumbnails into this div? Or do I have to insert the images myself and make them links.. <--- that sounds like a pain.
Please help!
Joy
 
Posts: 20
Joined: Sat Dec 29, 2007 8:06 pm

Postby leonard on Fri Jan 11, 2008 6:41 am

supposing your created photo album is a html-page, you can use
iframe, php or ajax to do the job:
insert-link-template-vt8929.html

cheers!
- leonard
:%s/^M//
There are 10 kinds of people:
Those who understand binary and those who don't.
User avatar
leonard
100+ Club
 
Posts: 147
Joined: Tue Dec 18, 2007 7:11 am
Location: Switzerland

Postby Joy on Fri Jan 11, 2008 3:44 pm

Yes it is an html page.
I used
<?php
include('page.html');
?>
like you recommended, it only shows the box that says I am using php. What am I doing wrong? I put my page in there (don't worry, I'm not completely clueless...) Help!
Joy
 
Posts: 20
Joined: Sat Dec 29, 2007 8:06 pm

Postby leonard on Fri Jan 11, 2008 5:12 pm

If you use php-code, your webserver needs to support php (and you cannot run the file directly from the filesystem with "file:///myfile.php").
If you use an apache webserver, the normal configuration would be that a php-document needs to end with .php.

So just rename the file, and you will see if php is enabled or not.

cheers
- leonard
:%s/^M//
There are 10 kinds of people:
Those who understand binary and those who don't.
User avatar
leonard
100+ Club
 
Posts: 147
Joined: Tue Dec 18, 2007 7:11 am
Location: Switzerland

Postby Joy on Fri Jan 11, 2008 7:01 pm

I was able to rename it myfile.php, however I still don't know what to do. Do I call it when I say include('page.php')? I'm unclear.
Joy
 
Posts: 20
Joined: Sat Dec 29, 2007 8:06 pm

Postby leonard on Sat Jan 12, 2008 8:35 am

The file to be renamed only needs to be the file you write the php code in (and not the file you want to include).
But it seems your webserver probably does not support php. Contact your webhoster and ask him how to do it.

But anyway, I think an IFRAME suits more to your needs than php.
Code: Select all
<iframe src="./page.html" width="90%" height="400" name="FireWorksPage">
</iframe>

cheers!
- leonard
:%s/^M//
There are 10 kinds of people:
Those who understand binary and those who don't.
User avatar
leonard
100+ Club
 
Posts: 147
Joined: Tue Dec 18, 2007 7:11 am
Location: Switzerland


Who is online

Users browsing this forum: No registered users and 0 guests