Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

JavaScript?

Name: Anonymous 2006-02-15 12:24

At the moment I have a script that I would like to work something similar to the world4ch display on  the main 4chan navigation, only have it use cookies. I want it to get information from a cookie and then if the cookie does not equal 1, do not display the section of the page. The code I currently have is:

var tog=document.getElementById("post");
var modmode = getCookie("modmode");
if(modmode != 1)
{
    tog.style.display="none";
}

and I have no idea as to why it won't work.

Name: Anonymous 2006-02-15 15:50

This is terrible, you haven't even explained in what way it "won't work." How is anyone supposed to help?

Name: Anonymous 2006-02-15 16:04

>>2
The section "post" still shows up.

Name: Anonymous 2006-02-15 18:34

where's your getCookie function?

Name: Anonymous 2006-02-19 2:13

shouldn't it be document.getCookie?

Name: Anonymous 2006-11-14 21:14

javaskritp

Name: Anonymous 2009-01-14 4:18

>>2
Why you need cookie at all

Name: Anonymous 2009-08-16 17:13

>>4
to databases to databases--the the compiler the compiler "optimizing optimizing your optimizing your SQL SQL for SQL for a a proper a proper program program ends program ends whatever whatever the whatever the bloody bloody hell bloody hell it It's it's unnecessary unnecessary - and unnecessary - and potentially potentially harmful potentially harmful. The

Name: Anonymous 2009-10-03 18:42

>>24
/prog/ used to be called /anus/.  It was the [sup]great[/sup THE SUSSMAN that hacked /anus/ to create a board where we could share our love of SICP.  But it was not easy, for THE MODERATORS complained about the hacking, saying "DON'T HAX MY ANUS!"  THE SUSSMAN did not stop, and changed /anus/ to /prog/, and every since we have shouted "HAX MY ANUS!"

Name: Anonymous 2009-10-03 18:44

>>24
/prog/ used to be called /anus/.  It was THE SUSSMANS that hacked /anus/ to create a board where we could share our love of SICP.  But it was not easy, for THE MODERATOR complained about the hacking, saying "DON'T HAX MY ANUS!"  THE SUSSMANS did not stop, and changed /anus/ to /prog/, and every since we have shouted "HAX MY ANUS!"

Name: ​​​​​​​​​​ 2010-10-22 15:01

Name: Anonymous 2010-12-09 1:16

Name: Anonymous 2011-06-28 18:13

[q]fuck[/q]

Name: Anonymous 2011-06-28 18:14

fuck

Name: Anonymous 2012-02-24 1:57


test[o]
test[/o]

test[o]
[/o]test

1[o]
2[o]
3[o]
4[o]
5[o]
[/o]4[/o]3[/o]2[/o]1[/o]

Name: Anonymous 2012-03-11 18:37

hrtdyu5rds7

Name: Anonymous 2012-03-11 18:40

>>15
lol fail

Name: Anonymous 2012-03-11 18:42

>>15
That bottom part is actually correct...  You have the "o" and "/o" tags in the right places.  I'm not sure what you did to fuck it up, though.

Name: Anonymous 2012-03-11 18:44

a
b
c
d
e
f

Name: Anonymous 2012-03-11 18:44

>>18
way to bump a 6 year old thread faggot

Name: Anonymous 2012-03-11 22:58

>>20
no U

Name: Anonymous 2012-03-11 23:14

DubsScript

Don't change these.
Name: Email:
Entire Thread Thread List