• Resolved atomgt4

    (@atomgt4)


    I need to load a lot of script files on a page called Your Options and on all its children, this was supposed to do the trick but it didn’t. Tell me what i’m doing wrong?

    <?php
    
    		if ( is_page('your-options') || $post->post_parent == '360' ) {
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/yahoo-dom-event.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/connection-min.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/datasource-min.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/json-min.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/container-min.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/autocomplete-min.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/_select.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/xrates.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/networth.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/selector.js"></script>
    		    <script language="javascript" type="text/javascript" src="https://ariseglobal.ca/assessment/scripts/independent.js"></script>
    
    		} else { 
    
    		}			
    
    		?>

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Javascript in Individual pages’ is closed to new replies.