Displaying 2 results from an estimated 2 matches for "path_to_thumbnail".
2006 May 11
4
modelling data to specify user access
...ages, and divide it out into portfolio and
galleries.
I am sitting down mapping the data right now, but I am not sure how to
handle this. How many tables to I need and how do I map them together?
So far I have these tables:
Users
*ID
*username
*password
Images
*ID
*image_name
*path_to_image
*path_to_thumbnail
Galleries
*ID
*gallery_name
and then I''m not sure about:
Gallery_Names?
User_Access?
I''d appreciate help if anyone has had experience with this before...
Jason
--
Posted via http://www.ruby-forum.com/.
2008 Jun 30
1
javascript onclick for thumbnails
...ptions(''<%= exercise.path_to_video
%>'', ''active_<%= exercise.id %>'')" class="video_option" id="active_<%=
exercise.id %>">
12. <div class="thumbnail"><img src="<%=
exercise.path_to_thumbnail %>" width="80" height="75" /></div>
13. </div>
14. <% end %>
15. </div>
what i want is, when user clicks on 1st thumbnail the class should
become ''video_option active_video''.And when clicks on...