Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi everybody, i wonder if there is a posibility to get a bit nicer "Your Browser is not compatible" Message in Copperlicht. I found the part of the copperlicht.js which outputs the message, but i have no idea how to get some HTML or image data to be displayed. maybe there is someone who knows an easy way to do this? |
||||
|
Of course, that's no problem, see for example how it is done in the quake map example here: http://www.ambiera.at/copperlich... The code looks about like this: var engine = new CL3D.CopperLicht('3darea'); |
||||
|
Thanks for your relply! My problem is - i am building a WebGL via Coppercube, so i just have the compressed file and no javascript code of the szene. I tried to delete the part that prints the Coppercube-build-in Error message and include the script in my html as it is used in the Q3d Szene, bur i couldn't get it working... perhaps i'll just have to play around a bit more. |
||||
|
It should work just as in the example. You now only need to manually load the Coppercube file, use this (see the last line):
Obviously, also replace yourFileNa,e.ccbjs with the name of your project. |
|