Javascript:popup not working in IE
I'm not sure what has happened but within IE I can no longer open any links that are created with javascript.
It has worked perfectly until yesterday? It still works in Mozilla but not in IE.
This is my code.
Code:
<script = javascript>
var newwindow;
function popup(url)
{
newwindow=window.open(url,'name','height=500,width=450');
if (window.focus) {newwindow.focus()}
}
</script>
and called like
<a href="javascript:popup('popup.php');""><u>Click Here</u></a>
Also, the links ppl post on this forum don't open either?
Any suggestions?
Re: Javascript:popup not working in IE
I have3 the exact same problem, it may have something to do with an update, but i'm not sure, i always have to use FX now to open links, its wrong.
Anyone know why we can't open links in new windows with IE ?
Re: Javascript:popup not working in IE
I solved the problem by reinstalling IE from my WinXP CD.
thegreatone, to reinsatll insert your WinXP CD then click Start --> Run and paste the below. Click OK and follow the prompts.
Code:
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\Inf\ie.inf
Re: Javascript:popup not working in IE
Erm, i don't have the Win XP CD, it was pre-installed on my machine... BUT, in my I386 folder i found the backup version of IE.inf i think...
Any suggestions ?
Re: Javascript:popup not working in IE
I'm not sure but instead of pointing to the XP CD for the ie.inf file point to your I386 folder.
Re: Javascript:popup not working in IE
I have tried, but to no avail, and now Windows Explorer seems to mess up daily too... somethings definitely a miss here...
Re: Javascript:popup not working in IE
Did it "reinstall" when you pointed to your i386 folder?
Re: Javascript:popup not working in IE
No, it simply came up with "Installation Failed"
Re: Javascript:popup not working in IE
that doesn't sound good at all and with your Windows Explorer also playing up you may have a problem with your OS. Have you run a full virus and spyware scan to make sure you haven't got any nasties on your machine?
I know this isn't the correct thing to do but could you borrow a mates XP CD to see if it'll fix the problem?
Re: Javascript:popup not working in IE
Quote:
Originally Posted by lintz
that doesn't sound good at all and with your Windows Explorer also playing up you may have a problem with your OS. Have you run a full virus and spyware scan to make sure you haven't got any nasties on your machine?
I know this isn't the correct thing to do but could you borrow a mates XP CD to see if it'll fix the problem?
Yep, full Virus scans daily my friend, AVG6, Avast.
And on spyware - MS Antispyware, daily full scans.
Also, my windows update isn't workng, i don't believe this...
Time to get in contact with some friends to get hold of an XP disc.
Anymore suggestions ?
Re: Javascript:popup not working in IE
I know how fustrating this problem is but I think without a XP CD you're out of luck....
Re: Javascript:popup not working in IE
Ah, i've got a friend whos going to hook me up to his Windoews Update server type thingy, basically his sevrer that downloads the windows updates and distributes them over his network, hes going to let me connect via VPON, problem is, this is in a week or so's time... Argh !
Re: Javascript:popup not working in IE
Re: Javascript:popup not working in IE