aspose file tools*
The moose likes Mac OS and the fly likes javascript function call issue on safari Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "javascript function call issue on safari" Watch "javascript function call issue on safari" New topic
Author

javascript function call issue on safari

Viralraj Upadhyay
Greenhorn

Joined: Nov 10, 2006
Posts: 22
Hi,

This is specific to safari 2.0.4 on mac 10.4.7. Works fine on safari 2.0.3 and other browsers.On my JSP page I have 4-5 links. Each link is a call to a javascript function, which in turn opens a new html window. After I log in, a click on any one of the link opens the appropriate window, but other links dont work after that. When i refresh i could click on any one of the links again but subsequent clicking on other links does not work. Any suggestions?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61415
    
  67

Code?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Viralraj Upadhyay
Greenhorn

Joined: Nov 10, 2006
Posts: 22
I kind of now see what the problems is. IE uses a function call showModalWindow which is not supported by safari. So my code tries to emulate that function.



Is there any other means i could handle the showModalWindow for safari?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61415
    
  67

Originally posted by Viralraj Upadhyay:
IE uses a function call showModalWindow which is not supported by safari.


showModalWindow is proprietary to IE and is not supported by any other browser than IE.
[ July 19, 2007: Message edited by: Bear Bibeault ]
 
jQuery in Action, 2nd edition
 
subject: javascript function call issue on safari