How to load html file with javascript css from theme dir into sidebar widget?
-
Hi !
I would like to load a html file with javascript and css file into sidebar widget.
There are 3 files,namely:
sliderscript.js
sliderstyle.css
sliderimage.htm (above 2 files are referenced on <head> section)I uploaded these 3 files into my current theme directory.
I have tried pasting the code from html file into the sidebar widget using Text widget.
The images show up as they are hosted on dropbox.
The javascipt code is not loading for some reason.
I would like to get help on how to set this up?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to load html file with javascript css from theme dir into sidebar widget?’ is closed to new replies.