GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   opening links in new window in ff? (https://gfy.com/showthread.php?t=854254)

Angry Jew Cat - Banned for Life 09-10-2008 11:29 PM

opening links in new window in ff?
 
ok, so i'm working on this thing where details are listed in a popup window for a product, then i have a "click here to purchase" link at the bottom of the details popup. i used the target="_blank" for it and this work in IE, but if ff, it opens up another tab inside my little popup box. how can i get it to open the link back in the original browser? or even another window will do. it just doesn't work for shit in my fixed width popup window...

Angry Jew Cat - Banned for Life 09-10-2008 11:49 PM

nobody wants to halp the jews tonight.

bump for jews with issues...

klaze 09-10-2008 11:52 PM

http://www.webtoolbag.com/open-a-new...refox-r117.htm

Try here.. or here..

http://www.gtalbot.org/FirefoxSectio...ndFirefox.html

or here

http://www.dslreports.com/forum/r196...dow-in-firefox

I kno I kno u don't want to read.. Well either do I.. heh..

Angry Jew Cat - Banned for Life 09-10-2008 11:54 PM

Quote:

Originally Posted by klaze (Post 14737664)

Quote:

(...) some people can use Windows applications for years without understanding the concept of task switching. (When I point to the task bar and ask them what it's for, they can't tell me.) (...) spawning second browser windows can completely throw users off track because it removes the one thing they are sure how to use: the 'Back' button.(...) In another recent study, six out of 17 users had difficulty with multiple windows, and three of them required assistance to get back to the first window and continue the task.
Carolyn Snyder, Seven tricks that Web users don't know: 7. Second browser windows, June 2001
fucking noobs :D lets hope the average internet user has mastered the art of the taskbar since 2001...

scubadiver626 09-10-2008 11:55 PM

Quote:

Originally Posted by Angry Jew Cat (Post 14737606)
i used the target="_blank" for it and this work in IE, but if ff, it opens up another tab inside my little popup box. how can i get it to open the link back in the original browser? .

Target="_parent" or just leave it unassigned and it should pop up in the original browser tab unless its in an iframe

klaze 09-10-2008 11:56 PM

I updated my post with a few more links.. Sorry i'm lazy.. it's 3am..

Angry Jew Cat - Banned for Life 09-10-2008 11:58 PM

Quote:

Originally Posted by klaze (Post 14737676)
I updated my post with a few more links.. Sorry i'm lazy.. it's 3am..

thanks, read the first one and it didn't seem to cover my problem at all. i'm thinking i'll have to just javascript another popup window. was hoping there'd be a simpler way.

Angry Jew Cat - Banned for Life 09-10-2008 11:58 PM

Quote:

Originally Posted by scubadiver626 (Post 14737671)
Target="_parent" or just leave it unassigned and it should pop up in the original browser tab unless its in an iframe

gonna go try that

edit: still loads within the popup window. i want to break that popup window, without loading in a tab, but rather a new firefox window alltogether. ff handles it differently than IE does. I'm looking for a way around that.

Back to klaze's links for now...

if all else fails i'll just use the javascript.

scubadiver626 09-11-2008 12:01 AM

Quote:

Originally Posted by Angry Jew Cat (Post 14737678)
gonna go try that

Post the code if it doesn't work the one with the target="_blank"

klaze 09-11-2008 12:06 AM

I've noticed what jewCat as noticed..

But for my needs that has been ok.. I think it also depends on the user's firefox tab settings..

Angry Jew Cat - Banned for Life 09-11-2008 12:12 AM

Quote:

Originally Posted by scubadiver626 (Post 14737684)
Post the code if it doesn't work the one with the target="_blank"

not sure exactly what you want to see, but here's what i'm doing.

i open my popup like so

Code:

<a href="javascript:void(window.open('001.html','001','width=335,height=600,top=150,left=150,scrollbars=2'))">More Information</a>
than on 001.html I link out like so..

Code:

<a target="_target" href="http://www.myurl.com/items/click.php?id=1">
however all that does is open a new tab within my popup window, which does not work for the application i choose. i think i'm just gonna have to settle it with javascript, but i was hoping there was a simpler way to go about it.

Angry Jew Cat - Banned for Life 09-11-2008 12:15 AM

i think this one here nails it. gonna go give that a run. http://www.dslreports.com/forum/r196...dow-in-firefox

edit: fuck ya

Code:

  1. <html> 
  2. <head> 
  3. <script> 
  4. function openWin(url) { 
  5.   
  6.    window.open(url,"two","height=600,width=800,toolbar=yes,menubar=yes,location=yes,status=yes"); 
  7.   
  8. } 
  9. function directParent(url) { 
  10.     
  11.    window.opener.location = url; 
  12.     
  13. } 
  14.   
  15. </script> 
  16.   
  17. </head> 
  18. <body> 
  19.   
  20. <a href="javascript:openWin('http://www.google.com')">Open new window.</a><br /> 
  21. <a href="javascript:directParent('http://www.yahoo.com')">Redirect opener.</a> 
  22.   
  23. </body> 
  24. </html>


that directparent setup does the trick...

thanks klaze, don't let any one say you're completely useless...


All times are GMT -7. The time now is 04:41 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123