View Single Post
Old 12-10-2012, 10:12 PM   PM User | #16
Mayankode
New Coder

 
Join Date: May 2011
Posts: 27
Thanks: 4
Thanked 0 Times in 0 Posts
Mayankode is an unknown quantity at this point
I have replaced the carousel code with

oIframe.src = "Codebox/" + password + ".html";

and it does the right thing when I enter the right password..
But does not bring back to dump if I enter wrong password... it just takes me (as intended by the original code) to /Codebox/wrongpassword.html

The problem here is, a wrong password can be any thing and the code contend in the pop up box does not know when it opens, what password the user is going to enter.

I know I am not understanding the code. Here is the file arrangement.
Webroot
-index.html (the homepage)
-dragto.html ( refered to as dump)
-gate.html (the pop up )
-Codebox
--xyz.html (refered to as treasure)

Please suggest what should the code be which I need to put in the pop up (gate.html).

I think I am confused about the not-carousel.html in the code. Please help
Here is the link with the implemented code. https://dl.dropbox.com/u/25512757/Sand-Box/index.html
Mayankode is offline   Reply With Quote