Strange Behaviour In Internet Explorer With Document.links[i].href
Jul 20, 2005
I have to change dynamically all hyperlinks, when the html-page is
loaded at the client. This works fine, except in the following scenario:
When the innerText of an anchor contains an '@', the InternetExplorer
changes the innerText-Property to the HREF-Property. I have checked this
with MoZilla/FireBird and Opera and there is no problem!
To explain, what i mean, see following example:
for(var i=0; i < document.links.length; ++i)
document.links[i].href = document.links[i].href;
Now you need some anchor tags - notice the '@' as inner Text:
<a href="http://www.somelink.org/">Text before @ and after</a><br>
<a href="http://www.somelink.org/">Text before @</a><br>
<a href="http://www.somelink.org/">@ before text</a><br>
<a href="http://www.somelink.org/">Text before at and after</a>
If you load the page, InternetExplorer will display the HREF-Property
instead of "Text before @ and after" - all other elements are shown
correctly! It doesn't bother other browsers: Opera/MoZilla shows _even_
the first element with innerText.
My system: Windows XP SP1, InternetExplorer SP1, Firebird0.7, Opera 7.23
Has anybody out there an idea, why IE behaves like this? And how I can
work around this?
Dont know how to put this. In my application i had one jsp where i did some modifications in the java script function and increased the maxlength of a field.
Just these two major modifications i did.But strangely everything got screwed up the function is not being called and many other java scripts func are not being called. Many buttons are not behaving strangely. That jsp is a very big one and a part of a major colossal application so i am not pasting it.
I have been working with with window.promt() and i noticed a weird behaviour.In some cases (i do not known why) my prompt cannot get over a certain limit of characters. But in some other cases it can get as many characters as i want.
I just discovered that Internet Explorer is not showing the 3rd level of the menu. [URL](very much a work in progress) I believe it's a js issue and not a css one. I've removed all js/ jquery except the menu stuff and the problem still exists. I'm not sure what to do now. I know it should work because the examples on the superfish site do. Also, I just pulled up my test page that I made before integrating the CMS and they don't work there either. Maybe there will be some clue here because it's the only js/jquery involved. [URL]
I have a script that works in Firefox but not IE6-
The form is set this way: <FORM ACTION="<?php echo("$Action"); ?>" METHOD="POST" NAME="Params" <input type="hidden" NAME="ThisPageURL" value=""><input type="hidden" Name="$ERR" value=""><input type="hidden" name ="TimeZoneOffset" value=""><input type="hidden" Name="$U" value=""><input type="hidden" Name="$R" value=""><input type="hidden" Name="$T" value="">
I get the following error in IE: document.Params.ThisPageURL is null or not an object
I have an intranet web page with links to all kinds of Microsoft Word document that we use at my work, so my co-works can go to the web page when they need a special document. However, when they click the links the documents are of cause loaded in the web browser MS Explorer and not opened in MS Word, which is annoying.
I'm having trouble figuring out what's going on with IE6's Msxml2.XMLHTTP object. I have two feed addresses in this stripped down version of my code below. Both work fine in Firefox (using the XMLHttpRequest object), but only the thinkgeek one works in IE. In the processFeed function, it shows the problem - the first alert shows 0 for the wikihow feed in IE, though it can still display the responseText. Any insight? Code:
my site seems to be working perfectly on firefox but when I access it on internet explorer everything loads fine but there is a yellow marker on the status bar of IE saying there are errors on the page. I copied the source into dreamweaver to check for browser specefic bugs but the only bugs that came up were that in Netscape. So any idea why this is happening? The link to my site is in my profile.
I am having trouble with Internet Explorer AGAIN.How do you use the setTimeout for it?This is what I am using and it is working on all of the other browser:Code:setTimeout("growContact(" + (height+20) + ")", 0);
I have a problem, and maybe someone knows the solution.
Context : - Browser : IE 6.0 - Application server : Livewire Pro - Client OS : Windows 98 SE - Server OS : NT4 - I have a frameset, including several pages, but only one will be used for the example. -------- | a | -------- | b | -------- - a form on the main page (a.html i.e.) - a data is manually typed, then I submit the form => the action will redirect to a new page (c.html) - on this new page, I do a history.go(-1), so I'm back on the a.html page, and the data is still there (it's ok) - cache parameters : "check on every page visited"
Problem : - From the main page, if a popup gives the data to the form, so after the submit and the history.go(-1), the form contains NO data !!!
So, the data is lost when the data input is not made by hand.
I have no troubles with Netscape/Mozilla, but only with IE.
I have a shortcut on my desctop that points to web location. When a user clicks on it the Internet explorer opens the web location but without the navigation bar status,location bar address bar, but with resize handlers.
Ok, if this cannot be done is there a javascirpt that can imediatly remove this when the page is called?
I have a link which when clicked either fades up a full screen overlay and a popup box ontop or fades them both down. This works perfect in every browser except IE7 and IE8. The popup box fades in and out OK but the overlay just appears or disappears with no fading (which is bizarre!)