Java in skins

Nabeel, you and I talked about this a while back.  I am trying to release 3 more skins, but it seems the java I am trying to use never wants to work in PHPVMS, is there a reason why?

What’s the code?

If you are using it within the document( wrapping it in script tags) then there shouldn’t be a problem. If you are using an external file with your java script insure that you are correctly linking to the path of the file.

What are you trying to do? I have after many painful hours got java script to run in a skin, but you have to wrap it in script tags i.e

<script type=“text/javascript” src=“<?php echo SITE_URL ?>/lib/skins/nexiss/Buttons_files/cbjscbButtons.js”></script>

And check the paths very carefully that was my biggest problem, especially any paths within the Javascript itself i.e. to any images etc.

hope this helps

Karl

Yeah, I have done all that, no go…Not sure what is wrong.

Must be the javascript then

I have the original index.html in the skin folder, it works…

Post the code, can’t really tell without knowing the code