Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Help Please!

  1. #1
    New to the CF scene
    Join Date
    Jan 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,195
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    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.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    New to the CF scene
    Join Date
    Jan 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,195
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    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.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #5
    New to the CF scene
    Join Date
    Jan 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!

  • #6
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,195
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    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.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •