GetDotted Domains

Viewing Thread:
"Alan and other JS/CSS gurus, I need your help"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sun 12/01/03 at 15:33
Regular
Posts: 787
http://diary.sine-wave.net/

If you view that in Moz, the quick jump works. However, it doesn't in IE6.0 and I can't fathom why. Can anyone figure it out?

Personally this is the first JS I've ever seen that works in Moz but not IE, but hey.

Note: Don't feel you have to read my diary if you can't deal with it, thanks.
Tue 14/01/03 at 13:47
Posts: 0
The code on the URL already has browser specific code, but more to the point, try changing the Javascript contained in that link to the following :

var ie4 = (document.all) ? true : false;
var ns4 = (document.layers) ? true : false;
var ns6 = (document.getElementById && !document.all) ? true : false;

function show()
{
if( ie4 )
{
document.all["layer1"].style.visibility = "visible";
}
if( ns4 )
{
document.layers["layer1"].visibility = "show";
}
if( ns6 )
{
document.getElementById(["layer1"]).style.visibility = "visible";
}
}

function hide()
{
if( ie4 )
{
document.all["layer1"].style.visibility = "hidden";
}
if( ns4 )
{
document.layers["layer1"].visibility = "hide";
}
if( ns6 )
{
document.getElementById(["layer1"]).style.visibility = "hidden";
}
}

That should work in both IE and NN, enjoy!
Tue 14/01/03 at 07:57
Regular
"Eff, you see, kay?"
Posts: 14,156
Yeah no probs man, thanks. I'd rather not resort to browser-specifics as I know this works, I've ripped it off!

If it comes to it I'll have a go though. Thanks!
Mon 13/01/03 at 23:08
Regular
"It goes so quickly"
Posts: 4,083
http://www.chrisjhaig.co.uk/Layers.html

Doesn't work in Netscape, but does in IE, so maybe you could try and use a browser specific code to implement it.

I would do it now, but I'm just to tired.

Sorry.
Sun 12/01/03 at 23:11
Regular
"Eff, you see, kay?"
Posts: 14,156
Aside from the div swapping (which I maintain absolutely will work in IE, I ripped the code from luke), there's still the issue of the error on line 71.

Thanks anyway guys.

As for #leiden, we're still there, although there may have been a netsplit we haven't noticed. Connect to io.mine.nu, that always works.
Sun 12/01/03 at 21:29
Regular
"It goes so quickly"
Posts: 4,083
I've been giving it a go to fix, like Tyla suggested, with a Script to detect the browser and write the JS accoringly, but I can't get it to work ... must just be a bad night for me, as it seems like something quite simple for me to so.

Sorry, I'll give it a go tomorrow maybe, if you haven't got it fixed by then.
Sun 12/01/03 at 21:12
Regular
"l33t cs50r"
Posts: 2,956
I see what you mean... apart from the huge JS error in IE(6). IE and NN handle
swapping differently, and it's al down to the JS and IE's DOM. You ideally need a JS detect to decide the browser then use the relevent JS to swap the DIV in and out.

What you have is correct as it works in NN and Moz, so it's nothing you have done, it's all down to the IE DOM and it's JS handling!

I'll try to get you hte right JS later tonight, but my brain is currently fried as I've been up the hospital all day again...

BTW... What's happened in Leiden, your all out?
Sun 12/01/03 at 20:36
Regular
"Eff, you see, kay?"
Posts: 14,156
Oh sorry...

cjh wrote:
> Is that all it is your trying to do, have that layer with the dates in
> show up and hide when the link is clicked?

Yes.
Sun 12/01/03 at 20:35
Regular
"Eff, you see, kay?"
Posts: 14,156
cjh wrote:
> Stating the obvious :) but IE doesn't seem to support that instruction
> to show the
Do you know anything else about this? Any ways round it? The
method works on luke's diary.
Sun 12/01/03 at 19:17
Regular
"It goes so quickly"
Posts: 4,083
Stating the obvious :) but IE doesn't seem to support that instruction to show the
layer.

Although, the redirection thing doesn't occur, so there is a start :).

Is that all it is your trying to do, have that layer with the dates in show up and hide when the link is clicked?
Sun 12/01/03 at 19:09
Regular
"Eff, you see, kay?"
Posts: 14,156
OK well I've fixed that odd behaviour. Still don't know why this is completely failing to work in Exploder though...

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Great services and friendly support
I have been a subscriber to your service for more than 9 yrs. I have got at least 12 other people to sign up to Freeola. This is due to the great services offered and the responsive friendly support.
Thank you very much for your help!
Top service for free - excellent - thank you very much for your help.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.