Re: MSIE problems

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

 



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).

Cheers,
LF

M. Sokolewicz wrote:

Bob Stout wrote:

Bob Stout wrote:

Although it works fine with Firefox, whenever I use a <select> object to open a PHP file in a frame, with an internal reference, it ignores the reference. IOW, if the link I want in the frame is "somefile.php", everything works OK. If, instead, the link I want in the frame is "somefile.php#here", it displays the file from the beginning, ignoring the reference to the <name="here"> tag.

Has anyone experienced this before and, if so, is there a work-around for it?




I should have added that it works just fine if the link is an HTML file. As in the example above, linking "somefile.htm#here" or "somefile.html#here" to a frame both work just fine. I also displayed the source that MSIE is seeing, and the reference appears correctly in the HTML. The problem apparently is that it doesn't recognize PHP files as a valid HTML file type.

this is obiously a browser problem. You can't do anything about it from the PHP side of it (since it has nothing to do with it). If you want to fix this, "fix" your MS browser... sorry, but that's the best you'll get here..


--
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