Page 2 of 2 12
Results 16 to 19 of 19

Thread: New Virus Alert

  1. #16
    Join Date
    Jan 2005
    Posts
    2,087
    We can always play word games…

    By the way, you posted a JavaScript issue which I replied to. Was it ever resolved? If not I'll be happy to take a look at it.

  2. #17
    Join Date
    Jun 2006
    Location
    East Hampton, NY
    Posts
    1,896
    yes it was resolved...I dropped it! It was difficult to integrate a popup on page load with CS-Cart so I just did a popup window from a text link.

  3. #18
    Join Date
    Jun 2010
    Posts
    3
    Haha, I just showed that to all my co-workers. They love it

  4. #19
    Join Date
    Jun 2006
    Location
    East Hampton, NY
    Posts
    1,896
    Quote Originally Posted by JPnyc View Post
    We can always play word games…

    By the way, you posted a JavaScript issue which I replied to. Was it ever resolved? If not I'll be happy to take a look at it.

    Found the answer:

    <-- BEGIN SCRIPT -- >
    var win = null;
    function docWindow(mypage,myname,w,h,features) {
    var winl = (screen.width-w)/2;
    var wint = (screen.height-h)/6;
    if (winl < 0) winl = 0;
    if (wint < 0) wint = 0;
    var settings = 'height=' + h + ',';
    settings += 'width=' + w + ',';
    settings += 'top=' + wint + ',';
    settings += 'left=' + winl + ',';
    settings += features;
    win = window.open(mypage,myname,settings);
    win.window.focus();
    }
    <-- END SCRIPT -->

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •