PDA

View Full Version : HTML, IE, and Firefox Help plz?


pchalla90
March 18th, 2006, 03:34 AM
for some reason, a file only opens in IE, but not firefox. is there an HTML command (ex. target="_ie" or something like that) that would force it to open in IE if it is present on the computer?

Dashwood95
March 18th, 2006, 03:56 AM
There is no need to post duplicate entries in different forums. You just make it harder to follow.

And you can set a default browser to IE or to Firefox, but I don't know of any code to put in a web page for force it to open in a particular browser because you generally have to open the browser first.

pchalla90
March 18th, 2006, 04:01 AM
oh sorry. after i posted the first, i realized i didn't do it in the rite place so i posted it where it should go

Dashwood95
March 18th, 2006, 04:08 AM
That's why the mods/admins have the ability to move posts. ;)

z1p
March 18th, 2006, 04:39 AM
What kind of file and how are you opening it?

oracle128
March 18th, 2006, 05:33 AM
There is no code you can use in an HTML page to tell a browser to open a link with a particular program, as this depends on the viewer's system settings and file associations.

pchalla90
March 19th, 2006, 09:15 PM
its a picture slideshow made with the msft powertoys thing slideshow maker thing. if i run it in firefox, it says

File not found


Firefox can't find the file at /C:/Documents and Settings/Pranav/My Documents/India Trip/html/html/0.htm


* Check the file name for capitalization or other typing errors.

* Check to see if the file was moved, renamed or deleted.

yet the file works in ie

oracle128
March 20th, 2006, 05:34 PM
I just created a test slideshow with the "HTML Slide Show Wizard" powertoy (I assume that's what you're using?). It works fine in Firefox and IE with 'Simple' slide show type. It works fine in IE with 'Advanced' type, but in Firefox the JavaScript features are ignored (a bug; it only uses JavaScript when it detects IE or Netscape, ignoring other JavaScript-capable browsers like Firefox).

However, when using the 'Full screen' option, the tool appears to generate invalid HTML (it mistakenly tries to link to a second "html" directory). This produced problems in both Firefox and IE for me, so I don't know why it's working in IE for you. The workaround is to not use the 'Full screen' option. Alternatively, you could manually edit the "html\viewer.htm" file in a text editor. On line 475 (near the end) you will find this line:
<h2>Click <a href="html/0.htm">here</a> to watch the slideshow.</h2>
simply change it to this:
<h2>Click <a href="0.htm">here</a> to watch the slideshow.</h2>
and that should fix it. This is obviously a bug with the HTML Slide Show powertoy.

pchalla90
March 21st, 2006, 02:53 AM
that worked... thx