Go Back   Internet Business Forums > General

Reply
 
Thread Tools Display Modes
Old 29-04-2004, 01:46 AM   #1 (permalink)
Senior Member
 
Join Date: Apr 2004
Posts: 175
Send a message via AIM to iAmGen3ric
Default Need some quick help...

Well I'm not sure where I went wrong, i've been looking staring at my source for a while and can't figure it out:

http://www.ouranthem.com/new/main.html

The icons on the right, when you click the last one (the little mouse) it is supposed to bring up a layer with links like the quick contact layer but I can't get it to work! Maybe someone will see something I'm missing...
iAmGen3ric is offline   Reply With Quote
Old 30-04-2004, 12:59 AM   #2 (permalink)
Member
 
Join Date: Mar 2004
Posts: 59
Send a message via ICQ to tyrsal Send a message via AIM to tyrsal
Default

did you code that javascript? cause it's hella hard to read!! Clean it up a bit, you'll probably find your error.

If you know anythign about coding... you'll know that in the function you have to set your arguments. If you'll notice, in your javascript function showHideLayers you never set any functions. My bet would be, thats where your problem is.

I dont code jscript much, or know much about it, but I do know enough about coding in general to say that the problem is probably with the name of the layer. It's not dynamic, and therefore is only keyed to work with the first one set... the contact, in this case.

hope that helped
tyrsal is offline   Reply With Quote
Old 30-04-2004, 02:34 AM   #3 (permalink)
Senior Member
 
Join Date: Apr 2004
Posts: 175
Send a message via AIM to iAmGen3ric
Default

Well the code is a from some dreamweaver extensions i've found around the web and then other code i had from various experiments, everything is thrown together at the moment as this is just another experiment, but the problem is it works for every other layer, it's just that one... I'll keep looking around see what I can find

And the code is nice and clean for me, all the formatting is to standard, sure you don't have word wrap on when you view the source?
iAmGen3ric is offline   Reply With Quote
Old 30-04-2004, 11:02 PM   #4 (permalink)
Member
 
Join Date: Mar 2004
Posts: 59
Send a message via ICQ to tyrsal Send a message via AIM to tyrsal
Default

No, the coding isnt clean.. Clean means easy to read, spaced out, thoroughly commented, etc.

That code there is jumbled and packed together.

for example, put spaces between operators, between functions, things like that.

If it was a dreamweaver code you threw in there.. well good luck to ya. From personal experience, i've found that anything dreamweaver codes is shit. It's all ugly and non-standard syntax-wise.

Good luck, hope ya figure it out.
tyrsal is offline   Reply With Quote
Old 02-05-2004, 02:17 PM   #5 (permalink)
Junior Member
 
Join Date: Apr 2004
Posts: 17
Send a message via AIM to malachi
Default

i think its the javascript. i used to know it fluently.... last night... morning after i forgot it all.
malachi is offline   Reply With Quote
Old 02-05-2004, 09:21 PM   #6 (permalink)
Senior Member
 
Join Date: Apr 2004
Posts: 175
Send a message via AIM to iAmGen3ric
Default

Nope had nothing to do with the javascript, the javascript all works fine. I had mispelled the layer id, I knew it was something stupid like that, where the longer you stare the harder it is to notice it.
iAmGen3ric is offline   Reply With Quote
Old 02-05-2004, 09:45 PM   #7 (permalink)
Member
 
Join Date: Mar 2004
Posts: 59
Send a message via ICQ to tyrsal Send a message via AIM to tyrsal
Default

hahahahhahahhaha. god i know how that feels. gla du figured it out tho
tyrsal is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 11:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.