Forum Moderators: open
<!----Now Playing Start---->
<div>
<iframe src="http://www.example.com/pls/front?handler=playlist&cmd=view&handle=smoothzippy&site=..#bottom" FRAMEBORDER="0" name="music_Live"
style="position:absolute; left:170;top:146;width:450px; height:125px; z-index:8; visibility:visible" allowtransparency="true" id="Playlist"></iframe>
</div>
<!-----Now Playing End----->
I'm having a problem as most usually do with Netscrap 7 and below.
What is Netscrap's problem with the W3?
Even CSS is a trick to get working in that browser.
Anyway... Welcome to WebmasterWorld! Please don't take offence to my rather corrective message, I'm just filling you in with the correct information regarding the myths about the Netscape browser. What you have to realise is that IE is extremely forgiving of errors. Maybe you've made an error in your HTML or CSS that IE is letting through, but Netscape isn't. I suggest you run it through the W3C validator.
As hartlandcat says Netscape 7 is considerably more W3 compliant than IE. Chances are the problem is in your code (sorry).
The W3C CSS Validator [jigsaw.w3.org] and the W3C HTML Validator [validator.w3.org] are invaluable tools for making your code W3c compliant and hence cross-browser.
Isitreal
It does the autoupdate at the site with the playlist and it is done in Java at the other site.
Each time a new song starts to play it updates the list. This iframe works fine in IE without any glitches, Netscrap on the other hand does not stop trying to get the information from the site. The playlist is on sort of a timer at the other site, figure about 3-4 mins about the length of a song.
Grahamstewart
I'm only concerned with IE and Netscrap. Actually I'm done with designing two pages, fixes or tricks for netscrap. Stick a fork in it, I'm pretty much over that browser. I just want to get this project done and after that I could care less if I ever get anything working in Netscrap. I have not tried the iframe in the two other mentioned browsers. Thanks for the suggestion on the other two browsers. I'll take a shot at them.
Hartlandcat
I'm glad that you don't have problems Netscrap. I don't have any problems with IE. Not one site that I have designed failed under it. I have been to quite a few forums and have seen numerous complaints about Netscrap. I see numerous fixes for Netscrap 4x and up and very little for IE. You may be right I could be coding my site poorly and IE is passing the errors. Thats why I'm here.
I did run my URL through the W3 and all I received back is that I did not have a Doctype Declaration in the page.
If you want I can send you the full URL in the iframe. It is probably user error here. However it works fine in IE. I would like to get just this project working in Netscrap. By the way, the site is an Internet Jazz station I am running the list for.
Thanks again all for the quick replies.
ZippyP
You need to put this at the very top of your HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD//HTML 4.01 Transitional//EN">
Then you will get it through the validator.
Also, are you aware that Netscape 4.8 and below, and Netscape 6.0 and higher are completely different browsers, based on entirely different rendering engines?
IE is far TOO forgiving, making it look like other browsers that have the problem, when often it is IE correcting your mistakes (yes, that's the two words: your mistakes) without you realising. When you put mistakes into other browsers, the action is undefined. That follows the W3C to the letter - it's standard does not compensate for mistakes and errors. And on CSS, when will IE implement min-width and max-width? I have found NS7 to have MUCH better CSS support than IE, Opera is also better, leaving IE far behind in the CSS field.
In terms of problems, every browser has it's problems and iframes and NS7 do have their problems. But as stated earlier, if you want help from people like me who use NS7 every day, you should stop calling it NetScrap or we may call you IE users 'assimilated'...
I have been to quite a few forums and have seen numerous complaints about Netscrap.
In other words, Netscape is not as hated by the web developer community as you seem to believe. Actually, a significant proportion of us hate IE.
I have been using the W3 to validate my sites for quite some time now. So far I have been following the proper design format. I did insert the <!DOCTYPE HTML PUBLIC "-//W3C//DTD//HTML 4.01 Transitional//EN"> in the page and it still did not work in Netscape. I rechecked the page with the w3 an it was fine. Well so far I have only found out the difference between browsers and that was probably due to me poking fun at Netscape. The problem still exists. The code is a simple iframe. So i guess the iframe code.
Thanks again for the replies.
ZippyP
I didn't think I would offend someone with somthing as trivial as poking fun at a browser.
I did insert the <!DOCTYPE HTML PUBLIC "-//W3C//DTD//HTML 4.01 Transitional//EN"> in the page and it still did not work in Netscape.
What does Opera do when it comes to rendering your site?
Very simple code or is it?
<IFRAME src="http://www.example.com/cgi-in/YADA.cgi?name=YADAYADA&
site=PLR-YADA&
url=http://www.example.com/cgi-bin/YADA.cgi?membername=YADAYADA&
site=PLR-YADAYADA” width="768" height="368">
</IFRAME>
This code works in IE, it does not work in Netscape though it will work outside the iframe if just placed as a hypertext link on the page. As for Opera, it is the same thing as Netscape. Opera is the furthest thing from my mind right now.
All the other tags, meta, doctype, etc, etc. does effect this code. I checked it with and with out the proper tags at the W3. Of course, without the above tags it would not validate. Whether or not IE is forgiving of bugs and Netscape is the best browser that has been developed to follow all the proper standards of the W3 is not really the issue here, and because I poked fun at Netscape, it became an issue. I am not going to apologize again for this since this should be a mute issue.
This code does work in IE, so if the average user of the Intranet/Internet visits the page and it works for them they do not know that IE or Netscape is buggy or not.
Again, this code is being called from a remote site. It is calling some CGI scripts and Java scripts. What my employees and I are seeing here is that we are going around the problem and not focusing on the iframe itself. We just finished 42 Intranet sites in the past two months, we are slightly worn out and we started working on this as a side project just for an add on to our Intranet and one of my sites. This is not a major deal here. One of my employees told me that this would be a good forum to check out. What I gather is this type of situation would need as they call it, a page hack, or trick to fake Netscape to pass the information. As you must know, this had to be done with the 4x versions of Netscape for passing CSS.
Here are the questions I gave one of my employees to ponder.
1. Why is IE passing the information properly to the iframe and Netscape is not?
1a. What variables are being passed over by IE as an error or not being passed over as an error?
2. Why does Netscape keep calling the file and not passing the information to the iframe?
2a. What variables are causing Netscape to keep recycling the URL call?
3. Can the information be passed into a table instead of the iframe?
I am a Broadcast Engineer by trade. This is why I have employees doing this type of work. I can handle most HTML markup. Being from the old school and not completely up to date with all the new CSS and PHP page design, I am learning. This old dog has to learn the new tricks.
Thanks again for trying,
ZippyP
<IFRAME src="http://www.example.com/cgi-in/YADA.cgi?name=YADAYADA&*
site=PLR-YADA&*
url=http://www.example.com/cgi-bin/YADA.cgi?membername=YADAYADA&site=PLR-YADAYADA” width="768" height="368">
</IFRAME>
Its not like that in the html markup. It is all in one string in Frontpage.
<iframe src="http://www.example.com/pls/front?handler=playlist&cmd=view&handle=YADAYADA&site=YADAYADA" FRAMEBORDER="0" name="WCJZ_Live"
style="position:absolute; left:170px;top:146px;width:450px; height:125px; z-index:8; visibility:visible" allowtransparency="true" id="Playlist"></iframe>
I posted the wrong code this morning. Have to stop doing this stuff at 3am in the morning. The other code that I posted can be called with a hypertext link. The above calls part of the playlist display without the play, stop and pause buttons and some of the other frills.
Thanks again Tedster
ZippyP
1. can you recreate this error using a test page (static HTML?)
2. is there any (CSS) positioning involved with your iframe or its parent <div>?
3. I see a bookmark in your first set of code.. I believe that could be a problem in some browsers (getting an iframe to refresh to a bookmark can be tricky and outwith my knowledge if it's even possible)
... never mind the refreshes for now.. can you create an iframe with a static HTML page as the src that has a bookmark too..
if you can then you can say it's something to do with the scripts involved if not then post the code and we can try to help.. otherwise one of the script boards may help....
Suzy
Well...... I give up with the iframes and Netscape. The only way for someone to see what I am talking about is for me to post the URL. Well, you know what happens if you do. I have been to at least a dozen or more sites that are trying the same thing, they all have the same problem with Netscape pulling the information into iframe. IE works fine. I put a script on the page to check for all Netscape browsers and directed them to a new page. On the new page I have the same code being pulled up in a popup and it works fine. I also added a click on link for the popup just in case it does not popup automatically. That all seems to work fine.
I hate having to write seperate pages to work with a browser that seems not to work properly and again I'm not the only one that can't get the iframe working in Netscape. However, thanks to all that have tried to help me here. I'll keep hacking at it when I have time. I shouldn't have to waste time on something like Netscape until it will play well with others. The stats on my sites tell me that about 80 percent use IE. Thats a shame for Netscape.
Thanks Again
Zippy