Hello.

Faced a very "dumb" problem. First I wrote the site "in notepad", then I decided to pull on some kind of engine (DLE), because already worked with him. He connects styles only if they are in the style folder (he suffered for 7 hours, he accidentally understood), if he doesn’t lie in this folder, he will not connect them. Scripts only if they are in the js folder, and not always. (Pictures that are through java, the script does not connect at all (arrows, buttons). Pictures seem to connect via one.

What should I do? Maybe because of version 9.3? Or is something wrong in .htaccess? But they are everywhere. Help, please, I think the reason is very simple, but for some reason I can not find it.

Thank.

  • what nonsense ... who has any thoughts on this? - Sergey_BT
  • help! - Sergey_BT

1 answer 1

To connect pictures, write

<img src="{THEME}/img1.jpg" /> 

To connect scripts, write

 <script type="text/javascript" src="{THEME}/js/jcarousellite.js"></script> 

To connect styles, write

 <link media="screen" href="{THEME}/style/style.css" type="text/css" rel="stylesheet" /> 
  • :) I vkurse ... but alas it does not work - Sergey_BT
  • The reason lies in something else ... If the script is connected for example: <script type = "text / javascript" src = "{THEME} /js/jcarousellite.js"> </ script> And if I want to include another script for example <script type = "text / javascript" src = "{THEME} /js/jcarousellite2.js"> </ script> Then I need to insert it in the HTML code after the already connected script1 otherwise it will not read it ... KAKOITO BRED - Sergey_BT
  • This often happens to me too. ) - Wars
  • I suspect that maybe rights to folder are not set in Denver? - Sergey_BT
  • But again, the folder is local, which rights can be ... - Sergey_BT