I am very new to doing all this stuff so i need as much help as possible. I created a page that has a slideshow on it. The page is in php however that wont really concern this. To Display the slide show on the page i have put the slideshow script in its own page so the index is not filled up with all that jibberish... so my index uses the include to grab it out and display it.
Ok so that is a success.PHP Code:<?php include ("includes/slideshow.php");?>
Now i have a drop-down menu
And now im stuck!Code:<select name="mydropdown"> <option value="List">View as list</option> <option value="Show" selected="selected">View as slide-show</option> </select>
What i need now is to change the content of the page if options are selected.
So lets say you are on my page and you change the drop-down menu to View as list.
I need it to beinstead ofPHP Code:<?php include ("includes/mylist.php");?>and if you selected View as slideshow in the drop-down it needs to bePHP Code:<?php include ("includes/slideshow.php");?>I have looked at many scripts etc to change content on a page and none of them make no sense to me so i wouldent be able to change to content to suite my needs.PHP Code:<?php include ("includes/slideshow.php");?>
Help is much appriciated. Thanks



Reply With Quote

Bookmarks