The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Open new window in Safari, javascript
MarkSk
post Jul 31 2007, 06:25 AM
Post #1





Group: Members
Posts: 2
Joined: 31-July 07
Member No.: 3,466



Safari, what a pain!

I'm trying to open a new window using the following code:

<A href="java script:MM_openBrWindow('prj01_1.html','prj011','width=646, height=512')">
Enlarge<img src="assets/enlarge.gif" alt="Enlarge" width="18" height="9" border="0"/></a>

Works fine in IE and FF but Safari just won't have it. Is there anything I can do to change this?

Thanks!

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Jul 31 2007, 06:50 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 5,146
Joined: 23-August 06
From: Europe
Member No.: 9



What does your MM_openBrWindow function contain? Do you get javascript errors in Safari's Javascript Console (if you have the Debug menu)?

Can you post the url of the page that demonstrates the problem?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 31 2007, 10:16 AM
Post #3


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



In any case this is a better way to open a popup: http://htmlhelp.com/faq/html/all.html#window-specify
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 11:28 AM