Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
WebDwarf, SiteSpinner, SiteSpinner Pro 'How do I...'
How do I get rid of the "Thank You" window on a password page?|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Working Mechanic |
Not that I want to be rude, but would rather avoid the need for an extra user click.
|
||
|
VM Staff![]() |
Hi Richard,
If you are referring to the 'thank you' pop up, unfortunately there is no way to disable this at the present time. The only way around that would be to enable password protection at your webhost. - Derry |
|||
|
Guru 'Power' Mechanic![]() |
I'll be rude -- I've always found that popup irritating
If you don't mind messing a little bit with Javascript, here's a work-around:
<script language="JavaScript" type="text/javascript">
var wrong="index.html";
var password="test";
var name=prompt("Enter the password","");
if (name == password) {(confirm("Thank you!"))}
else {location.href=wrong}
</script>
<script language="JavaScript" type="text/javascript">
var wrong="index.html";
var password="test";
var name=prompt("Enter the password","");
if (name != password) {location.href=wrong}
</script>
|
|||
|
|
Working Mechanic |
sorry for replying to this old post but.... here goes.
The "Thank You" page i have is an regular page in the project. But it is the same size as all the other pages, and a "Thank You" doesn't need a whole page. Is it possible to downsize that spesific page? Sorry i couldn't find the answer my selfe! Its probbably easy as h***! |
|||
|
Guru 'Power' Mechanic![]() |
Yes, you could specify an HTML page that contains the "Thank You" message and it is possible to make that page smaller than normal size -- as in the examples here.
Another possibility is to extend the line that says: confirm("Thank you!")By adding '\n' characters, you can force new lines -- e.g: confirm("Thank You!\n\nLine1\nLine2\nLine3") |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
WebDwarf, SiteSpinner, SiteSpinner Pro 'How do I...'
How do I get rid of the "Thank You" window on a password page?
