View Full Version : Trying to create a custom pop up
Castle_Rock
03-09-2008, 03:13 AM
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
thetestingsite
03-09-2008, 03:28 AM
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.
Castle_Rock
03-09-2008, 03:52 AM
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
molendijk
03-09-2008, 12:48 PM
Text.html:
<!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
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.