Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-16-2013, 06:57 PM   PM User | #1
MGorman23
New to the CF scene

 
Join Date: Jan 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
MGorman23 is an unknown quantity at this point
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
MGorman23 is offline   Reply With Quote
Old 01-16-2013, 10:01 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,237
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
Old Pedant is offline   Reply With Quote
Old 01-17-2013, 02:24 PM   PM User | #3
MGorman23
New to the CF scene

 
Join Date: Jan 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
MGorman23 is an unknown quantity at this point
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
MGorman23 is offline   Reply With Quote
Old 01-17-2013, 10:34 PM   PM User | #4
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,237
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
Old Pedant is offline   Reply With Quote
Old 01-18-2013, 11:02 PM   PM User | #5
MGorman23
New to the CF scene

 
Join Date: Jan 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
MGorman23 is an unknown quantity at this point
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!
MGorman23 is offline   Reply With Quote
Old 01-19-2013, 12:00 AM   PM User | #6
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,237
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:18 PM.


Advertisement
Log in to turn off these ads.