Embed Tag In Netscape

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
glenn
Forum Newbie
Posts: 18
Joined: Fri Apr 19, 2002 7:42 am
Location: London, England (UK)

Embed Tag In Netscape

Post by glenn »

Hi guys,

I have a little problem with Netscape. I am use the embed tage, the code is :


<embed src="MyPDF.pdf" width="650" height="520"></embed>


This code seats inside a file which is opened up by a frame link the only other page is just a close window link. This code works fine in IE but when I go the load my frame in Netsacpe no menu systems come up with it and no page can be scrolled, it just displays the first page of my PDF document in the top left hand area of my screen. Is there anything that I can add to this code to make this work in Netscape??

I would also like an links to Netscape problem sites that solve or give code problems, as when I have built a few sites and then opened them in Netscape and they dont work as planed!!!!! I would be very grateful!

Thanks Glenn.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

<embed> tag is not a part of HTML standard. Try <object> instead.
glenn
Forum Newbie
Posts: 18
Joined: Fri Apr 19, 2002 7:42 am
Location: London, England (UK)

Post by glenn »

Thanks for that!! But I have already tried it and for the life of me I can not get it to work!!!! Plus the fact I thought Netscape didn't support that tage very well???


If the object tag is what i need could someone please help me with it? It could be that I have just not typed it up right or something :lol:

Or maybe there is something else I could do? I was thinking about PHP, could I have a PHP script - using maybe fopen? - open up my PDF document and then automaticaly display it? And if I was to use PHP, there should not be any problems with it not working in Net. or IE, should there?


Hope someone can help!


Thanks Glennn[/pg_man]
User avatar
EvilWalrus
Site Admin
Posts: 209
Joined: Thu Apr 18, 2002 3:21 pm
Location: Springmont, PA USA

Post by EvilWalrus »

Here's an idea.... discontinue usage/support of etscape
Post Reply