You need to chance the second to <script type="text/javascript" src="./painter/htmlgui/controls.js"></script>.

There might be some collissions in the two scripts, such as them using the same variable names.

Mena
—
2011-10-08T09:56:53Z —
#3

it's not working

C_Ankerstjerne
—
2011-10-08T10:40:19Z —
#4

And you checked both scripts against collisions?

Mena
—
2011-10-10T04:07:37Z —
#5

How to check it?

ulricht609
—
2011-10-10T06:20:34Z —
#6

How to check it?

notepad comes to mind

C_Ankerstjerne
—
2011-10-10T08:12:50Z —
#7

If you don't know how to check your scripts for variable name collisions, then you should seriously reconsider using Javascript before you've learned more about the language.

felgall
—
2011-10-10T18:05:17Z —
#8

There's a simple way to check for collisions.

Temporarily remove one script and see if the other works. If it does then put the second script back and temporarily remove the first. If that also works then there is a collision between the two scripts that needs to be fixed in order to use them both on the same page.

Mena
—
2011-10-11T05:16:51Z —
#9

I checked like that only..If i include both script it's not working .

felgall said:

There's a simple way to check for collisions.

Temporarily remove one script and see if the other works. If it does then put the second script back and temporarily remove the first. If that also works then there is a collision between the two scripts that needs to be fixed in order to use them both on the same page.

Mena
—
2011-10-11T05:58:36Z —
#10

problem solved ..there was an error in one script.Just now i solved it.thank you friend for your response...