Jump to content

Adding from dropdown selection list selections and selections is image


Sullivanolen

Recommended Posts

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:

 

SelectionImage.png flag_img.PNG

 

 

 

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: dvd_logo_small.png (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

DVDhttp://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!  :confused:

 

 

<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

Link to comment
Share on other sites

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.)

Link to comment
Share on other sites

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 by Sullivanolen
Link to comment
Share on other sites

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.)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.