Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

HTML Question
Goto page Previous  1, 2
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> General Topics
View previous topic :: View next topic  
Author Message
XabbaRus



Joined: 21 Sep 2001
Posts: 6949

PostPosted: Wed Jan 05, 2005 8:16 pm    Post subject: Reply with quote

OK Check it out....


Looks good...now if only I could get Javascript thing to work

I have to go and rework the alt tags but shouldn't be a problem

http://homepages.tesco.net/benedict.kent/index.html
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Wed Jan 05, 2005 9:30 pm    Post subject: Reply with quote

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
Code:
<html>
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 Smile
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Wed Jan 05, 2005 9:36 pm    Post subject: Reply with quote

XabbaRus wrote:
OK Check it out....


Looks good...now if only I could get Javascript thing to work

I have to go and rework the alt tags but shouldn't be a problem

http://homepages.tesco.net/benedict.kent/index.html


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
View user's profile Send private message Visit poster's website MSN Messenger
XabbaRus



Joined: 21 Sep 2001
Posts: 6949

PostPosted: Thu Jan 06, 2005 2:13 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Thu Jan 06, 2005 7:39 am    Post subject: Reply with quote

What part isnt working in IE?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
XabbaRus



Joined: 21 Sep 2001
Posts: 6949

PostPosted: Thu Jan 06, 2005 9:35 am    Post subject: Reply with quote

The popup windows with the large graphics.


They work in old site but not the new one I am making.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Thu Jan 06, 2005 10:47 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
XabbaRus



Joined: 21 Sep 2001
Posts: 6949

PostPosted: Thu Jan 06, 2005 2:17 pm    Post subject: Reply with quote

No not using SP2 yet but IE6 is upgraded to the max
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
XabbaRus



Joined: 21 Sep 2001
Posts: 6949

PostPosted: Thu Jan 06, 2005 2:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Thu Jan 06, 2005 5:25 pm    Post subject: Reply with quote

Naah i never heard of a Firewall nor an Anutivirus that prevents JS from one site but not from another
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
XabbaRus



Joined: 21 Sep 2001
Posts: 6949

PostPosted: Thu Jan 06, 2005 9:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Fri Jan 07, 2005 8:23 am    Post subject: Reply with quote

I would if I could but I cant.
Running Linux (a 100% MS free system) Smile
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> General Topics All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group