Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
Thread: firefox problem
01-28-2008, 08:25 PM #1
- Join Date
- Jan 2008
- Thanked 0 Times in 0 Posts
I have a web page and it has a link to another page. I want the new page to open in a window with a fixed height and width. I also do not want the window to be re-sized. This I can do with:
<a href="tradeshowevents.html" onClick="return popup(this,'DETAILS','width=700,height=635,screenLeft=1,screenTop=1, toolbar=no,directories=no, status=no,menubar=no,scrollbars=no,copyhistory=no, resizable=no')"><img src="images/Details.jpg" border="0" width="41" height="17" alt="">
Then I want this 2nd window to have another link that open a new window
This can be done with:
<a href="http://www.loewshotel.com" class="eventslink" TARGET="_blank">www.loewshotels.com</a> is located at 1601 Collins Avenue, Miami Beach, Florida, 33139.<p>
This works great in IE. But, In Firefox, there is no new window created. with "TARGET="_blank". it just displays the website, http://www.loewshotel.com, in the same fixed window.
I would appreciate any help.
Last edited by oracleguy; 01-29-2008 at 01:05 AM.
01-28-2008, 09:35 PM #2
Try opening the new window with a different target name. What should happen is that if a window with that name does not exist, then it should be created.
01-28-2008, 11:51 PM #3
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 1,011 Times in 984 Posts
To sum it up: You can’t rely on anything in the internet. There are hundreds of web browsers out there, some of which don’t even use a display (e.g. screen readers) and your website has to work with the most basic things already (i.e. no styles and scripts), and JS and CSS should only be enhancements. If those enhancements don’t work for any reason in any browser a proper fallback (alternative) should be provided and you have to live with the possibility that the best enhancements might not work in some application/device.
The same applies to your useless source code encryption (plus it’s not nice of you to do that as it doesn’t help us in any way to help you).
01-29-2008, 04:45 PM #4
Not only in Firefox but in IE too. Anything that takes away control from the user generally doesn't work (something which I'm proud of) and popups should be avoided anyway (have you seen a teenager on a virus infested Windows ME machine? Gods they react fast.)
What's with that frankly annoying amount of whitespace? Not only does it make you look like you lost control of the enter key but also adds to your filesize, and therefore your bandwidth.