kfinchsigmate
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: IE freezes for 30 secondsUPDATE: It was some crap installed in IE that was doing it. It had nothing to do with WordPress. All apologies.
Forum: Fixing WordPress
In reply to: Can’t run Java script in PostOH!
Duh
forgot the <!– … //–> between my script.Forum: Fixing WordPress
In reply to: Can’t run Java script in PostAlright… I can get the script to work if I do this:
<script src=”https://stud4.tuwien.ac.at/%7Ee0425252/blog/jmol/Jmol1.js” type=”text/javascript”></script>
<div style=”border:1px solid grey;”>
<script type=”text/javascript” src=”https://stud4.tuwien.ac.at/%7Ee0425252/blog/morphin/morphin.js”></script>
</div>morphin.js is just the following:
jmolInitialize(” https://stud4.tuwien.ac.at/~e0425252/blog/jmol”);
jmolApplet(400, “load https://stud4.tuwien.ac.at/~e0425252/blog/morphin/Morphin-AM1.mol”);so it should make sense that I should be able to replace the “script src=”https://stud4.tuwien.ac.at/%7Ee0425252/blog/morphin/morphin.js”>
with just the verbage from the script, since it’s just a simple two line java script… which would look like this:<script src=”https://stud4.tuwien.ac.at/%7Ee0425252/blog/jmol/Jmol1.js” type=”text/javascript”></script>
<div style=”border:1px solid grey;”>
<script type=”text/javascript”>
jmolInitialize(” https://stud4.tuwien.ac.at/~e0425252/blog/jmol”);
jmolApplet(400, “load https://stud4.tuwien.ac.at/~e0425252/blog/morphin/Morphin-AM1.mol”); </script>
</div>but that doesn’t work – i get nothing. So, the question is, why doesn’t wordpress run the script i have in the HTML?
Forum: Fixing WordPress
In reply to: Can’t run Java script in PostWell, I’ve tried to screw with the paths in multiple ways… I’ve changed it so that it was “https://www.thechemblog.com/jmol/Jmol.js” I’ve change it to “../../jmol/Jmol.js”
It just doesn’t seem to work. I have it like this now (which doesn’t seem to work):
<script type=”text/javascript” src=”/jmol/Jmol.js”>
<script type=”text/javascript”>
jmolInitialize(“/jmol”);
jmolApplet(200, “load ethane.mol”);
</script>Are there any simple javascripts I can try out to see if I can get those to work?
Forum: Fixing WordPress
In reply to: Can’t run Java script in PostThat’s actually the page I used, but couldn’t find out what I was doing wrong from it. It seems like my code is just fine…