|
-
Mar 5th, 2007, 04:18 PM
#1
Thread Starter
Member
make image appear in website
hey there, im making the photo generator thing and this is how it works.
there is a list of names, when someone clicks on a name, there photo appears on the website in a specific area, when i new name is clicked the picture is replaced with there pic.
How might i go about doing this? all the pictures have been uploaded to my webserver already, just need the code.
thx
-
Mar 5th, 2007, 06:06 PM
#2
Frenzied Member
Re: make image appear in website
How is the names and the photo's linked? Does a image name have the same value as a person's id in the database for instance?
You can use a javascript called in the link's onclick.
Another option is to use a querystring, having the page redirect to itself with the image name in the url (mypage.php?pic=123.jpg)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|