Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Working Mechanic
Picture of Richard Iredale
Posted
Not that I want to be rude, but would rather avoid the need for an extra user click.
 
Posts: 85 | Location: Portland, Oregon, USA | Registered: April 29, 2004Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
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
 
Posts: 4166 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
I'll be rude -- I've always found that popup irritating Wink Smile

If you don't mind messing a little bit with Javascript, here's a work-around:
  • Create your password protected page from the SiteSpinner Page Editor > Header tab
  • Open the page in preview (you'll need to enter the password)
  • From your browser, do View > Source
  • Find and copy a block of code like this near the top of the html source
    <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> 

  • Modify the code like this (2 lines at the bottom)
    <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>
    

  • Create a custom header with the modified code (Page Editor > Header tab)
  • Uncheck the box "Enable Password Protection"
  •  
    Posts: 9224 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
    Working Mechanic
    Posted Hide Post
    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***!
     
    Posts: 20 | Registered: June 19, 2006Reply With QuoteEdit or Delete MessageReport This Post
    Guru 'Power' Mechanic
    Picture of Bruceee
    Posted Hide Post
    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")
     
    Posts: 9224 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
      Powered by Eve Community  
     


    ™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.