CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript programming (http://www.codingforums.com/forumdisplay.php?f=2)
-   -   Help Please! (http://www.codingforums.com/showthread.php?t=285896)

MGorman23 01-16-2013 06:57 PM

Help Please!
 
Hello everyone,

First off I am new to the site and relatively new to coding as a whole, so anything that can be done to make things clearer would be much appreciated!


Anyways on to my issue:

I am creating a website that involves flashcard making online. I can handle the layout and design pretty well. (currently doing that with Photoshop Slicing and inputting to Dreamweaver... Is that reasonable???) But anyways, aside from the design aspect I have no idea how I can create a flashcard builder similar to ones you see on other sites. I'll post some links of similar sites that do this.

http://www.kitzkikz.com/flashcards/
http://quizlet.com/create_set/


Ideally I would want people to be able to see two sides of a flashcard... type front... quick transfer to back side... type... quick transfer to next card.

ANY ANY ANY information at all would be SO MUCH appreciated,

Thanks again,

Marty

Old Pedant 01-16-2013 10:01 PM

You want to create *printable* flash cards? You don't want to use online flash cards?

If you are after printable ones, then why do you need flip between front and back? Just allow <textarea>s for both front and back at the same time, as (for example) that second site you posted does.

Even if you want to *present* the flash cards online, why does the person creating them need to be able to flip? Seems to me that would be less convenient than just giving them side by side textareas where they put in the front on the left and the back on the right.

MGorman23 01-17-2013 02:24 PM

Thank you for your response.

I wanted to have users be able to create the flashcards online. Then they can print them in a friendly version, AND have the option of saving them to the data base with information such as Class, Professor, Textbook, etc.

Is this possible??

Marty

Old Pedant 01-17-2013 10:34 PM

Of course it is possible. How do you think those two sites you showed do it if it is impossible?

Need to warn you that if you print anything FROM THE BROWSER, then the browser is going to put its own header and footer and page number and other stuff on the page. That can all be suppressed, but you would have to give your users *VERY* detailed instructions on how to do so and how to restore the browser to normal afterwards.

So I hope you can live with the gobbledy-gook added by the browser.

You alternative is to send the info from the flash cards back to the server and then have the server create PDF files. The user would then download the PDF and print from it.

If you are going to be saving the flash cards in a database, you'll need to send them to the server, anyway, so this may make sense.

If you are going to send them to the server, then there is really no reason to get JavaScript involved in this!!!

You can do it all with HTML and a <form> and then the appropriate server-side (PHP/ASP/JSP) processing of the form fields.

MGorman23 01-18-2013 11:02 PM

I have no idea how to do any of that at all haha but I will slowly try to learn and plug away at it. I am a college student so I will try to do this in my spare time.


Thanks for the help!

Old Pedant 01-19-2013 12:00 AM

Note that I did *not* say you can't do the basic job with HTML/JavaScript. You could certainly enter the information for the flash cards and then use JS to format them for you and allow the user to print them.

But they would not then be saved on the server and they would have the header/footer stuff printed on them by the browser.

In other words, it might be a place to start from if you need a quick and dirty solution. Just not a good long-term answer.


All times are GMT +1. The time now is 05:48 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.