Preserved Topic: tool, not the sharpest in the box (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: westernesse |
posted 08-23-2001 23:48
hi, i've gone and made another stupid error somewhere with my cheeky cut n paste antics. http://www.coleman.u-net.com everything would appear fine and dandy however, when you turn on the tooltips it looses the ability to move windows. im fairly sure its because i have so many different scripts which i haven't written myself and so i can't find the problem, the windows script only locks up when you click on the popup link i put in. that should be in the onload tag in the body. |
Neurotic (0) Inmate Newly admitted |
posted 08-24-2001 00:08
good going, my rule is only cut-and-paste with you allready know the code, kinda of a save time thing. I try to look at sites at learn from them and figure out how to do them. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 08-24-2001 00:40
Well... you may want to check variable names. |
Paranoid (IV) Inmate From: westernesse |
posted 08-24-2001 01:01
warmage why is your message formatted like that? i don't get it . |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 08-24-2001 01:29
Hate to say it, but this is one of the reasons I still use Netscape (other than IE sucking for the Mac). Netscape 4.x and Netscape 6.x/Mozilla have really nice Javascript consoles which display all the oerrors, and the line numbers they occured on, really useful, eh? In NS4.x, type "Javascript:" in the address bar, and in Mozilla it's under maybe "Tasks -> Tools -> Javascript Console"? Look around, it's there. Good luck to you, and welcome to my life, hah! (The mystic quest for the semicolon... =) |
Paranoid (IV) Inmate From: westernesse |
posted 08-24-2001 11:40
weell the bit which buggers things up is: |
Neurotic (0) Inmate Newly admitted |
posted 08-24-2001 17:17
ok i might be totally wrong on this one, but on the last bit of code you have onload= popupInit; I think you need to remove that and stick it in the <body> tag, Like you would preload a picture or what not. you have multiple scripts on the page that won't work together. example: you have onload=do this.and onload=dothat, they can't do both unless they look something like this <Body onload="popupInit"> to add more functions in the same onload, seperate them by semicolns and put them inside the quotes. |
Maniac (V) Mad Scientist From: New California |
posted 08-24-2001 22:53
I'm not sure what popupInit() is supposed to be doing but the two lines that are breaking your dragable windows are: |
Paranoid (IV) Inmate From: westernesse |
posted 08-26-2001 14:17
coool, cheers bugimus. I don't need that bit at all. I think this counts as Cargo Cult programming, its there because i thought i might need it for something but i don't know what and i wasn't sure what it did. Another case closed for the DHTML experts, your work here is done. |