By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,969 Members | 1,705 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,969 IT Pros & Developers. It's quick & easy.

Adding Title Tag to popup window

P: 4
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

Expand|Select|Wrap|Line Numbers
  1. <div class="fronter_box_2" id="icon_qvbl" onclick="window.open('qbvl.php','_self');"></div>
Mar 27 '13 #1
Share this Question
Share on Google+
7 Replies


Rabbit
Expert Mod 10K+
P: 12,430
Wouldn't you add the title tag to the PHP file?
Mar 27 '13 #2

P: 4
i just want to add a title tag in the script
Mar 27 '13 #3

Rabbit
Expert Mod 10K+
P: 12,430
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?
Mar 28 '13 #4

P: 4
okay can you show me please
Mar 28 '13 #5

Rabbit
Expert Mod 10K+
P: 12,430
... 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...
Expand|Select|Wrap|Line Numbers
  1. <html>
  2.    <head>
  3.       <title>Title Here</title>
  4.    the rest of your HTML
Mar 28 '13 #6

P: 4
I figured it out, thanks
Mar 28 '13 #7

Rabbit
Expert Mod 10K+
P: 12,430
Please let us know how you fixed it so that someone else who has the same problem can benefit from your solution.
Mar 28 '13 #8

Post your reply

Sign in to post your reply or Sign up for a free account.