I need to add some features into the options in the view sections including 
images or videos.

I did this code below but the images are not showing.

<select name="second_offer" id="second_offer" class="second_offer"size="5" 
style="background-color: white;height: 160px;width: 800px;">   
            <option value="1" style="widht:200px; 
height:30px;background-image:url('{{=URL('static', 
'images/life.jpg')}}')">Boat</option>

when using a web link e.g. 'https/www...link-to-image.com', this appears 
buy my images are in the static/images folder.
Please assist.
Regards

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/54671c55-10fb-4f97-8705-a5e2437f63cbn%40googlegroups.com.

Reply via email to