The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How do I add a dynamic link to theme with Javascript (1 post)

  1. matius
    Posted 5 years ago #

    function OpenSoundFrame (){
    	top.location.href = "http://localhost/mysite/wp-content/themes/mytheme/sound_frame/"+framecolor+"/FRAME_"+soundloc+"_"+soundframe+".htm" + "?" + window.location.href;

    That is: http://localhost/mysite/wp-content/themes/mytheme > how do make this dynamic so I can use the code in other sites.

    Thanks for any help-

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.