if your js directory is in the same location as the notebook try:
src="files/js/three.js"
cheers,
satra
On Tue, Jun 4, 2013 at 2:26 PM, TARUN GABA <tarun.gaba7@gmail.com> wrote:
> Hi,
>> Again for the same project, I have been working on,
> I need to include three.js and a few other javascript libraries for it to
> work.
> I am trying to include these js using ...
>> HTML("'""<script src="full path to/three.js"></script>""")
>> At the developers console of my browser I am getting a 503 (service
> unavailable error)
>> I also tried using ..
>> HTML("""<script src="js/three.js"></script>""")
>> But got a 404( not found) at developer console.
>> Any suggestions on how to efficiently include the js in ipython notebooks
>> P.S. : I would prefer js files residing in my repo, rather than ipython
> configuration directory(alongwith custom.js)
>> Thanks
>> _______________________________________________
> IPython-dev mailing list
>IPython-dev@scipy.org>http://mail.scipy.org/mailman/listinfo/ipython-dev>>-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130604/2dea886f/attachment-0001.html