Welcome Guest, Not a member yet? Register   Sign In
where to put javascript
#6

[eluser]wr5aw[/eluser]
[quote author="Bramme" date="1225493203"]I can't believe how many people have problems understanding this. This must've come up a 1000 times allready.[/quote]
Here's a reply that actually has value:

When using Php, relative file names in html (those without a full url), such as css and javascript are relative to the location of your index.php file. Suppose your index.php in is /myfolder/. Then if you want 'js/myjs.js' in your html, myjs.js needs to be in /myfolder/js/.

Took about 30 seconds to respond. Didn't feel a thing. :coolhmm:


Messages In This Thread
where to put javascript - by El Forum - 10-31-2008, 01:16 AM
where to put javascript - by El Forum - 10-31-2008, 01:58 AM
where to put javascript - by El Forum - 10-31-2008, 02:10 AM
where to put javascript - by El Forum - 10-31-2008, 11:33 AM
where to put javascript - by El Forum - 10-31-2008, 11:46 AM
where to put javascript - by El Forum - 10-31-2008, 12:17 PM
where to put javascript - by El Forum - 10-31-2008, 02:02 PM
where to put javascript - by El Forum - 10-31-2008, 04:53 PM
where to put javascript - by El Forum - 11-02-2008, 09:20 PM
where to put javascript - by El Forum - 11-02-2008, 09:35 PM
where to put javascript - by El Forum - 11-02-2008, 09:40 PM
where to put javascript - by El Forum - 11-02-2008, 09:49 PM
where to put javascript - by El Forum - 11-02-2008, 10:00 PM
where to put javascript - by El Forum - 11-02-2008, 10:05 PM
where to put javascript - by El Forum - 11-18-2008, 01:46 AM
where to put javascript - by El Forum - 11-18-2008, 01:54 AM
where to put javascript - by El Forum - 11-18-2008, 01:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB