This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 61043
    
  66

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: 61043
    
  66

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