Niko
  • Administrator

      Reputation : 319
      Registered on : 2012-02-22
      Posts : 2366
      School of codes courses: coming soon
    How to create an Extra Popup message

    Description


    Using this tutorial you will create a popup that will show you what you want... Using htmls!

    Set up


    First, add this code in the page where you want the popup... You can add it in a topic, if you want just a message inside of that topic; You can add it in the home page, in templates, etc...
    Code:
    <!--- Subject: "Extra popup message" - Copyright 2012 by www.fmcodes.com. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified code. Distribution is not allowed without written consent from FMCodes---><script type="text/javascript">//<![CDATA[
    $(document).ready(function(){pm = window.open('LINK', '_faprivmsg', 'HEIGHT=150,resizable=no,WIDTH=550');pm.focus();});//]]></script>

    Then, create a new HTML page and remember the link of the page...

    Customize the tutorial


    You can edit the link changing LINK (remember to add http:// before!!!)
    You can edit the sizes editing 150 and 550 (this are default sizes (: )

    Demonstration


    How to create an Extra Popup message Demo310

    Technical problems


    The tutorial was tested on this forum and with the browser Google Chrome; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your reporting.

    Thanks, the staff
    For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible...

    Friendly,
    The team of the Forum of Codes.



    Last edited by Niko on Sat May 26, 2012 12:49 pm; edited 1 time in total



    Niko wants you in the team Guest

    Community manager and Administrator at Forumattivo.com

    Nick
    • Manager

        Reputation : 20
        Registered on : 2012-04-01
        Posts : 407
      Is there not anyway to keep it from coming up in a new window? Like keeping it like the login popup?



      How to create an Extra Popup message 15px10
      Niko
      • Administrator

          Reputation : 319
          Registered on : 2012-02-22
          Posts : 2366
          School of codes courses: coming soon
        Well, have you seen the demo? (:



        Niko wants you in the team Guest

        Community manager and Administrator at Forumattivo.com

        Nick
        • Manager

            Reputation : 20
            Registered on : 2012-04-01
            Posts : 407
          Yes, I've seen the demo and that's why I think it'd be better if it was like the Login Popup one.



          How to create an Extra Popup message 15px10