This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60752
    
  65

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: 60752
    
  65

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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript function call issue on safari
 
Similar Threads
Javascript call AFTER redirect?
Check if popup window is already open from parent window?
Unloading JVM
Problem with popup window.
browser history problem