| View previous topic :: View next topic |
| Author |
Message |
XabbaRus
Joined: 21 Sep 2001 Posts: 6949
|
|
| Back to top |
|
 |
Jesper
Joined: 14 Sep 2002 Posts: 2063 Location: Denmark (GMT+01.00)
|
Posted: Wed Jan 05, 2005 9:30 pm Post subject: |
|
|
| XabbaRus wrote: | But Jesper
That Javascript code was ripped from another site I made and it works just fine in that site.
Also I was using the w3c validator and put in a the doctype for 4.01 and it tells me HTML isn't allowed and that my tag isn't allowed.
huh? |
the <html> tag should look like this :
xHTML 1.0 =
| Code: | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- The above 2 lines is really only ONE line! -->
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
</body>
</html> |
HTML4.x =
| Code: | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
</body>
</html> |
The way that your Javascript was written from the other site is incorrect, Im not saying it doesnt work, its just incorrect  |
|
| Back to top |
|
 |
Jesper
Joined: 14 Sep 2002 Posts: 2063 Location: Denmark (GMT+01.00)
|
Posted: Wed Jan 05, 2005 9:36 pm Post subject: |
|
|
Looks good to me, The js popup windows in your gallery works fine, I cant see what is wrong with them?
Or is it something different?
Yeah the alt="" tags are a dumb rfc requirement... if you dont want alt text on your pictures just use alt="" |
|
| Back to top |
|
 |
XabbaRus
Joined: 21 Sep 2001 Posts: 6949
|
Posted: Thu Jan 06, 2005 2:13 am Post subject: |
|
|
I wonder if it is to do with my IE settings.
What should I change for them to work in IE6?
I was just looking at my shkvalru site where the javascript works for me in IE6.
It would have anything to do with Geocities addings its own javascript stuff to the top of the file?
If the link in sig isn't working go to
www.geocities.com/shkvalru and view source.
Strange as this javascript worked on the PC I wrote it on before I uploaded to geocities. I always try to test offline first.
Hmmmm I must be making an error somewhere. |
|
| Back to top |
|
 |
Jesper
Joined: 14 Sep 2002 Posts: 2063 Location: Denmark (GMT+01.00)
|
Posted: Thu Jan 06, 2005 7:39 am Post subject: |
|
|
| What part isnt working in IE? |
|
| Back to top |
|
 |
XabbaRus
Joined: 21 Sep 2001 Posts: 6949
|
Posted: Thu Jan 06, 2005 9:35 am Post subject: |
|
|
The popup windows with the large graphics.
They work in old site but not the new one I am making. |
|
| Back to top |
|
 |
Jesper
Joined: 14 Sep 2002 Posts: 2063 Location: Denmark (GMT+01.00)
|
Posted: Thu Jan 06, 2005 10:47 am Post subject: |
|
|
Have you set your popup blocker to allow popups from the "new" site?
If youre using SP2 there is a built in popup killer in IE, which you can access the controls of from the Tools menu  |
|
| Back to top |
|
 |
XabbaRus
Joined: 21 Sep 2001 Posts: 6949
|
Posted: Thu Jan 06, 2005 2:17 pm Post subject: |
|
|
| No not using SP2 yet but IE6 is upgraded to the max |
|
| Back to top |
|
 |
XabbaRus
Joined: 21 Sep 2001 Posts: 6949
|
Posted: Thu Jan 06, 2005 2:24 pm Post subject: |
|
|
Could my firewall and anti-virus software be causing it?
I am using F-Secure's one which came when I got BB connection. |
|
| Back to top |
|
 |
Jesper
Joined: 14 Sep 2002 Posts: 2063 Location: Denmark (GMT+01.00)
|
Posted: Thu Jan 06, 2005 5:25 pm Post subject: |
|
|
| Naah i never heard of a Firewall nor an Anutivirus that prevents JS from one site but not from another |
|
| Back to top |
|
 |
XabbaRus
Joined: 21 Sep 2001 Posts: 6949
|
Posted: Thu Jan 06, 2005 9:31 pm Post subject: |
|
|
| Jesper would you be so kind as to check out my javascript as someone else running IE6 can't get the windows to pop open either so it isn't just me. |
|
| Back to top |
|
 |
Jesper
Joined: 14 Sep 2002 Posts: 2063 Location: Denmark (GMT+01.00)
|
Posted: Fri Jan 07, 2005 8:23 am Post subject: |
|
|
I would if I could but I cant.
Running Linux (a 100% MS free system)  |
|
| Back to top |
|
 |
|