Reply
DHTML PopUp Needed
Old 07-22-2005, 03:22 PM DHTML PopUp Needed
MightyMaster's Avatar
Ultra Talker

Posts: 401
Location: Appleton, WI
I am looking for a DHTML popup script. I want to have a small popup box come up on my site and ask the visitor to join the newsletter but I don't want to have any window edges. I want it to look like an image where they can enter their email address and subscribe. Any ideas?
MightyMaster is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-22-2005, 03:38 PM
chrishirst's Avatar
Super Moderator

Posts: 16,477
Location: Blackpool. UK
Code:
// javascript popup sizeable window
function NewWindow(mypage, myname, w, h, scrolling) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+ h +',width='+ w +',top='+ wint +',left='+ winl +',scrollbars='+ scrolling +',resizable='+'no'+',menubar='+'no'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
HTML Code:
  <a href="page.xxx" onClick="NewWindow(this.href,'name','330','350','no');return false;">Anchor Text</a>
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System | Bits & Bobs
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to DHTML PopUp Needed
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11605 seconds with 12 queries