View Full Version : Hidden Button Combo
pete.lambo
12-01-2008, 03:09 PM
Hi everyone,
I'm fairly new at coding and I always try to do what is beyond me!! [If you don't try you don't learn...] I'm building an information site and need to incorporate a 'secret access' url link which the user will be sent to when the screen is double clicked in two fixed invisible 'hot spot' areas.
I've been trying for days but for the life of me can't figure it out....can anybody help....please.....
Snookerman
12-01-2008, 03:29 PM
If I understand this correctly you need to put a link on a page and hide it so people have to guess where it is? The easiest way to do that is to use the same color for the text, or whatever your link is, as the background. Then it wont be visible, just like this >> http://www.dynamicdrive.com/forums/ (http://www.dynamicdrive.com/forums/) << link.
pete.lambo
12-01-2008, 03:40 PM
Not quite, that would be too easy and could accidentally be discovered. What I’m trying to do is to have either 2 and 4 invisible buttons or ‘hot spot’ areas, say in each corner or at opposite corners, to access the hidden URL the user would have to enter a sequence of button presses, say maybe double click top right hand hot spot then double click bottom left hand hot spot in a given time frame to gain access, and if the time frame was exceeded nothing would happen. Hope this makes more sense.
Snookerman
12-01-2008, 04:09 PM
You'll probably have to use javascript for that, not really my strong side so someone else will have to help you out.
pete.lambo
12-01-2008, 04:13 PM
Thanks snookerman, that's my whole problem, it will need some coding and I can't get my head around how to make it work
BLiZZaRD
12-01-2008, 05:54 PM
JavaScript can do it, but then the points and URLs and button combos will be visible in the Source Code. Flash can do it, and hide it a bit easier. No matter what thogh you aren't going to make it undiscover-able. (yes, I know that's not a word)
Flash, or Java, are probably your most secure bets for this, but those with decompilers can still access the information, if they really want it.
bruglione
12-02-2008, 09:07 AM
Why don't you just make a 'backdoor' page?
And don't have a link to it at all? so then people would have to guess the link in order to get to whatever your trying to hide.
example: yoursite.com/secretarea1234
pete.lambo
12-02-2008, 10:44 AM
Hi Guys,
thanks for your input, I think I need to give you a bit more info on what I'm trying to do. The system will run on a touch screen, so there is no keyboard or mouse, so trapping key inputs or mouse positions is not an option, it will need to rely purelly on mouse clicks, and I've also hidden the address bar, so you can't physically enter a URL, the whole system is based on links to off line pages, and only one on-line web site which will be white listed. The idea of the double hidden button double click is that it will call on a link to an admin page which is password protected. My only stumbling block is the 2 button combination to call up the admin page.
bluewalrus
12-03-2008, 03:49 AM
i'd think flash then set _root.m=0; at the start of your flash movie.
buttonwhateveritis.onRelease = function() { //on a click and release of mouse
if ( _root.m >= 12) { //tests to see if its past the number of clicks
getURL("PAGENAME.html", "_blank") //if it has load this page
} else {
_root.m= _root.m + 1; // add 1 because we still haven't hit number of clicks to load the page yet.
}
};
This is assuming the users finger still functions as a mouse would.
BLiZZaRD
12-03-2008, 04:28 PM
You would need to do more than that. Such as mouse control, pointer staying pointer, disable the tab highlight, and on and on...
bluewalrus
12-04-2008, 03:17 AM
I was thinking he could make the hit region as 1 pixel and have the arrow still show up cause this would only be a small area compared to the whole screen. There is no keyboard either so no tab needed.
pete.lambo
12-05-2008, 11:43 PM
Thanks for all your responses, I've updated my other post at http://www.dynamicdrive.com/forums/showthread.php?p=173859#post173859
pete.lambo
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.