|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Netscape 7 and window open
Is it because you're using the void() function in the HREF? MaybeBurns, John D 05/19/04 03:39 P John said:Bryan Stevenson 05/19/04 03:47 P You got popup blocking enabled? Shouldn't matter, because it's an onClick,Barney Boisvert 05/19/04 04:17 P nope...they are allowed..thanks BarneyBryan Stevenson 05/19/04 04:32 P I don't have a sure answer, but is there any reason you are using theJ E VanOver 05/19/04 04:34 P Is it because you're using the void() function in the HREF? Maybe that's cancelling out or something in NS7.1? They could have made the void function actually do something. Besides that, everything looks good to me. That'd the only thing I can guess would cause a possible problem. John Hey All, I'm banging my head against what should be a simple issue. I've got some code like so: <a href="javascript:void();" onClick="window.open('home_popup.cfm?type=faq&item=faq','faq','scrollbar s,wi dth=450,height=500');return false;"> which is pretty standard pop-up window opening code...been using it for years. I cannot for the life of me get it to work in NS 7.1 and no errors are shown in the JavaScript console!!' Any ideas?? TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. bryan@electricedgesystems.com --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com John said: >Is it because you're using the void() function in the HREF? Maybe >that's cancelling out or something in NS7.1? They could have made the >void function actually do something. Besides that, everything looks >good to me. That'd the only thing I can guess would cause a possible >problem. Nope...I have also tried href="" and href="##" (inside <cfoutput> block thus the double #).....thanks though ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. bryan@electricedgesystems.com --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com You got popup blocking enabled? Shouldn't matter, because it's an onClick, but that might be it. Cheers, barneyb ----- Excess quoted text cut - see Original Post for more ----- nope...they are allowed..thanks Barney Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. bryan@electricedgesystems.com --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com You got popup blocking enabled? Shouldn't matter, because it's an onClick, but that might be it. Cheers, barneyb > Hey All, > > I'm banging my head against what should be a simple issue. > > I've got some code like so: > <a href="javascript:void();" > onClick="window.open('home_popup.cfm?type=faq&item=faq','faq', > 'scrollbars,wi > dth=450,height=500');return false;"> > > which is pretty standard pop-up window opening code...been > using it for > years. I cannot for the life of me get it to work in NS 7.1 > and no errors > are shown in the JavaScript console!!' > > Any ideas?? > I don't have a sure answer, but is there any reason you are using the "onClick" event rather than the href? You have <a href="javascript:void();" onClick="window.open('home_popup.cfm?type=faq&item=faq','faq','scrollbars,wi dth=450,height=500');return false;"> But you could use: <a href="javascript:window.open('home_popup.cfm?type=faq&item=faq','faq','scrol lbars,width=450,height=500');return false;"> For some reason, I've always had more success putting this type of thing into a function. <script> function myPopup(myURL,myWinName) { window.open(MyURL,myWinName,'scrollbars,width=450,height=500'); return false; } </script> <a href="javscript:myPopup('home_popup.cfm?type=faq&item=faq','faq')"> You got popup blocking enabled? Shouldn't matter, because it's an onClick, but that might be it. Cheers, barneyb ----- Excess quoted text cut - see Original Post for more -----
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||