Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

major scripting help

Status
Not open for further replies.

cruiser18

Technical User
Jan 29, 2001
3
US
cruiser18 (TechnicalUser) Jan 29, 2001
Hello

I'm new to java and dhtml and need some major help.

I'm trying to load two scripts on one page and only one works. I read a tutorial about how to fix this, but I still can't get it right. Something to do with the event handling.
I am supposed to put something like this on my page:
<body onload=&quot;dothis();dothat()&quot;>

I did this but I still only get the fireworks to work.

The two scripts that I am using are:
and:
I may put some more scripts on this page later on, but this will do for right now.

I would greatly appreciate any help I could get as quick as possible.

Thanks

***********************************************
jaredn (Programmer) Jan 29, 2001
you shouldn't need to use an onload event for either fo those scripts. I placed them both on a page and they worked; though the pulsating text is acting jumpy, but I think that's a resource problem or soemthing...
jared@aauser.com


************************************************
cruiser18 (TechnicalUser) Jan 29, 2001
Well when I put them both on the same page the pulsating text doesn't work right and the green around the text just sits there and doesn't pulsate.

When I have the pulsating text script as the only script on the page it pulsates around the text.

Thats my problem.
Below is a link to how the pulsating text works alone, but it won't work if I put both scripts on the same page.
What am I doin wrong???

 
So the one you call works, and the other one does not, is that right - but no error is reported? It's like they are using some common function - like when you have a slide function and you call it on one element, before a previous has finshed using it - the first one stops. Is it this kind of problem?

Juts having a loose look at the fireworks code though - it uses document.write()s - which will overwrite anything else written to the page before it. Sorry I can't really help at the moment, if jaredn had no success, I doubt I will!

-Ben &quot;Alright whatever man, I'll hook up the hair, but I aint touchin the ring...Cause I'm still a pla--yer&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top