+ Reply to Thread
Results 1 to 3 of 3




  

Thread: Help needed with javascript pop up!

      
  1. #1
    I'm New! theupendra is on a distinguished road
    Join Date
    February 12, 2011
    Posts
    1
    Rep Power
    0
    Feedback Score
    0

    Default Help needed with javascript pop up!

    How to create a popup blocker with javascript? I am looking for solution to open Enquiry form [Ex: send-query.php] through javascript linking. How can I do that?
    And how to display a popup blocker message like in the attached file?
    This is the url of my pop up image: rhapsody.com/thompson-squ...mpson-square-2
    [When you click on play button then if you have popup blocker enabled you will get popup blocker message from the site]
    Attached Images Attached Images
    Last edited by Sami4u; Feb 13th, 2011 at 9:22 pm.

  2. #2
    I'm New! ella1985 is on a distinguished road
    Join Date
    May 18, 2011
    Posts
    5
    Rep Power
    0
    Feedback Score
    0

    Default Re: Help needed with javascript pop up!

    Try this way:function popitup2() {
    newwindow2=window.open('','name','height=200,width =150');
    var tmp = newwindow2.document;
    tmp.write('<html><head><title>popup</title>');
    tmp.write('<link rel="stylesheet" href="js.css">');
    tmp.write('</head><body><p>this is once again a popup.</p>');
    tmp.write('<p><a href="javascript:alert(self.location.href)">view location</a>.</p>');
    tmp.write('<p><a href="javascript:self.close()">close</a> the popup.</p>');
    tmp.write('</body></html>');
    tmp.close();
    }

  3. #3
    I'm New! ella1985 is on a distinguished road
    Join Date
    May 18, 2011
    Posts
    5
    Rep Power
    0
    Feedback Score
    0

    Default Re: Help needed with javascript pop up!

    @theupendra, was my tips useful? Let us know how you solve this buy and sell issue.
    Last edited by Sami4u; Jun 1st, 2011 at 9:39 am.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Trouble with the javascript. Can someone take a look please?
    By p1ra7e in forum HTML & Website Design
    Replies: 0
    Last Post: Feb 9th, 2011, 12:26 pm
  2. Better JavaScript Minification
    By JavaScriptBank in forum HTML & Website Design
    Replies: 0
    Last Post: Jan 19th, 2011, 8:40 pm
  3. what is javascript?
    By mikehussey in forum HTML & Website Design
    Replies: 5
    Last Post: Jan 14th, 2011, 2:31 am
  4. need help php/javascript
    By nspstudio in forum HTML & Website Design
    Replies: 2
    Last Post: Mar 31st, 2008, 10:12 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads