How Do I Insert 2 Email Forms in a Flash Site

Let's say I wanted to have 2 email forms in a flash site. One to go to one inbox and another to go to another inbox. That's easy enough to do by editing the PHP, but not the AS3. The following code works for the first email form, but not the 2nd because of duplicate actions.  So my question is, "What do I need to edit in the following AS3 code to get it to submit a second form?"  Thanks.
[as]
stop(); 
contact_name.text = contact_email.text = contact_subject.text =  contact_message.text = message_status.text = ""; send_button.addEventListener(MouseEvent.CLICK, submit);
reset_button.addEventListener(MouseEvent.CLICK, reset); 
var timer:Timer;
var var_load:URLLoader = new URLLoader;
var URL_request:URLRequest = new URLRequest( "send_email.php" );
URL_request.method = URLRequestMethod.POST; 
function submit(e:MouseEvent):void
    if( contact_name.text == "" || contact_email.text == "" ||
        contact_subject.text == "" || contact_message.text == "" )
        message_status.text = "Please complete all text fields.";
    else if( !validate_email(contact_email.text) )
        message_status.text = "Please enter a valid email address.";
    else
        message_status.text = "sending...";
        var email_data:String = "name=" + contact_name.text
                       + "&email=" + contact_email.text
                       + "&subject=" + contact_subject.text
                       + "&message=" + contact_message.text;
        var URL_vars:URLVariables = new URLVariables(email_data);
        URL_vars.dataFormat = URLLoaderDataFormat.TEXT;
        URL_request.data = URL_vars;
        var_load.load( URL_request );
        var_load.addEventListener(Event.COMPLETE, receive_response );
function reset(e:MouseEvent):void
    contact_name.text = contact_email.text = contact_subject.text =
    contact_message.text = message_status.text = "";
function validate_email(s:String):Boolean
    var p:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/;
    var r:Object = p.exec(s);
    if( r == null )
        return false;
    return true;
function receive_response(e:Event):void
    var loader:URLLoader = URLLoader(e.target);
    var email_status = new URLVariables(loader.data).success;
    if( email_status == "yes" )
        message_status.text = "Success! Your message was sent.";
        timer = new Timer(500);
        timer.addEventListener(TimerEvent.TIMER, on_timer);
        timer.start();
    else
        message_status.text = "Failed! Your message was not sent.";
function on_timer(te:TimerEvent):void
    if( timer.currentCount >= 10 )
        contact_name.text = contact_email.text = contact_subject.text =
        contact_message.text = message_status.text = "";
        timer.removeEventListener(TimerEvent.TIMER, on_timer);
[/as]

Wouldn't you just change instance names completely?

