SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict MadDog's Avatar
    Join Date
    Aug 2002
    Location
    Oregon, USA
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Safari and javascript

    Im having problems with Safari (windows version).

    I want to be able to open a pop up window and pass variables to it. But for some reason Safari is the only browser that does not support my code. Is there a work around?

    Im trying to stay away from cookies/session and querystrings.

    Code:
    function openWin() {
        newWindowObject = window.open('test.html','testWindow','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=550,height=450');
        
        /* The "myVar1" and "myVar2" is not being passed to the new window with Safari */
        newWindowObject.myVar1 = 'test1';
        newWindowObject.myVar2 = 'test2';
    }
    Drew Gauderman
    ASP/MSSQL/AJAX-Javascript/HTML/CSS Coder
    iPortalX The most secure FREE ASP portal!

  2. #2
    SitePoint Addict MadDog's Avatar
    Join Date
    Aug 2002
    Location
    Oregon, USA
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone?
    Drew Gauderman
    ASP/MSSQL/AJAX-Javascript/HTML/CSS Coder
    iPortalX The most secure FREE ASP portal!


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
  •