In my IE extension I am trying to get the screen co-ordinates of an element in C++/MSHTML. From my IHTMLDocument2, I do the following:
IHTMLDocument2:: pDoc->get_all(&pElemColl);
IHTMLElementCollection::pElemColl->item(varID, varIdx, &pElemDisp);
where
_variant_t varID = ("myID", VT_BSTR);
//myID is the tag name of the element I'm...
Hi. I have the following factorial function implemented in XSLT:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:template match="/">
<xsl:apply-templates>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="facto...
I have an ASP.Net MVC Page with a very simple form on it: One Textbox and a submit button. The form uses the standard mvc BeginForm() syntax:
<% using (Html.BeginForm()) { %>
When the page is opened directly, everything works fine.
However, we have another web site (non MVC) that loads this page within an iFrame. Most browsers seem t...
I have the following in my IE extension to handle when a tab is switched in IE, etc.
[ATL project, VS2008, C++ using IDispEventImpl]
SINK_ENTRY_EX(1, DIID_DWebBrowserEvents2, DISPID_WINDOWSTATECHANGED,WindowStateChanged)
.
.
.
void WindowStateChanged (DWORD dwFlags, DWORD dwValidFlagsMask);
.
.
.
.
void CHelloWorld::WindowStateChang...
I have added the YUI Menu Button component in my page with given values I want to display. These are targeted to both IE7 and Mozilla. When I reload the page in IE, all menu links are showing up with white background, while in Mozilla it works fine.
...
I keep getting crashes when I load my site in IE, but I've no idea why. If I choose the option to restore the page then it will generally work, but the next link I click will crash IE.
How can I tell if this is something that lots of people are seeing, and how can I start tracking down the problem?
The site is http://www.freshholidays....
So... I have an http handler which serves documents. The response contentType is correctly set but the url of the handler does not have an extension i.e. pdf.
It looks like this:
http://mysite/handler.ashx?id=123&locale=123
When I visit this url in firefox/chrome etc (i.e. the decent browsers) all is well (the browser correctly s...
Hi I am currently trying to replace a query string value in a a link's src attribute.
it works fine in firefox but not in ie.
example:
<a id="link" href="#" src="http://somedomain.com?id=123&size=20">link</a>
then on my js it looks kinda like this:
var link = document.getElementById('link');
link.src.replace('size=20'...
I have created a Question of the week project in PHP and I have used AJAX to make things work in run time and MySQL as the database. My entire project works absolutely fine in Firefox and even in Google Chrome. But it does not works on Internet Explorer.
It does not makes the changes.
eg. If I post using IE, it will not show the posted...
On this map:
http://web.pacific.edu/documents/marketing/campus-map/version%202/stockton-campus-2.0.htm
I have an anchor at the top, and I want the page to jump to the anchor when a link is clicked.
I'm currently using
window.location = '#top';
It works as expected in FF, Opera, and Chrome, but not in IE 7.
I've tried all permuta...
Can you help me on this because I got lost....
<table id="PollDetails" runat="server" Visible="false">
<tbody>
<tr>
<td align="right">
Poll Question:
</td>
<td align="left">
<asp:TextBox ID="txtQuestion" runat="server" Width="300"></asp:TextBox>
...
Hi all,
My understanding is that Microsoft Script Editor is the best debugging utility for IE. To enable debugging in IE6 on XP, I found these instructions:
On Windows XP SP2+, the option has been split to two:
Go to Tools->Internet
Options…->Advanced->Disable Script
Debugging (Internet Explorer)
Go to
Tools->...
I am currently struggling to identify where the bottleneck is in an enterprise web app. The app is extremely javascript heavy & only runs on IE, not my design or architecture but my task to improve.
I know IE 6 is notoriously slow for javascript, other than fiddler are there any other IE tools I can use to measure the speed of the page...
A few weeks ago I lost my passwords for msn and more importent my company email, which change every 30 days or something, they are annoying because of there lengh and a I dont like writting them down.
Anyhow I downloaded a so called password recovery tool and it worked well, but then spammed me for days with ads.
My question is, how can ...
I've problem with opacity for IE8 and Opera9-10. My little JS adds a CSS class to a row (<tr>) when users click on it. This is the class:
.selected {
opacity: 0.5;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /* IE8 */
filter: alpha(opacity=80); /* IE7 */
}
Opacity is applied in Firefox and Google Chr...
Guys,
I am trying to establish how to detect the IE browser in jQuery 1.3.X - now before you all write "its deprecated in 1.3.x!" - I know this. I have this code
if (jQuery.browser.msie && jQuery.browser.version == "6.0") {
alert ("This is less than IE7");
} else {
alert ("This is greater than IE7");
}
When running it in IE8 - IE...
I am having problems with IE, In FF and Chrome the navigation at the top displays fine. However in IE8 (with or without compatibility) the UL seems to indent from the left hand side, not each li just the whole li; despite declaring text-align:center; width:600px; margin:auto; padding-left:0;.
Any ideas what could be causing this?
Thanks...
Hi,
I dynamically load a css stylesheet (with a little help from jQuery) like this:
var head = document.getElementsByTagName('head')[0];
$(document.createElement('link'))
.attr({ type: 'text/css', href: '../../mz/mz.css', rel: 'stylesheet' })
.appendTo(head);
This works fine in Firefox and Google Chrome, but not in IE.
Any h...
Hello, I'm very new to html and css so feel free to critique any bad practices you see in the code below...
I am trying to create a centered column that's 800 pixels across and the banner will be resized to 800 pixels. When view this page in chrome or firefox it looks great. When I view it in IE8 the font is huge, there is a giant e...
This is getting really really annoying.
I start debugging my web app using Visual Studio, and regularly Internet Explorer just sits there saying "Connecting..." in one of the tabs, but if I open another tab I can usually go to the page that the first tab was going to, but sometimes not,but of course the new tab is a new thread so the d...