Click to See Complete Forum and Search --> : i'm back again!!!
neenach2002
07-13-2003, 01:21 AM
ok...i need to know how i can make a page with links on it so that ALL of the links refer to one page, but will load different files
ie:
want to make one MOVIE page, but have it able to play a file based on link that was clicked.
Any help would be greatly appreciated.
kipkreations
07-13-2003, 07:07 AM
I would use IFRAMES for something like that,
that way, the links are always the same and refer to different pages..
neenach2002
07-13-2003, 12:49 PM
that doesn't solve the ability to embed media in a page, and be able to load different files through the links, and i don't believe that any frames at all work on MSN pages.
kipkreations
07-13-2003, 06:42 PM
you didnt say anything about MSN, I have my own hosting..
and then I use frames to load my music so it plays through the whole site and not just the page youre on..
the way that your question is presented thats what it sounds like.. when you click a link, a different MOVIE will be loaded..
neenach2002
07-13-2003, 07:42 PM
ok...well now that I've mentioned it, can you please help
I still don't know how to have a file embeded in a page, and have it open a different file depending on a link that has been pushed, and it NEEDS to work on msn.:D :D :D :confused: :confused: :confused:
kipkreations
07-13-2003, 07:57 PM
what type of link does it depend on?
still not understanding the question.. please detail..
neenach2002
07-13-2003, 08:03 PM
ANY kind of link, i don't care, the main thing is getting the page to play a different video file upon the pressing of a link, if a person wants to see movie one, then they click the link for that move, but remain on the page.
tobyw_1969
07-13-2003, 08:21 PM
why not use php? i think that would be perfect for this, if I understand what you are trying to do.
you can make one file called 'movieplayer.php'. start out by doing all your html to get it to look nice, and then insert some simple PHP at the beginning like this
<?php
$myimage = $_REQUEST["myimage"];
?>
That just makes a variable which is easier to use than the $_REQUEST format... Now you can replace the file name in your embed tag for the movie with a php tag like this
<img.src="images/<?php echo $myimage; ?>">
I don't know what your embed code will look like, so I am just using an image for an example.
Once you save your document as movieplayer.php, it will then expect a value to be passed in with the URL link.
So from your first page you can set up all the links like this
<a href="movieplayer.php?myimage=movie1">First</a>
<a href="movieplayer.php?myimage=movie2">Second</a>
and so on. So they all link to one page, but pass in the correct movie to play - I've just done this with flash movies, and it saves an awful lot of page creation...
Hope that helps.
kipkreations
07-13-2003, 09:43 PM
Will PHP work on MSN??
neenach2002
07-13-2003, 10:08 PM
one simple word. NO:(
kipkreations
07-13-2003, 10:15 PM
thought so, hmm.. well by the looks of it,
this project is simply impossible with free hosting. but there are always ways around things..
tobyw_1969
07-14-2003, 09:15 AM
What do you mean by doing it on MSN? Isn't this going to be a normal web page?
neenach2002
07-14-2003, 11:44 AM
I have found that although MSN is very good for making websites, they don't support much code editing. HTML included.