Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

javascript listview (list of events)

Posted on 2014-10-26
5
Medium Priority
?
142 Views
Last Modified: 2014-10-27
I want to create a list view of events on a website using javascript, html5, and css. I could use a library for javascript.

I want each event to have the following:
a picture
a title
a few description sentences
a button to register
date of the event

what is a good way to do this? Or a library widget? Just looking for some basic pointers to the right tool for this exact thing.

Thanks,
alex
0
Comment
Question by:alexmac05
  • 3
  • 2
5 Comments
 

Author Comment

by:alexmac05
ID: 40405460
this is exactly the sort of thing i'm looking to create. perhaps i'll just try with an HTML table, but i thought there would be a widget for this

https://www.eventbrite.com/directory?format=Class
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 40406096
you do not need JavaScript just to create the view.  if it's a list then you should use the list element: ul

don't use tables for layout. it might seem easier now but will give you a huge headache later.
0
 

Author Comment

by:alexmac05
ID: 40406378
So just HTML and CSS?
0
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 2000 total points
ID: 40406393
yup.

something along the lines of:

ul
  li
   div <-- in here put all the bits and pieces, picture, text, etc...

do a reset on the list elements to remove margins padding and bullets.
0
 

Author Closing Comment

by:alexmac05
ID: 40406395
Thank you
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question