HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 6th, 1999, 08:29 AM
DGBrothers
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Hi,
I send e-mails to existing clients, and I wanted an HTML business card to automatically pop up, with a print button, so clients can have a hard copy business card should they want it.
I'm using an HTML signature file in Outlook set up with three columns (left column is photo and navigation, middle column is the email message, right column is my news updates). From this signature file, I use (or try to use) JavaScript to call the business card pop-up. I set the pop-up to automatically close after one minute, so if the clients ignore it, it quietly goes away.
I've got everything coded, and it works when I load it into Internet Explorer, but it won't work from Outlook, no matter what my security settings are.

javascript:
<SCRIPT LANGUAGE="JavaScript">
<!-- hide the script
openWin = window.open("http://mypages.prodigy.net/myname/myPopUp.htm","childWindow","top=0,left=0,width=470,height=350,location=no,scrollbars=no,menub ars=no,toolbars=no,resizable=no");
openWin.focus();
setTimeout('openWin.close()',60000)
// -->
</SCRIPT>

And I've put the following into the <BODY> tag:
onLoad="openWin()"

Can anyone help me? Thanks in advance!
Darren
DGBrothers@prodigy.net

[This message has been edited by DGBrothers (edited 12-06-99).]

[This message has been edited by DGBrothers (edited 12-06-99).]

Reply With Quote
  #2  
Old December 8th, 1999, 11:02 PM
Spookster
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Well in your onLoad event you are calling for a function named openWin(). YOu dont have a function defined in your script. Put this around your script:
<script>
function popup(){
your popup coding goes here

}
</script>

And then put this on your body tag:

onLoad="popup()"

Spookster

Reply With Quote
  #3  
Old December 9th, 1999, 10:12 AM
DGBrothers
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Sorry, Spookster.
I tried that, and not only didn't it work in Outlook, it wouldn't work in IE5 either.

Maybe I'm doing something wrong. Here's what I've got in my signature file (about the top 1/3 of it, anyway):

<HTML>

<!---------- Begin Head -------------------->
<HEAD>
<BASE href=http://pages.prodigy.net/dgbrothers/index.htm>
<META content="Darren G. Brothers" name=GENERATOR>

<!---------- Begin Title ------------------->
<TITLE>Darren Brothers - Your Residential Real Estate Consultant</TITLE>
<!---------- End Title --------------------->

<SCRIPT LANGUAGE="JavaScript">
<!-- hide the script
openWin = window.open("http://pages.prodigy.net/dgbrothers/PopUp.htm","childWindow","top=25,left=25,width=470,height=350,location=no,scrollbars=no,men ubars=no,toolbars=no,resizable=no");
openWin.focus();
setTimeout('openWin.close()',60000)
// -->
</SCRIPT>

</HEAD>
<!---------- End Head ---------------------->

<!---------- Begin Body -------------------->
<BODY aLink=#808080 bgColor=#ffffff link=#000000 vLink=#3062c3>

<!---------- Begin Wrong Format Notify ----->
<!--<PRE>
*********************************************
*********************************************
** NOTICE: If you can read this paragraph, **
** we are sending you email with the wrong **
** format. We apologize for the **
** inconvenience. To ensure that we get **
** it right, please forward this email to: **
** **
** DGBrothers@prodigy.net **
** **
** In the subject line of the message, **
** please put "WRONG FORMAT". You don't **
** have to put anything in the body of the **
** message. With your help, we will make **
** your email the best possible! **
*********************************************
*********************************************
</PRE>-->
<!---------- End Wrong Format Notify-------->

Reply With Quote
  #4  
Old December 15th, 1999, 03:57 AM
PAV
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Try this:

<SCRIPT LANGUAGE="JavaScript">
<!-- hide the script
function winPopup() {
window.open("http://pages.prodigy.net/dgbrothers/PopUp.htm","childWindow","top=25,left=25,width=470,height=350,location=no,scrollbars=no,men ubars=no,toolbars=no,resizable=no");
}
// -->
</SCRIPT>

</HEAD>
<!---------- End Head ---------------------->

<!---------- Begin Body -------------------->
<BODY aLink=#808080 bgColor=#ffffff link=#000000 vLink=#3062c3 onLoad="winPopup();">

There you go!

Peter

Reply With Quote
  #5  
Old December 20th, 1999, 05:48 AM
DGBrothers
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Nope, sorry.
I cut and pasted the code exactly as you had it in your example. Again, as in Spooksters example, not only did it not work in Outlook, it stopped working when I previewed it in IE5.

Anybody got any ideas on how to make a popup HTML window in Outlook 98?

Can I somehow modify a dialog box to include HTML code and graphics?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Opening pop-up from Outlook...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway