Closed
Bug 273894
Opened 20 years ago
Closed 20 years ago
it moves one directory back in the iframe, IE works OK
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: kisp003, Assigned: bugzilla)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 if we create an html page and the table... in one of the cells we insert an iframe. in the iframe there is a link...eg href="../html/membs/a.html" the iframe (source page) is in the membs directory too. if we click the link... in firefox it doesn't find it! it trys to find it in the "html" folder, but the same link can be opened in IE5+ without a problem: creating the problem: 1. Folder: HTML 2. Inside html create another folder named membs 3. in the html folder we create a page which has a table 4. In one of the table's cell we put an iframe 5. The iframe links to a page (html) in the membs folder 6. the iframe_page has one link.... which links to another html page inside the membs folder 7. in firefox it searches the file in the html folder instead in the membs folder. it search in the directory were the MAIN page was which had the iframe link while IE searches the directory were the iframe_page is 8. i can create an example and send it if it helps Reproducible: Always Steps to Reproduce: 1. Folder: HTML 2. Inside html create another folder named membs 3. in the html folder we create a page which has a table 4. In one of the table's cell we put an iframe 5. The iframe links to a page (html) in the membs folder 6. the iframe_page has one link.... which links to another html page inside the membs folder 7. in firefox it searches the file in the html folder instead in the membs folder. it search in the directory were the MAIN page was which had the iframe link while IE searches the directory were the iframe_page is 8. i can create an example and send it if it helps Actual Results: the link cannot be found... if you fix the url link then the link won't work in IE (any version) Expected Results: when a page is being loaded either inside frames or not, to "capture" the directory were the link got "read" from and not to "still" remember the directory of the main frame or page/since it's an iframe error the problem is the same on win XP also... it doesn;t crash the broswer it justs understand the directories differently and so my web site cannot be compatiable bot with firefox 1 and IE.
Updated•20 years ago
|
Severity: blocker → normal
Comment 1•20 years ago
|
||
Mike, could you post the URL for a test case to this bug report?
(In reply to comment #1) > Mike, could you post the URL for a test case to this bug report? i will try to create it and upload it somewhere, brb
(In reply to comment #2) > (In reply to comment #1) > > Mike, could you post the URL for a test case to this bug report? > i will try to create it and upload it somewhere, brb hmm...i met the problem while doing my practical.. i have the website i am supposed to give in 4 days from now... i tried to create it as i said but.. i found that ...if the page in the iframe is loaded from another iframe in the same page then the problem arise, i could send you my non finish practical and check it there, shall i zip it and e-mail you it?
Comment 4•20 years ago
|
||
You can add the zipped data as an attachment to this bug report (using "Create a New Attachment"). Thank you!
(In reply to comment #4) > You can add the zipped data as an attachment to this bug report (using "Create a > New Attachment"). Thank you! i wanted my practical not to go public that's why i couldn't upload it here.. but i think it has to do with the \ character.... like href="windows/desktop/something" and windows/desktop\something is the same for ie but not for firefox, firefox would show the url windows/desktop\something\a.html and then stores the default window.location as windows/desktop/ while IE would still open the url and still have the window.location as windows/desktop/something/ (and not as windows/desktop\something)... you can view the e-mail i have sent if it helps a little.... who knows maybe i wrote something wrong in my code or not :)
Comment 6•20 years ago
|
||
Marking Invalid based on an email by the reporter: [anip] There is a problem.... :) theJscript was not done by me.... it was downloaded from www.dhtmlcentral.com <http://www.dhtmlcentral.com>it has been replaced from a newer script.... but I have found the error, it was mine.....(sorry?) i will try to explain it first of all in the jscript the code must be: """"""""""""""""""" slideMenu.makeMenu('top','1990-Today') slideMenu.makeMenu('sub','Introduction','1990_Today/1990_Today.html','rightiframe') """""""""""""""""""""" while in the sample i sent it was: slideMenu.makeMenu('top','1990-Today') slideMenu.makeMenu('sub','Introduction','1990_Today\\1990_Today.html','rightiframe') 1. Both broswers were able to open the 1990_Today.html but if the 1990_Today.html had a link inside it... lets say..href="link1.html" link1 is saved in 1990_Today Folder eg... if it was the directory path was: c:\windows\desktop\website\html\1990_Today\ 2. the Internet explorer would open the second link 3. Firefox wouldn't.... because we used '1990_Today\\1990_Today.html' and now it thinks it is in the html folder! using the \\ (i believe) that first finds the page and then it moves one directory up, making its window.location the Html folder while IE still has 1990_Today folder as window.location.... I don't know why I used \\ in the first place.... maybe I wanted the first \ as an escape char and the \ as an internal dir. while at the end....only a / was the solution
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
the iframe works OK I can say, maybe is when declaring links (inside of an iframe or frames) with more than one backslash (\\)is the problem? i'm without a pc... (i get an error mprexe has perfomed....=> needs format, NOT related with firefox) so i can't do anything for the momment (In reply to comment #6) > Marking Invalid based on an email by the reporter: > [anip] > There is a problem.... :) theJscript was not done by me.... it was downloaded > from www.dhtmlcentral.com <http://www.dhtmlcentral.com>it has been replaced from > a newer script.... > but > I have found the error, it was mine.....(sorry?) i will try to explain it > first of all in the jscript the code must be: > """"""""""""""""""" > slideMenu.makeMenu('top','1990-Today') > slideMenu.makeMenu ('sub','Introduction','1990_Today/1990_Today.html','rightiframe') > > > """""""""""""""""""""" > while in the sample i sent it was: > slideMenu.makeMenu('top','1990-Today') > slideMenu.makeMenu ('sub','Introduction','1990_Today\\1990_Today.html','rightiframe') > 1. Both broswers were able to open the 1990_Today.html > but if the 1990_Today.html had a link inside it... lets say..href="link1.html" > link1 is saved in 1990_Today Folder eg... if it was the directory path was: > c:\windows\desktop\website\html\1990_Today\ > 2. the Internet explorer would open the second link > 3. Firefox wouldn't.... because we used '1990_Today\\1990_Today.html' and now it > thinks it is in the html folder! using the \\ (i believe) that first finds the > page and then it moves one directory up, making its window.location the Html > folder while IE still has 1990_Today folder as window.location.... > I don't know why I used \\ in the first place.... maybe I wanted the first \ as > an escape char and the \ as an internal dir. while at the end....only a / > was the solution
You need to log in
before you can comment on or make changes to this bug.
Description
•