Adding Title Tag to popup window

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sincejan63
    New Member
    • Mar 2013
    • 4

    Adding Title Tag to popup window

    Hello, i am trying to add a title tag somewhere in this script with no luck so for. Can you help. Below is the tag

    Code:
    <div class="fronter_box_2" id="icon_qvbl" onclick="window.open('qbvl.php','_self');"></div>
    Last edited by acoder; Mar 27 '13, 10:42 PM. Reason: Please use [code] tags when posting code
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Wouldn't you add the title tag to the PHP file?

    Comment

    • sincejan63
      New Member
      • Mar 2013
      • 4

      #3
      i just want to add a title tag in the script

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        I know but why use javascript that can be disabled when you can add it to the PHP file and it will always be there?

        Comment

        • sincejan63
          New Member
          • Mar 2013
          • 4

          #5
          okay can you show me please

          Comment

          • Rabbit
            Recognized Expert MVP
            • Jan 2007
            • 12517

            #6
            ... Show you how to add a title tag to the qbvl.php page? It's normal HTML, I'm not sure what you're asking me to show you...
            Code:
            <html>
               <head>
                  <title>Title Here</title>
               the rest of your HTML

            Comment

            • sincejan63
              New Member
              • Mar 2013
              • 4

              #7
              I figured it out, thanks

              Comment

              • Rabbit
                Recognized Expert MVP
                • Jan 2007
                • 12517

                #8
                Please let us know how you fixed it so that someone else who has the same problem can benefit from your solution.

                Comment

                Working...