PDA

View Full Version : BillBoard Script



tony2004
09-08-2004, 11:28 AM
Hi,
I'm having problems with the DHTML Billboard (http://www.dynamicdrive.com/dynamicindex2/dhtmlbillboard.htm) script.
It's a fantastic script but the option to hide/show content in older browsers doesn't work, well not for my 4.79 version of Netscape!
I'm referring to this part of the code in the script:

var hidecontent_from_legacy=1 //Should content be hidden in legacy browsers- IE4/NS4 (0=no, 1=yes).
Whether i put the var to 1 or 0, netscape 4 always show the content.
Since I want my site to be crossbrowser-savvy, this is annoying.
Can anyone help?
:confused:
Tony

cr3ative
09-08-2004, 02:43 PM
I take it that NS4.79 doesn't actually show the billboard?

If it does, you need an older browser to test this out! :p

cr3ative

tony2004
09-08-2004, 02:49 PM
Hi,
Yeah it does show the Billboard!
;)

cr3ative
09-08-2004, 02:59 PM
Heh... oh dearie.

I'll try to find you an older version to download :)

cr3ative

cr3ative
09-08-2004, 03:00 PM
http://www.oldversion.com/download.php?idlong=b96a58f7f4b103dd563807255501bcf6

IE3 for Win95.
ooh.

cr3ative

tony2004
09-08-2004, 03:24 PM
Er, why do you think I need another older browser
Do you not understand the script or my initial message!
;)

cr3ative
09-08-2004, 05:56 PM
You need an older browser, because they CAN'T show the script, and therefore you need to stop it trying, thats what the code does.
As your browser DOES show the billboard, it doesn't need to hide the code.

If this isn't what the code is meant to do (i'm 90%), my apologies :)

Sorry!
cr3ative

tony2004
09-08-2004, 06:13 PM
Hi,
Let me quote you the advice from the script makers:


Additionally, in older browsers (ie: NS4/IE4), you can choose whether the script should hide all of the content or not, since if the later, all of the content is shown all at once (depending on your page design, you may not want this).

Now what i'm raising is the fact that the part of code that should carry out this function DOES NOT DO SO!

;)
OK?

Is there anyone out there who might help pls

Thanks
tony

cr3ative
09-08-2004, 06:29 PM
Cheers for clearing that up Tony.

I'll attempt to rewrite the script so it does sucessfully hide the billboard, it'll take me around 20 mins.

(ever tried the internet in netscape 1.1? its hilarious! :p)

cr3ative

cr3ative
09-08-2004, 06:40 PM
Ok, i've attached a code that works.

Rename to htm (I can't attach htm, only .txt.. odd)

Sorry for the mixup!

tony2004
09-08-2004, 06:43 PM
Cheers for clearing that up Tony.

I'll attempt to rewrite the script so it does sucessfully hide the billboard, it'll take me around 20 mins.

(ever tried the internet in netscape 1.1? its hilarious! :p)

cr3ative

Thanks for this - I look forward to your rewrite.
Netscape 1? yeah in fact I have NN 1 on my machine - I think embarrassing is the word, especially for web site owners!!
By the way, have you seen this site? it 'mirrors' any site you want:

take a look at Dynamic Drive (http://www.dynamicdrive.com.mirror.sytes.org/) in a new window

Tony

tony2004
09-08-2004, 06:54 PM
Ok, i've attached a code that works.

Rename to htm (I can't attach htm, only .txt.. odd)
Please help me out by clicking the link in my siggy. :D

Sorry for the mixup!

Sorry to say cr3ative, it still doesn't work!!
all the messages get shown at once

Any ideas?
Tony

cr3ative
09-08-2004, 06:54 PM
*points* they dewercs pd cimanyd evird!

scary.

It's now attached.

cr3ative
09-08-2004, 06:56 PM
Netscape 4.08 seems to hide it ok, i'm confused even more now :p

Ah well, i'm all out of recoding ideas. Anyone else?

cr3ative

tony2004
09-09-2004, 08:13 PM
Yeah,
anyone else know if there's a fix
thanks