|
-
Oct 26th, 2005, 10:39 PM
#1
Thread Starter
PowerPoster
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?
Last edited by lintz; Oct 27th, 2005 at 06:40 PM.
-
Oct 27th, 2005, 07:43 AM
#2
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 ?
-
Oct 27th, 2005, 06:39 PM
#3
Thread Starter
PowerPoster
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
-
Oct 27th, 2005, 06:56 PM
#4
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 ?
-
Oct 27th, 2005, 07:18 PM
#5
Thread Starter
PowerPoster
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.
-
Oct 27th, 2005, 07:21 PM
#6
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...
-
Oct 27th, 2005, 07:24 PM
#7
Thread Starter
PowerPoster
Re: Javascript:popup not working in IE
Did it "reinstall" when you pointed to your i386 folder?
-
Oct 27th, 2005, 07:24 PM
#8
Re: Javascript:popup not working in IE
No, it simply came up with "Installation Failed"
-
Oct 27th, 2005, 07:28 PM
#9
Thread Starter
PowerPoster
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?
-
Oct 27th, 2005, 07:30 PM
#10
Re: Javascript:popup not working in IE
 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 ?
-
Oct 27th, 2005, 07:33 PM
#11
Thread Starter
PowerPoster
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....
-
Oct 27th, 2005, 07:35 PM
#12
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 !
-
Oct 27th, 2005, 07:48 PM
#13
Thread Starter
PowerPoster
Re: Javascript:popup not working in IE
Good luck
-
Oct 27th, 2005, 07:52 PM
#14
Re: Javascript:popup not working in IE
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|