Thisis the page: http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/ I need only the SELECET form from there. I tried to download the javascript, the css and create one main page (index.html) with the SELECT FORM. But its not working for me. I'll be happy if someonecan create the code for the main page (index.html) so i'll be able to use it.. Thanks alot guys!
It works for me. Just edit the form.css to have select.png instead select.gif Here is an example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>my page</title> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <link rel="stylesheet" type="text/css" href="form.css" media="screen" /> <script type="text/javascript" src=custom-form-elements.js></script> </head> <body> <form method="get" action="."> <select name="d" class="styled"> <option value="1">Option 1</option> <option value="2">Option 2</option> <option value="3">Option 3</option> </select> </form> </body> </html> PHP:
Still is not working, anyone can create index.html for me that integrated with js file and css file that works? I'll be so glad to get that.. Thanks alot.
Okay. You'll find 2 examples in attachment, but basically they are the same: First example is a simplified usage, focusing on <select> element only. It uses .GIF images. Second example is a copy from http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/example/. It uses .PNG images Good luck!