House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Netscape 7 and window open

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Burns, John D
05/19/2004 03:39 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bryan Stevenson
05/19/2004 03:47 PM

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

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Barney Boisvert
05/19/2004 04:17 PM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Bryan Stevenson
05/19/2004 04:32 PM

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??   >

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
J E VanOver
05/19/2004 04:34 PM

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 -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference