Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GS functions inside a js file?
#2
It would probably be better to define a js variable in your theme head.

<script>...

var theme_root = '<?php get_theme_url(); ?>';

</script>
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
GS functions inside a js file? - by kennylovesyou - 2013-03-13, 08:52:44
RE: GS functions inside a js file? - by shawn_a - 2013-03-13, 10:30:35



Users browsing this thread: 1 Guest(s)