Results 1 to 4 of 4

Thread: Trying to create a custom pop up

  1. #1
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Trying to create a custom pop up

    Hi Everyone!

    I am trying create a popup that does not open a "webpage" - I want to create a popup with just plain text, for example:

    This site: http://www.emailmeform.com/?v=turing&pt=popup - it opens up to just plain text, no website, thats what I want to create, preferrably done with a wizard.

    I hope you understand what Im trying to do.

    Thanks,

    Nick

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    The site you linked to is not a good example of what you want to accomplish as it uses a webpage (HTML) for it. If you look at the source, you will see all the elements that build up and HTML page (webpage). You can still create a popup that uses plain text; although you lose all formatting that you could achieve using HTML/CSS. For more info on making the popup, simply search this forum or the DD library for a pop-up window script.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. The Following User Says Thank You to thetestingsite For This Useful Post:

    Castle_Rock (03-09-2008)

  4. #3
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Ok, thank you thetestingsite,

    so I searched for the pop-up window script in this forum, and havn't found much as in instrcuctional, but may do a rollover script as explained on this site. Im experimenting different things as well.

    BTW: whats the bext pixel size for a popup window?

    Thanks,

    Nick

  5. #4
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,876
    Thanks
    49
    Thanked 264 Times in 256 Posts
    Blog Entries
    56

    Default

    Text.html:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    
    <head>
    
    <script type="text/javascript">
    function OpenText(URL){
    window.open(URL,null, 'width=500, height=500, scrollbars=yes, toolbar=no, menubar=no, directories=no, location=no, left=200, height=200, top=10, resizable=yes, status=no, scrollbars=yes')
    }
    </script>
    
    </head>
    
    <body>
    <a href="javascript:void(0)" onclick=OpenText('text.txt')>Open text</a>
    </body>
    
    </html>
    Text.txt:
    A plain text-file (extension: txt). Make sure to have hard returns on the appropriate places there, since there is no formatting.

    Arie Molendijk

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •