Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » javascript not working
Re: javascript not working [message #929 is a reply to message #926] Mon, 09 July 2007 17:35 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
The path through that code is governed by the value of the 'type' attribute in the XML file, which can either be 'file' or 'code'. This in turn is governed by the PHP code which was used to generate those XML entries. In this case the PHP code in question is found in file x_person_s02.class.inc in the _cm_setJavaScript() method, with the lines beginning
$javascript['head'][]['code'] = 'whatever';

or
$javascript['head'][]['file'] = 'whatever';

I have tried swapping the values 'code' and 'file', but I cannot reproduce the problem you describe.

This does not explain the fact that the original unaltered code works on both my home PCs and my website, but only misbehaves on your PC. This points to some sort of problem on your PC, but I am at a loss to explain what exactly.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: refreshing
Next Topic: Update 4
Goto Forum:
  


Current Time: Wed Nov 27 15:02:33 EST 2024

Total time taken to generate the page: 0.01078 seconds