problem with community dropdown

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
CorruptDictatorNumber2
Regular Poster
Posts: 166
Joined: Sat Jul 06, 2002 12:27 pm
Location: Chaucer's grave

problem with community dropdown

Post by CorruptDictatorNumber2 »

Sorry to bug you, but I have a question because I've tried everything I can think of to make this work, and it still hates me.

I currently run SCI-FIspace, the newish sci-fi dropdown. Before today, the dropdown always worked... But today, I tried to update it and it absolutely refused to work. The main page for the dropdown (http://slightlyschizophrenic.keenspace. ... space.html), while showing all the other updates, continued to show the old dropdown.

I tried deleting both the page and the .js file and uploading them again (manually updating, of course), but that did not change anything. I then tried changing the code a bit--until this point, I'd just kept the .js script in my images folder, so I made a scripts folder and moved it there. I changed the code on the webpage accordingly. Now the dropdown has disappeared altogether, no doubt because I deleted the old one from the images folder.

So why is it not showing up? Is there something I've done wrong with the code that I'm not catching?

(To see the code I use, check the dropdown's main page--it's in the text box. I'm not sure if it would show up if I typed it here.)

Thank you so much!

~K.A.L.
haaaave you heard the news that you're dead

Zuri
Regular Poster
Posts: 174
Joined: Fri Jan 01, 1999 4:00 pm
Location: Vancouver, BC, Canada
Contact:

Post by Zuri »

Well its hard to troubleshoot if you don't post the .js code. if it just vanishes, chances are there is something's wrong.

I'm going to take a wild stab at it, but I see one two of your members have 's in their names. If you have these in the dropdown code without putting a slash in front, it will break the javascript. To see if thats the problem, just delete the 's and reload the page. If you need to have 's I think you put a \ in front of them.

It\'s the end of the world!

for example.

try that.
~Purrs
**Zuri**
Werewolves, Vampires, and Puppet shows! <A href="http://shifters.keenspace.com"> Shifters: The Beast Within</a>
<a href="http://shifters.keenspace.com">Image</a>

User avatar
YarpsDat
Cartoon Hero
Posts: 3637
Joined: Wed Oct 30, 2002 5:28 am
Location: nowhere

Post by YarpsDat »

Well, I'm getting 404 on http://slightlyschizophrenic.keenspace. ... fispace.js

Check the directory and filename, remember it's case sensive.
And check the permissions on the file and directory they should be like -rw-r--r-- for the file, and drwxr-xr-x for the directory.
You are the Non. You must go now, and never return."

"1.Scan in high res 2.tweak with curves,levels or something to clean up the scan (or use channel mixer to remove blue pencil lines) 3.Add colour using a layer set to multiply. 4.Add wordbubbles and text as vector shapes. 5. Merge all layers. 6.resize to the web size. 7. Export/Save for Web" that's all I know about webcomicking.

User avatar
CorruptDictatorNumber2
Regular Poster
Posts: 166
Joined: Sat Jul 06, 2002 12:27 pm
Location: Chaucer's grave

Post by CorruptDictatorNumber2 »

I have fixed both things, and it still doesn't work. :cry:

I am really sad because it sounded like such good advice that it would be sure to fix the problem....

I'm going to try posting my .js code; hopefully it will show up.

function goto_URL(object) {
window.location.href = object.options[object.selectedIndex].value;
}


//IMG SRC URL should point to the absolute URL of the dropdown graphic
//The HREF tag should show where clicking on the image should take you,
//usually to a sign-up spot

document.writeln('<FORM" SIZE="500"><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR><TD align="center"><FORM><A HREF="http://slightlyschizophrenic.keenspace. ... html"><IMG SRC="http://slightlyschizophrenic.keenspace. ... ispace.jpg" border=0>');
document.writeln('<TR><TD align="center"><SELECT NAME="selectName" onChange="goto_URL(this.form.selectName)">');

//If nothing is inside the quotes, the text is not a link
//If there is a meta-character included in the name, precede the character
//with a backslach "\" to keep it from interfering with the script
//add new lines as needed, based on these

document.write('<OPTION VALUE="">We put the "space" in Keenspace<\/OPTION>');
document.write('<OPTION VALUE="">-----<\/OPTION>');

document.write('<OPTION VALUE="http://comic5d.keenspace.com/">Comic5D<\/OPTION>');
document.write('<OPTION VALUE="http://decypher.keenspace.com/">Decypher<\/OPTION>');
document.write('<OPTION VALUE="http://firebird.keenspace.com/">FireBird<\/OPTION>');
document.write('<OPTION VALUE="http://honour.keenspace.com/">Honour's Requiem<\/OPTION>');
document.write('<OPTION VALUE="http://aod.keenspace.com/index.html/">It's the End of the World!<\/OPTION>');
document.write('<OPTION VALUE="http://mindmistress.keenspace.com/">Min ... s<\/OPTION>');
document.write('<OPTION VALUE="http://isahn.keenspace.com/">Night & Day<\/OPTION>');
document.write('<OPTION VALUE="http://pinoycity.keenspace.com/">Pinoy City<\/OPTION>');
document.write('<OPTION VALUE="http://risen.keenspace.com/">Risen<\/OPTION>');
document.write('<OPTION VALUE="http://slightlyschizophrenic.keenspace.com/">Slightly Schizophrenic<\/OPTION>');
document.write('<OPTION VALUE="http://unafrontiers.keenspace.com/">UNA Frontiers<\/OPTION>');
document.write('<OPTION VALUE="http://zeera.keenspace.com/">Zeera the Space Pirate<\/OPTION>');


document.writeln('<\/SELECT><\/TD><\/TR><\/TD><\/TR><\/FORM><\/TABLE>');


~K.A.L.
haaaave you heard the news that you're dead

User avatar
YarpsDat
Cartoon Hero
Posts: 3637
Joined: Wed Oct 30, 2002 5:28 am
Location: nowhere

Post by YarpsDat »

*cough* Disable HTML in this post *cough*
and these two:
CorruptDictatorNumber2 wrote: document.write('<OPTION VALUE="http://honour.keenspace.com/">Honour[b]'[/b]s Requiem<\/OPTION>');

...

document.write('<OPTION VALUE="http://aod.keenspace.com/index.html/">It[b]'[/b]s the End of the World!<\/OPTION>');
Don't look like fixed...


Should be:

Code: Select all

document.write('<OPTION VALUE="http://honour.keenspace.com/">Honour\'s Requiem<\/OPTION>');

and

document.write('<OPTION VALUE="http://aod.keenspace.com/index.html/">It\'s the End of the World!<\/OPTION>');
and I'm still getting a 404, but it may be just the anti hotlinking.
You are the Non. You must go now, and never return."

"1.Scan in high res 2.tweak with curves,levels or something to clean up the scan (or use channel mixer to remove blue pencil lines) 3.Add colour using a layer set to multiply. 4.Add wordbubbles and text as vector shapes. 5. Merge all layers. 6.resize to the web size. 7. Export/Save for Web" that's all I know about webcomicking.

User avatar
CorruptDictatorNumber2
Regular Poster
Posts: 166
Joined: Sat Jul 06, 2002 12:27 pm
Location: Chaucer's grave

Post by CorruptDictatorNumber2 »

Whoops! I accidentally posted the uncorrected code. The corrected version *is* the one on my site, I promise. (I double-checked.)

I also get the 404 error, and I don't know why.

OH, ha ha, I see the check box now. Wow, I'm mentally challenged.

Anyhow... yeah. Still not working.
haaaave you heard the news that you're dead

Post Reply