Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

JavaScript : Div Deque?

Share this post!
 Vote this!

What is a deque? A deque is a double ended que. Most of you are familiar with it, but for those who are not, a stack is like a stack of plates. You put one plate on the top, and when you want the plate again you pick it up. First in last out. A deque is double ended so its kinda like those plates are hovering in the air, and you can put plates on the bottom and on the top and take one off from either end as well. If that was a horrible explanation click here.

The idea behind this is having a div, and inside of that div I will use JS to move around there.

So lets start off making a div, set the id to something we can remember "deque" seems appropriate to me. Add a input box and submit box to help us add things as well. I put an id on the text box as well since we will need the value.  more...

0 comments:

Post a Comment