![]() |
![]() |
tudsy |
![]()
Post
#1
|
Advanced Member ![]() ![]() ![]() ![]() Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 ![]() |
)Hi
I am still having problems in trying to come up with a drop down menu. I have attached the full code and the resulting output (screenshot). The main problem is that I am not generating the options in the drop down menu. Can anyone help? Thanks. Attached thumbnail(s) ![]() Attached File(s) ![]() |
![]() ![]() |
CharlesEF |
![]()
Post
#2
|
Programming Fanatic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 ![]() |
Maybe, since you are not uploading an image to the server, you don't need to use PHP or AJAX at all. You might be able to use Javascript to set the 'src' attribute of the <img> tag.
It's been awhile since I had to do this so I don't remember for sure, but this is another option to try. |
Christian J |
![]()
Post
#3
|
. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 9,687 Joined: 10-August 06 Member No.: 7 ![]() |
Maybe, since you are not uploading an image to the server, you don't need to use PHP or AJAX at all. Note that using an onchange event to reload the page might annoy users, especially if the SELECT menu is located a bit down on the page --suddenly the whole page reloads, and the user has lost focus of the SELECT menu and finds himself at the top of the new page. QUOTE You might be able to use Javascript to set the 'src' attribute of the <img> tag. Yes, and it may also be a good idea to preload the images with javascript to avoid any delays. Also, BMP images may not be ideal due to their large file sizes (older browser don't support them either). |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 24th June 2024 - 04:25 AM |