Sullivanolen Posted May 29, 2013 Share Posted May 29, 2013 Hi! I have question about Select Options from dropdown Options selection and selection is image with hover text on image! Ex: Like if you register on some forum and select own country from dropdown selection, and in forum viewthread shows your country with flag image somewhere above or up avatar. That i mean! Example picture: I working on my project "Film DB Liberty" what based on Movie DataBase mdb1987 CMS! Let me explain a bit: I want, if i add new movie to DB i have options select on Dropdown list "DVD" or "Blu-ray" and i select in list ex "DVD" it show in my main DB page like this format: Film Format: (and on image show hover text "Owns DVD"!) There is serval files what need to be mod, files codes i attached to that post! Image files what i want use is here... Blu-ray - http://films.jomppaspace.net/img/blu_ray_logo_small.png DVD - http://films.jomppaspace.net/img/dvd_logo_small.png Making that simple, i find dropdown code where is image as a selection but i do not know how but that in to my code! <html> <body> <img id="imageToSwap" src="http://films.jomppaspace.net//img/dvd_logo_small.png" /> <br/><br/> <select id="dlist" onChange="swapImage()"> <option value="http://films.jomppaspace.net//img/dvd_logo_small.png">DVD</option> <option value="http://films.jomppaspace.net/img/blu_ray_logo_small.png">Blu-Ray</option> </select> <script type="text/javascript"> function swapImage(){ var image = document.getElementById("imageToSwap"); var dropd = document.getElementById("dlist"); image.src = dropd.value; }; </script> </body> </html> Please help me someone who knows better PHP code than me,woult extrem grateful if someone can modify code! (Agree also pay little for that!) Have skype and steam, pm me if you want add me! Hope you understand my question, sorry for poor english! Kind regards Elari add.php.txt add1.php.txt delete.php.txt delete1.php.txt edit.php.txt edit1.php.txt edit2.php.txt functions.php.txt index.php.txt Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/ Share on other sites More sharing options...
Sullivanolen Posted May 30, 2013 Author Share Posted May 30, 2013 Please, need help with that! Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/#findComment-1433169 Share on other sites More sharing options...
Sullivanolen Posted June 1, 2013 Author Share Posted June 1, 2013 Hallo, still need help with that! Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/#findComment-1433529 Share on other sites More sharing options...
mac_gyver Posted June 1, 2013 Share Posted June 1, 2013 the reason you haven't gotten any replies is because all you have posted is a statement of what you want and all the code making up your application. you haven't made an attempt at changing the code do what you want, so you don't have a programming problem yet. wanting to change what your code does isn't a programming problem, it's a want. things you want are obtained by doing the work yourself or by paying someone to do the work for you. either attempt to change the code yourself and then post just the relevant code you need help with or post in the freelancing forum section (and since it's probably going to take a few hours of a programmer's time, you should expect to pay at least a few hundred dollars for the work.) Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/#findComment-1433574 Share on other sites More sharing options...
Sullivanolen Posted June 1, 2013 Author Share Posted June 1, 2013 (edited) 500$? common man, its only five min work who know code! 500$ ahaa Edited June 1, 2013 by Sullivanolen Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/#findComment-1433588 Share on other sites More sharing options...
Jessica Posted June 1, 2013 Share Posted June 1, 2013 If you know it's 5 minutes of work, you clearly know how to fix it. Good job. Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/#findComment-1433589 Share on other sites More sharing options...
Sullivanolen Posted June 1, 2013 Author Share Posted June 1, 2013 (edited) Figured out, but its show some errors Strict Standards: Declaration of Website::display() should be compatible with Smarty_Internal_TemplateBase::display($template = NULL, $cache_id = NULL, $compile_id = NULL, $parent = NULL) in /home/jomppasp/public_html/filmslib/lib/Website.class.php on line 4 Strict Standards: Non-static method DatabaseManager::connect() should not be called statically, assuming $this from incompatible context in/home/jomppasp/public_html/filmslib/lib/Database.class.php on line 12 Strict Standards: Accessing static property Users::$database as non static in /home/jomppasp/public_html/filmslib/lib/Database.class.php on line 12 Strict Standards: Non-static method DatabaseManager::connect() should not be called statically, assuming $this from incompatible context in/home/jomppasp/public_html/filmslib/lib/Database.class.php on line 12 Strict Standards: Accessing static property Movies::$database as non static in /home/jomppasp/public_html/filmslib/lib/Database.class.php on line 12 Edited June 1, 2013 by Sullivanolen Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/#findComment-1433590 Share on other sites More sharing options...
mac_gyver Posted June 2, 2013 Share Posted June 2, 2013 its only five min work who know code! that may be correct, but for anyone here to figure out what all your code is so that the result would be complete and error free, it would take a few hours (a few means 2-3.) if someone on a different forum came up with that $500 figure, that's possible too if they looked at the code (no one here has even downloaded any of your files, because we know you don't intend to pay anywhere near what the work would cost.) Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/#findComment-1433650 Share on other sites More sharing options...
Sullivanolen Posted June 2, 2013 Author Share Posted June 2, 2013 Its the help forum, why i even shoult pay, i come here to search help! Quote Link to comment https://forums.phpfreaks.com/topic/278571-adding-from-dropdown-selection-list-selections-and-selections-is-image/#findComment-1433672 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.