Similar Messages

  • HT201320 how do I sync my email form my "Mail" program on my powerbook to my iphone.

    how do I sync my email accounts form my "Mail" program that are on my powerbook to my iphone. there used to be a tab in iTunes where all my emails were listed. where did this go?

    You will need to go to settings>mail contacts and calendars Once you are there you will then  add the email account you are wanting to sync the information from to your mobile device. Once the account is added to the mobile device you then will be able to sync contacts ect... to the device.

  • How to put sound player with selection to a flash site?

    hi to all flash fanatic,
    I want to put a sound player with selection in my flash site
    design. Anybody can teach me how or give me a sample code or file
    like I'm talking about. pls.
    Tutorial link also big help if u knw any link tutorials that
    deals to my problem.
    here are some web site sample of what I'm referring:
    1.
    http://ccmbscoe.ifastnet.com/
    2.
    http://liquid-body.com/main.html
    3.
    http://officialkimkardashian.com/
    Pls help me, I need it badly to my project.
    many tnx an advnce
    norman-RP

    hi hugh,
    ty for ur tym for answring and I appreciate it alot, can u
    tell me how can i get d video dt u r talking about?
    can u give me d link? is it free?
    hope u give me another tym of your bc sked.
    many tnx
    norman

  • How can I insert a Wordpress page into my Muse site?  I need a client to be able to edit links on specific pages.  Inbrowser doesn't allow client to ad links.

    I need to be able to give my client access to a few pages with links.  These links will change often and they want to make the changes.  What is the best solution if you can insert a Wordpress page into Muse?

    Hi Vickichic,
    It is not possible to insert a wordpress page in Muse. You can refer to this post for a similar discussion : Re: How can i integrate Wordpress in my Muse website?
    Regards,
    Aish

  • How can I validate an email password via the BIS site

    I have received a message asking me to validate the password for an MSN email account I access through a work Curve 8520. I have done this before without any problem but now my BB says there is a problem connecting to the server so I can't access my email accounts to validate. Email is still coming through on other accounts. I tried to use the PC and access through the Blackberry Internet Server page but can't find anywhere there to access email account settings (all the guides say email settings are on the left hand pane of the page but not on any page I have found?

    Hey idilks,
    Welcome to the forums. 
    Have a look at this article, it should help you with your issue. 
    How to re-validate your Windows Live Hotmail, MSN, and Bell Sympatico email integrations
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Pls help - how to create a navigator scroll bar in full flash site

    hi to all,
    good day! i'm norman of RP this s for all d flash master, i'm
    beginner only in flash and i want to create a full flash website
    but i didn't know on how to put a navigational scroll bar. is der
    anybody can help me to give me a simple code of it or a link?
    i appreciate any help from all of u. I nid it badly to my
    project.
    many tnx an advns
    - normz - RP -

    hi,
    use this below div tag to the table:
    <div style="overflow: auto; width: 480px; height: 100px; border-left: 1px gray solid; border-bottom: 1px gray solid; padding:0px; margin: 0px;">
    <table>
    </tabe>
    </div

  • How can i embed a rss feed to a Flash site?

    I already made a rss feed. That means i have created a xml file with the rss elements and save it. This is the code:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <rss version="2.0">
      <channel>
       <title>RSS Guia Facil</title>
       <link>
    http://es.geocities.com/rss_guia_facil.html
       </link>
       <description>Guia fácil y sencilla sobre el formato RSS</description>
       <item>
        <title>Qué es el RSS</title>
        <link>http://es.geocities.com/rss_guia_facil/que_es_rss.html</link>
        <description>Visita la Guía Fácil del RSS para saber qué es el
                    formato RSS</description>
       </item>
       <item>
        <title>Para qué sirve el RSSl</title>
        <link>
           http://es.geocities.com/rss_guia_facil/para_que_sirve_rss.html
        </link>
        <description>
        Visita la Guía Fácil del RSS y conoce para qué sirve el
        formato RSS
        </description>
       </item>
       <item>
        <title>Cómo se usa el RSS</title>
        <link>
           http://es.geocities.com/rss_guia_facil/como_se_usa_rss.html
        </link>
        <description>
        Visita la Guía Fácil del RSS para saber cómo usar el
        formato RSS
       </description>
      </item>
    </channel>
    </rss>
    Now i wanna embed the option of rss feed in my website, but it is made in Flash. I have already the code in html for this, it would be like this:
       <a type="application/rss+xml" href="nombre de tu canal RSS.xml">
    <img src="imagen que quieres que sirva de enlace.gif">
       </a>
    But I don't know how to "translate" this code into an actionscript....can anybody help me please!!!???
    Thak u for reading

    normally, an rss feed is loaded from another domain.  it looks like you've copied an rss feed and saved it as a local file.
    if you want to use as2 to load a local xml file, use the xml class.  if you want to load the cross-domain rss feed, use the loadvars class to load the return from a server-side script (eg, php) that loads the cross-domain rss feed.

  • Insert an email link

    Hi,
    how may I insert an email link in an adobe rome document ? the "mailto:..." command doesn't work...
    thanks.

    No, there's no special feature for mailing options.
    A few questions :
    - When you say it doesn't work, you mean that, when you click on the link, your default email client doesn't automatically start ? It should.
    - Do you write "mailto: ..." with quoting marks ? Quoting marks are useless.
    - The problem obviously appears when linking a part of the text (the Link option is available only with parts of text). Have you ever tried with a whole text area ? Through Event menu.
    - Which Rome do you use ? Online or local version ?
    - The problem appears in the preview, the output file or both ?
    Try to upload your site and then check your mailing button. Someone already posted about some URL rewriting by Rome within preview and local files, and the problem has been resolved with site online publishing.
    Good luck

  • Making email form with instructions in it?

    This might be a very basic question but I cant figure it out hehe ...I am trying to make an email form like on this site...
    http://www.timberline-resources.com/
    I know how to make the form but not with the "Enter Your Email".......I want to know how to do that...so that when you click in it it disappears...
    Thanks in advance for any help.
    T

    Your example site is all done with Flash which is not web-friendly. 
    My solution below uses a bit of JavaScript to clear the input field when clicked.  If nothing is typed in the field, the field value 'Enter Email To Get Updates' comes back.
    <input type="text" name="Your-field-name-here" onclick="this.value='';"  onfocus="this.select()" onblur="this.value=!this.value?'Enter Email To Get Updates':this.value;"  value="Enter Email To Get Updates" />
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Trouble linking AS3 and PHP to create email form

    I am using one of the Adobe cookbooks to create an email form for my flash website. I am SO close to getting this right and need some help! I used the AS3 code below as well as the PHP code below in order to create the email form. Everything seems to be working fine, that is until I try to send an email using the form. When I input all of the text into the form, I get the actionscript default warning I wrote that states "Oh no! Something is wrong! Try again..." Hence the email will not send. What could be wrong with the script? Or does it matter where I file the PHP file, my swf file, html file, and my fla file? I tried several combinations of filing everything together, seperate, and everything in between. Help! And thanks for anyone who can help!
    ACTIONSCRIPT CODE USED:
    stop();
    Buttons      
    sendbtn.buttonMode = true;
    sendbtn.addEventListener(MouseEvent.CLICK, submit);
    resetbtn.buttonMode = true;
    resetbtn.addEventListener(MouseEvent.CLICK, reset);
    Variables needed       
    var timer:Timer; var varLoad:URLLoader = new URLLoader;
    var urlRequest:URLRequest = new URLRequest( "mail.php" );
    urlRequest.method = URLRequestMethod.POST;
    Functions
    function init():void{
    //Set all fields to empty
    yourName.text = "";
    fromEmail.text = "";
    yourSubject.text = "";
    YourMsg.text = "";
    function submit(e:MouseEvent):void{
    //Check to see if any of the fields are empty
    if( yourName.text == "" || fromEmail.text == "" ||
    yourSubject.text == "" ||YourMsg.text == "" )
    { valid.text = "All fields need to be filled.";
    //Check if you're using a valid email address
    else if( !checkEmail(fromEmail.text) )
    { valid.text = "Enter a valid email address"; }
    else { valid.text = "Sending over the internet...";
    var emailData:String = "name="
    + yourName.text + "&from="
    + fromEmail.text + "&subject="
    + yourSubject.text + "&msg=" + YourMsg.text;
    var urlVars:URLVariables = new URLVariables(emailData);
    urlVars.dataFormat = URLLoaderDataFormat.TEXT;
    urlRequest.data = urlVars; varLoad.load( urlRequest );
    varLoad.addEventListener(Event.COMPLETE, thankYou );
    function reset(e:MouseEvent):void{
    init(); //call the initial clear function
    function checkEmail(s:String):Boolean {
    //This tests for correct email address
    var p:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/; var
    r:Object = p.exec(s);
    if( r == null ) {
    return false;
    return true;
    function thankYou(e:Event):void {
    var loader:URLLoader =
    URLLoader(e.target);
    var sent = new
    URLVariables(loader.data).sentStatus; if( sent == "yes" )
    valid.text = "Thanks for your email!";
    timer = new Timer(500);
    timer.addEventListener(TimerEvent.TIMER, msgSent);
    timer.start();
    else {
    valid.text = "Oh no! Something is wrong! Try again..."; }
    function msgSent(te:TimerEvent):void {
    if( timer.currentCount >= 10 ) { init();
    timer.removeEventListener(TimerEvent.TIMER, msgSent);
    PHP CODE USED
    <?php $yourName = $_POST['name'];
    $fromEmail = $_POST['from']; 
    $yourSubject = $yourSubject = $_POST['subject'];
    $YourMsg = $_POST['msg'];
    if( $yourName == true ) { $sender = $fromEmail; $yourEmail ="[email protected]";  (I have changed this to my email address, although not given in example)
    $ipAddress = $_SERVER['REMOTE_ADDR']; 
    $emailMsg = "$ipAddress \n$yourName  \n$sender
    \n\n$YourMsg 
    \n\n\n--Memo for myself--";$return = "From: $sender\r\n" .
    "Reply-To:$sender \r\n" ."X-Mailer: PHP/" . phpversion();
    if( mail( $yourEmail, "$yourSubject", $emailMsg, $return
    echo "sentStatus=yes"; }
    else { echo "sentStatus=no"; } }
    { $sender = $fromEmail; $yourEmail ="$fromEmail"; 
    $emailMsg = "\n\n\n--Memo for the sender. i.e. this is a copy of message you sent me.--
    \n\n$yourName  \n$sender
    \n$YourMsg \n";$return = "From: $sender\r\n" .
    "Reply-To:$sender \r\n" ."X-Mailer: PHP/" . phpversion();
    if( mail( $yourEmail, "$yourSubject", $emailMsg, $return
    echo "sentStatus=yes"; }
    else { echo "sentStatus=no"; } }
    ?>

    It may be indeed a problem of your server rsp. how it handles security issues and relative path-linking.
    You wrote: "Or does it matter where I file the PHP file, my swf file, html file, and my fla file..." I suppose you mean where to put all the files.
    1.Its a good beginners choice to put all the files you need (swf, html, php you don`t need the fla file on ) in the same directory of your server.
    2.If you publish to html from flash there will be three tags in the html (use a texteditor to look at the html-code) that read like this:
    <param name="allowScriptAccess" value="sameDomain" />
    change them for testing purposes to
    <param name="allowScriptAccess" value="always" />
    3.On some servers to prevent malicious code php scripts are restricted to certain directorys, look up the phpinfo on your server
    4.Even if swf, html and php are in one and the same directory use a "hard" path in your fla file for testing purposes, for example instead of calling "file.php" in your actionscript, call ("http://www.mydomain.com/directory/file.php"), when testing from flash you may get a better response where the problem lies

  • Using select menus in email forms

    How would i make an email form mailto from a value in a select list/menu thing?

    You would need to use javascript or some other server-side scripting.  What language can you use on your server?

  • Spry, Mousover-Buttons and Email-Form problem. Site is 100% error free.

    My site: http://www.wientjesvoegwerk.nl/
    Its xhtml1.0 and css validated.
    I have a few problems however.
    This was how i did it first:
    <li class="TabbedPanelsTab" tabindex="0">
              <style>#Home a{display:block;color:transparent;} #Home a:hover{background-position:left bottom;}a#Home {display:none}</style>
              <table id="Home" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Home">
            <a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(../Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
              </li>
    As you see i use Spry tabbed panels. In a tab i put code wich shows a button with mouse over.
    Changing the code so my site would be 100% validated resulted in a broken button.
    The button works but loses its mouseover function.
    This is it now:
    <li class="TabbedPanelsTab">
            <table id="THome" >
              <tr>
                <td style="padding-right:0px" title ="Home"><a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
    I tried everything. When using the code above the validator has errors, when using the one below, i lose mouseover...
    The validator says <style> tag isnt allowed.
    How do i solve this problem? I hope someone can help me out...
    Also i have another problem.
    I searched for safe email forms and hit this site: http://www.webbyzone.com/2010/01/10/make-xajax-phpmailer-contact-forms-work/
    It looks pro but i cant get it working. A little help would be appreciated...
    And i cant get my footer down to the bottom since i used Spry. Any help here also would be nice.
    xhtml site:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
         <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
         <title>Wientjes Voegwerk &amp; Renovatie - Home</title>
        <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
        <link href="CSS/Style.css" rel="stylesheet" type="text/css" />
         <meta http-equiv="Content-Language" content="NL" />
         <meta http-equiv="imagetoolbar" content="no" />
         <meta name="MSSmartTagsPreventParsing" content="true" />
        <meta name="description" content="Wientjes Voegwerk en Renovatie is een voeg- en renovatiebedrijf gespecialiseerd in gevelrenovatie. Dagelijkse werkzaamheden zijn het voegen van nieuwbouwwerk, en alle voorkomende vormen van gevelrenovatie. Ik geef uw woning, garage of schoorsteen de aandacht die het verdient en ben trots op het resultaat van mijn werk!"/>
        <meta name="keywords" content="Voegwerk, Renovatie, Reinigen, Impregneren, Muur, Voegen, Steen, Woning, Garage, Schoorsteen, Bedrijf, Gevel, Wientjes, Uitslijten, Kappen, Fundering, Vorstschade, Metselen, Metselwerk, Vocht" />
        <meta name="author" content="Rob Nijlaan" />
    </head>
    <body>
    <div id="WContainer">
           <div id="WHeader" align="center">
             <img src="Pictures/VoegenRenLos.png" width="540" height="58" alt="Voeg en Renovatiebedrijf" /><br />
        <img src="Pictures/WientLogo.png" width="600" height="136" alt="Wientjes Voegwerk &amp; Renovatie" /></div>
         <div id="TabbedPanels1" class="VTabbedPanels">
           <ul class="TabbedPanelsTabGroup">
           <li class="TabbedPanelsTab">
            <table id="THome" >
              <tr>
                <td style="padding-right:0px" title ="Home"><a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
          <li class="TabbedPanelsTab" >
            <table id="TInfo" >
              <tr>
                <td style="padding-right:0px" title ="Info"><a href="javascript:TabbedPanels1.showPanel(2);" title="Info" style="background-image:url(Buttons/Info.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
          <li class="TabbedPanelsTab" >
            <table id="TGallerij" >
              <tr>
                <td style="padding-right:0px" title ="Gallerij"><a href="javascript:TabbedPanels1.showPanel(3);" title="Gallerij" style="background-image:url(Buttons/Gallerij.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
          <li class="TabbedPanelsTab" >
            <table id="TContact" >
              <tr>
                <td style="padding-right:0px" title ="Contact"><a href="javascript:TabbedPanels1.showPanel(4);" title="Contact" style="background-image:url(Buttons/Contact.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
          <li>
            <p class="footer"><br />
              <br />
              <br />
              <br />
              <br />
              Wientjes Voegwerk en Renovatie<br />
              <br />
              tel; 06 - 221 464 28<br />
              <br />
              kvk; <br />
              <br />
              <a href="http://jigsaw.w3.org/css-validator/check/referer"> <img style="border:0;width:88px;height:31px"
            src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
            alt="Valide CSS!" /> </a><br />
            <a href="http://validator.w3.org/check?uri=referer"><img
            src="http://www.w3.org/Icons/valid-xhtml10-blue"
            alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> </p>
           </li>
          </ul>
           <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent" id="Home">
                       <h1>Welkom Bij Wientjes Voegwerk en Renovatie!</h1>
          <p>Wientjes Voegwerk en Renovatie is een voeg- en renovatiebedrijf gespecialiseerd in gevelrenovatie.<br />Dagelijkse werkzaamheden zijn het voegen van nieuwbouwwerk, en alle voorkomende vormen van gevelrenovatie.<br />Ik geef uw woning, garage of schoorsteen de aandacht die het verdient en ben trots op het resultaat van mijn werk!<br /><br />Wientjes, J </p>
          <h2>Voegen/Renovatie/Reinigen &amp; Impregneren. </h2>
    <table border="0" align="right"><tr><td>
    <a href="Foto/Foto's telefoon1 075.jpg"><img src="Foto/Foto's telefoon1 075.jpg" alt="Muur met Steiger" width="379" height="354" align="right" />
    </a></td></tr><tr><td><center>klik op de foto voor een groter voorbeeld</center></td></tr></table>
      <p>Vaak wordt er bij het kopen van een woning weinig aandacht besteed aan het voegwerk. Er wordt alleen gekeken naar hoe een woning is gebouwd.<br />Een voeg bepaalt echter wel het aanzicht van een woning. Van een goed aangebrachte voeg heeft u uiteraard veel langer plezier. <br />Renovatie bestaat voornamelijk uit het uitslijpen of kappen van het oude voegwerk. Waar nodig het verwijderen van scheuren die zijn ontstaan door:</p>
      <ul>
        <li>
          <p>
            Verzakking van de fundering
          </p>
        </li>
        <li>
          <p>
            Slecht voegwerk
          </p>
        </li>
        <li>
          <p>
            Vorstschade
          </p>
        </li>
        <li>
          <p>
            Doorhangen of ontbreken van ...
          </p>
        </li>
      </ul>
      <p>Bij gevelvervuiling van uw woning kunnen er problemen ontstaan die het wooncomfort negatief kunnen beïnvloeden.<br />Wanneer de voeg is aangetast of het metselwerk is door vorstschade beschadigd, kunnen er vochtproblemen in huis ontstaan.<br />Mos en alg hechten zich goed aan beschadigde stenen en voegwerk. <br /><br />Door middel van impregnering wordt een woning waterafstotend gemaakt.<br />Dit betekent dat het voeg- en metstelwerk jarenlang wordt beschermd tegen weersinvloeden. <br />Ook is impregnering beter voor de isolatie van de woning.</p>
    <p align="left"><img src="Pictures/TelnrLos.png" width="525" height="49" align="top" alt="Telefoonnummer"/></p>
                             </div>
                       <div class="TabbedPanelsContent" id="Info">
                    test2
                       </div>
                       <div class="TabbedPanelsContent" id="Gallerij">
                    test3
                       </div>
                            <div class="TabbedPanelsContent" id="Contact">
                    <?php echo '<div id="contact_result">'.$form.'</div>'; ?>
                    </div>
        </div>
        </div>
        <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    //-->
    </script>
         <div id="WFooter" align="center">
             <p class="footer">Wientjes Voegwerk &amp; Renovatie     ,    03- '02         »        Site by ;    <b>Rob Nijlaan</b>        »        Problemen of vragen over deze site?    -    <b><a href="mailto:[email protected]">[email protected]</a></b></p>
         </div>
    </div>
    </body>
    </html>
    CSS script:
    @charset "utf-8";
    /* CSS Document */
    html,body {
         height:100%; /* needed for container min-height */
         width:100%;
         background: #FFFFFF url(../Pictures/Background.png) no-repeat center;
         color:#000;
    h1{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color: #595999;
    font-weight: bold;
    font-style:italic;
    font-size: 230%;
    h2{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color: #595999;
    font-weight: bold;
    font-size: 180%;
    p{
    font-family: "Verdana", verdana, arial, helvetica, sans-serif;
    font-size: 100%;
    .footer{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
    font-size: 70%;
    text-align:center;
    #WContainer{
         position:absolute;
         margin:0 auto;
         width:80%;
         background:none;
         height:auto;
         height:100%;
         min-height:100%;
         margin-left: 10%;
         margin-right: 10%;
    #WHeader{
         height: 195px;
         width:100%;
         margin-bottom: 10px;
         margin-left: 0px;
         margin-right: 10px;
    .VTabbedPanels .TabbedPanelsTabGroup {
         float: left;
         width: 172px;
         height: 75px;
         background-color: #FFF;
         position: relative;
         border-top: solid 0px #FFF;
         border-right: solid 0px #FFF;
         border-left: solid 0px #FFF;
         border-bottom: solid 0px #FFF;
    .VTabbedPanels .TabbedPanelsTab {
         float: none;
         margin: 0px;
         border-top: none;
         border-left: none;
         border-right: none;
    .VTabbedPanels .TabbedPanelsContentGroup {
         margin-left: 220px;
         width: auto;
         height: auto;
         min-height:50%;
         max-width:83%;
         min-width:500px;
         padding: 20px 20px 20px 20px;
         border-left: solid 1px #999;
         border-bottom: solid 2px #999;
         border-top: solid 1px #999;
         border-right: solid 2px #999;
    #WFooter{
         clear:both;
         height: 30px;
         margin-top:1px;
    ul
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    li
    list-style-type: none;
    padding: 0px;
    margin: 0px;

    I finnaly knew what was wrong with the buttons.
    This is my renewed code:
    HTML:
    <li class="TabbedPanelsTab">
         <table class="Button">
              <tr>
                   <td style="padding-right:0px" title ="Home">
                        <a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(../Buttons/Home.png);width:172px;height:75px;display:block;"><br /></a>
                   </td>
              </tr>
         </table>
    </li>
    CSS:
    .Button a{display:block;}
    .Button a:hover{background-position:left bottom;}
    a.Button {display:none}
    My only problem is the Footer that is in top instead bottom.
    And the mail form from: http://www.webbyzone.com/2010/01/10/make-xajax-phpmailer-contact-forms-work/
    wich wont work so far...

  • Send Email Form InfoPath and Vote for outlook 2010

    Hi all ,
    you know if it is possible to send mail with infopath form (not in attached) by peoplesoft 8.51 and you can change the form with Value peoplesoft. And if it's possbile to send vote outlook by peoplesoft (http://www.technipages.com/outlook-2010-2007-send-a-vote-email.html ) ?
    Thanks in advance.

    Typically, the form submits to a script that formats the
    email and then
    sends it. This script could either be on the same page as the
    form (in
    which case it would only fire if the form has been submitted)
    or it can be
    on a separate page that is targeted in the action attribute
    of the <form>
    tag.
    In the processing script, you would need to build the
    recordset, add the
    password from the recordset to the email and then send it.
    Does that help?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "chris.cavage" <[email protected]> wrote in
    message
    news:gj3hj8$nbu$[email protected]..
    > Hello....
    >
    > I have a php form on my page with an email address
    textfield and a submit
    > button.
    >
    > Upon submitting the form, I want the form to query mysql
    for the email
    > address
    > from the members table. Then email the 'password'
    information to that
    > email.
    >
    > I can create a recordset1 with the sql to select that
    password from the
    > email
    > id.
    >
    > But how can I script the email form?? I am uncertain
    even "where" I type
    > the
    > script. If I highlight the form on my page, can I
    directly type script
    > into
    > the Action box in the properties windows?
    >
    > Any general advice as how to script this out? Thanks!
    >
    > Hope we all had a safe holiday.
    >

  • How to set email address for user my site?

    Hi All,
    I am creating user my site using profile.CreatePersonalSite(); How can I set the email address of the personal site?
    Thanks in advanced.
    Moohak

    Hi,
    Userprofiles.CreatePersonalSite() donsn't take any argument by which you can set user's email address. So, if you want to set user's email then update the profile before creating profile object.

  • Email form using radio buttons

    Hello! I hope someone can help me out with this one!! I will
    start off by saying that I don't know too much about action script,
    but i have created a Flash email form with just text fields that
    has worked. Now I need to create a form with three sets of radio
    button groups. I need to pass the variables to a php email script.
    Can anyone guide me through this?

    THanks for you help Rob, but I still can't get it to work
    correctly. I'm not getting any email at all. I have a radio button
    group set up. The groupName is "Group1". Then there is a results
    text area on the screen with a var name of "results_ta". My email
    text area's var = "email_ti". I have a submit button component on
    the screen as well. The instance name is "submit_button". Below is
    the flash code that is on the first frame of my movie:
    var submitListener:Object = new Object();
    submitListener.click = function(evt:Object) {
    var result_lv:LoadVars = new LoadVars();
    result_lv.onLoad = function(success:Boolean) {
    if (success) {
    result_ta.text = result_lv.welcomeMessage;
    } else {
    result_ta.text = "Error connecting to server.";
    var send_lv:LoadVars = new LoadVars();
    send_lv.email = email_ti.text;
    send_lv.radioOne = group1.selection.data;
    send_lv.sendAndLoad("sendmail.php", result_lv, "POST");
    //send_lv.sendAndLoad("sendmail.php", "POST");
    submit_button.addEventListener("click", submitListener);
    stop();
    Next my php code is as follows:
    <?php
    $sendTo = "[email protected]";
    $subject = "My Flash site reply";
    $headers = "From: " . $_POST["email"] ."\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= "Return-path: " . $_POST["email"];
    $message = $_POST["radioOne"];
    mail($sendTo, $from, $subject, $message, $headers);
    ?>
    Do you see anything that is off? I think I've lost it,
    because I had an email being sent, it just didn't add any of the
    info, but now I'm not even getting an email sent!! I'm in despair
    because the project is due tomorrow!!!
    thanks!

Maybe you are looking for