window.frame.document.location.href is pointing differently in IE11 - javascript

On my web page I have multiple frames out of which one frame has following location: /lms/index_lms.html
Now, I want to load present.html file in that frame which is at location: /present.html
I am currently using window.my-frame-id.document.location.href = 'present.html';
This works in IE9, IE10, Chrome and FF but doesn't work in IE11.
In IE11 it tries to search present.html file with following path: /lms/present.html
I can't use document.location.href='/present.html' because, I have few other folder/directories on my webserver before lms folder.
Since this issue happens in IE11 only can any one help me in identifying why this happens. Also, what is the correct way to set present.html page to that frame.

Related

Dynamically loaded <video> not playing in Safari and iOS Safari

I cannot get a video to work on my page. The projects are loaded dynamically, and if a video is contained it loads fine on Chrome but not in Safari. When I inspect it, Safari gives the following error for the video:
"An error occurred trying to load the resource"
Is there any way I can get this to work. I tried looking at the different properties in , but nothing seems to work.
The page can be seen here:https://www.proptogroup.com/projects.html
the project with the video is the first one loaded after current projects.

ie6 embed youtube not working

I'm having a problem with youtube embed (iframe) and ie6. I'm currently working on an old site of a client which requires it to support ie6.
The iframe works fine in IE8 above and other browser. But when I checked the page in ie6 in xp (modern.ie images running in virtualbox) it shows error:
"The page cannot be displayed". This only happens on IE6 (running another browser in the same OS - firefox - the iframe works just fine).
I've also tried the <object> method and it only show white page.
Anyone knows how to make this work in IE6, or at least a reason why it doesn't work in that particular browser?
In case this is related: I can't access google's page and its product through IE6 (so I can't check if I can play youtube videos through its website). Maybe this is due to google dropping its support for IE8 under, but I can't find anything actually relate this two after googling for hours.

Website functioning on all browsers except Internet Explorer 8

So i just finished up my website and uploaded it (New-ish web dev, please don't be to harsh). It works fine on all browsers except IE8. The website has a lot to load (images, etc.) so it is white screen for 1 - 2 seconds then fades into the actual site. On IE8 (IE9 + works just fine) the page stays on the white 'loading' screen forever. I have a lot of code here and I'm just wondering what you professional web developers here think i should do!
Website URL: http://cydronix.kkhorram.info/
There is two options: forget about IE8 or make it work on IE8.
Sounds like you have a problem with your javascript. To debug javascript on IE8, read this How to debug Javascript with IE 8.
I think one of your included .js files causing the issue. Check for the compatibility of your used javascript files
You said you uploaded the site - could you post the link if its live - otherwise without seeing some code the issue if difficult

chrome unable to get top.document after changing url

I am not using any plugins or frameworks.
I have some local help pages (which will not be hosted on a server), most of which need to be loaded into a frame. So, duringonload, I check if the page is in a frame or not:
top.document.location.href == document.location.href
and if this is true, and therefore the page is not in a frame, then I
top.document.location.href = "frame.html?info="+document.location.href;
Now, when frame.html?info=stuff.html loads, I can get the info parameter from:
`top.document` or `window.top.document`
and load that page into a frame as intended.
This all works as intended on Safari, IE9, and Opera. It does not work in Chrome. Instead, top.document and window.top.document are both undefined after frame.html is loaded.
How should I get the top URL and, more importantly, its parameters when I load frame.html?info=...
If it is helpful, I believe this behavior is because of this issue.

HTML5 Drag and Drop styles not displaying on Windows Server 2003

I'm working on a file upload utility based on Valum's Ajax-Uploader. The idea is similar to the Gmail attachment process. The user should be able to drag a file from the desktop into the browser window and onto the file upload area to get it to upload. This works fine in the browsers that support this functionality (Firefox 3.6+, Chrome 7+).
The problem I'm running into are the styles that should be re-drawn when the user:
Drags the file anywhere in the browser
Drags the file into the upload area
I have tested in the exact same browser versions on WinXP, Vista, and Win7. The appropriate styles are redrawn. However, in Windows Server 2003, they do not.
In Win2003, when I inspect the div that should be redrawn via Firebug, the "drop-area" and "drop-area-active" classes are applied correctly. Firebug even shows the correct style declarations, but the changes are never visible.
The only difference between FF and Chrome that I'm able to spot is that in Chrome, the "drop-area-active" style is displayed for a split second when the user drops the file.
I'm not positive that it is a Windows2003 issue, but that's the only OS in which I'm able to recreate the bug.
Edit:
If you're running Win2k3, try the Gmail drag'n'drop functionality. I can see the alternate styles in other OS's, but not Win2k3.
Edit #2:
Still seeing this issue in many different places. Anyone have any suggestions? I have submitted this as a bug to the Chromium Project. Issue 68632.
http://code.google.com/p/chromium/issues/detail?id=68632

Categories

Resources