Zaloguj | Zarejestruj | FAQ
Anonymous

external links aren't working

+ Odpowiedz

Posty: 4 Strona 1 z 1


external links aren't working

przez Jono » So maja 11, 2013 7:34 pm

I'm trying to create a site designer with a gui, but I cannot seem to get my external javascript working. I cannot use head tags, which of course is a big problem, is there any other way I can do this?
Avatar użytkownika

Jono

  • Posty: 45
  • Dołączył(a): Śr paź 24, 2012 1:10 pm

Re: external links aren't working

przez XainPro » Pn maja 13, 2013 10:45 am

maybe you are doing it wrong head tag is not necessary to include a external JavaScript
Kod: Zaznacz cały
<script src="scriptFileName.js"> </script>
Avatar użytkownika

XainPro

  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm

Re: external links aren't working

przez Jono » Pn maja 13, 2013 3:15 pm

That's how I did it, maybe there is a format you should follow in an external javascript source?
Avatar użytkownika

Jono

  • Posty: 45
  • Dołączył(a): Śr paź 24, 2012 1:10 pm

Re: external links aren't working

przez XainPro » Śr maja 15, 2013 7:44 am

no it should be like normal javascript could you show your code to know how you are doing this ?
maybe there should be a syntax error in your javascript because javascript stop working if there is a syntax error in it have you check from developer tool bar.
Avatar użytkownika

XainPro

  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm


+ Odpowiedz

Strona 1 z 1