Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
This JS popup code used to work, now on some browsers does not
Old 11-05-2008, 08:59 AM This JS popup code used to work, now on some browsers does not
Novice Talker

Posts: 5
Name: dave
Trades: 0
This is so odd. On IE on my version 7, although the popup blocker is not turned on, the popups I create are being blocked, they start to come up and then are stopped. But in another version 7 and in version 6, and in FF it works. The first code segment below is my most common code that always used to work on all browsers. The second and third code are others that I tried but do not work on some IE browsers.

Any clue? I am really stumped.

1
<a onClick="MyWindow=window.open('hmvideo. htm','MyWindow1','toolbar=no,location=no,directori
es=no,status=no,menubar=no,scrollbars=no,resizable
=no,width=338,height=310,left=75,top=200'); return false;" href="#"><img src="video.jpg" width="336" height="48" align="middle" border="0"></a

2
<a href="javascript:;" onMouseOver="MM_openBrWindow('hmvideo.htm','trythi sagain','width=338,height=310')"><img src="oooo.jpg" width="21" height="25" border="0"></a>

3
<img src="oooo.jpg" width="21" height="25" border="0" onclick="MM_openBrWindow('hmvideo.htm','trythisone ','width=338,height=310')" />
dvarga is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-05-2008, 09:08 PM Re: This JS popup code used to work, now on some browsers does not
Skilled Talker

Posts: 68
Name: Avi Zolty
Location: Atlanta
Trades: 0
Hmm you can try to do this. It seems its have difficulty processing all this information so make a function. the command is
function myfunc()
{
window.open('hmvideo.htm')
}

and then just put onClick="myfunc()"

Or alternatively why not create a whole new page, and just make this link to it?
Zoltar1992 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to This JS popup code used to work, now on some browsers does not
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41244 seconds with 12 queries