Raised This Month: $ Target: $400
 0% 

(javascript) Sliding Menu problems


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
commonbullet
Veteran Member
Join Date: Oct 2005
Old 02-14-2007 , 23:01   Re: (javascript) Sliding Menu problems
#1

(I think it's off-topic anyway)

That's an old (javascript 1.2) poor code:

- You would make it clearer and easier to maintain by writing that layer (div) explicitly in html rather than using document.write inside body.
- You don't need to provide netscape navigator 4 support - nobody uses that version
- Nobody uses ie4 as well, "getElementById" has been implemented in ie since version 5.0 so you don't need all those twists with document.all
- It seems to support nn6?, and it doesn't work in firefox.

If you want a fast fix to that crap so it will at least work on ie;
declare pullit variable in the beginning of the script:
Code:
var pullit;
change this line
Code:
window.onload=regenerate2
to
Code:
window.onload=draw

Last edited by commonbullet; 02-15-2007 at 00:31.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Closed Thread



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

Forum Jump


All times are GMT -4. The time now is 00:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode