Re: MSIE problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luis Ferro wrote:

Instead of doing a somefile.php#ref do a somefile.php?jump=ref and then in the somefile.php add a mix of javascript/php to perform the "jump"...

That is a workaround and should work in any browser that uses javascript.

Of course, if javascript is turned off the user is always stuck to the top of the document, which isn't a too bad degradation of funcionality... (specially if the top of the document has links for it's targets).


The problem seems to be endemic to MSIE. Reducing to its simplest form, entering any URL of the form "somefile.php#link" displays only the top of the file - i.e. the "#link" spec is ignored. Naturally, if the URL is "somefile.htm#link" or "somefile.html#link", everything works. This problem migrates when I use "somefile.php?section=link". Using PHP, I have to use...

print("<meta http-equiv=\"Refresh\" content=\"0;URL=comm_data.php#".$section."\">\n");

...and nothing works because it still presents an internal link to a PHP file to MSIE. Unfortunately, I don't know enough Javascript to code anything useful. (I've previously managed to avoid polluting my pages with Javascript.) I've prowled around trying to see if the file extensions MSIE recognizes are in a configuration file or the registry somewhere, but I haven't found them yet.

--
Bob Stout <rbs@xxxxxxxxxxxx> - The rules of life:
"Either lead, follow, or get out of the way."
"It's easier to get forgiveness than permission."
"90% of everything is garbage."
"Never attribute to malice what can be adequately explained by
 stupidity."

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux