The WPG2 Page has the following html output for the dtree javasript
<script type="text/javascript" src="/gallery2/modules/albumselect/dtree.js"></script>
When it should read
<script language="javascript" type="text/javascript" src="/gallery2/modules/albumselect/dtree.js"></script>
Note the lack of language attribute in the first piece of code.
This causes the Dtree not to work on the WPG2 page.
Can i correct this myself in a template somewhere?
I am using WPG2 v3.02 and Wordpress 2.3.3 with the default theme.
Posts: 1378
Hiya thehooligan
This is defined on line 494 in wpg2functions.inc and the code is correctly defined.. (See below)
echo '<script language="javascript" type="text/javascript" src="'.get_bloginfo('wpurl').'/wp-content/plugins/wpg2/js/dtree.js"></script>'."\n";
Not sure why your code/output would be different to this..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo
Posts: 52
In any case, the language attribute is deprecated in HTML4, no? Why would you need it?