Hi J-molers,
I am trying to add 3 sliders to my page so that the user can change the center
of the boundbox by dragging each slider bars. From the wiki, I found Angel's
slider example page: http://biomodel.uah.es/Jmol/sliders/
I followed the instructions to use Web-FX slider implemented by Erik Arvidsson
and integrated into jmol by Angel. At this stage I have only merely added the
sliders, they don't interact with my Jmol applet just yet. However, whenever I
click on the slider panel, the Jmol applet panel will disappear, and it will
come back if I click on the empty space where the applet should be. Weirdness?!
Has anybody else had similar experience? Thank you for your help.
This is how I set it up:
---
<html>
<head>
<script src="./jmol-11.5.39/Jmol.js"></script>
<script src="slider/js/range.js"></script>
<script src="slider/js/timer.js"></script>
<script src="slider/js/slider.js"></script>
<link type="text/css" rel="StyleSheet"
href="slider/css/bluecurve/bluecurve.css">
</head>
<body >
<div tabindex="1" class="slider" id="x_slider" style="width: 150px;">
<input class="slider-input" id="x_slider-input" name="x_slider-input"></div>
<script type="text/javascript">
var sliderX = new Slider(document.getElementById("x_slider"),
document.getElementById("x_slider-input"), "horizontal");
</script>
<script type="text/javascript">jmolInitialize("./jmol-11.5.39/",
"JmolAppletSigned.jar");jmolSetCallback("messageCallback",
"messageCallback");jmolApplet([600, 400]);</script>
</body>
---
-Rob
_________________________________________________________________
Find hidden words, unscramble celebrity names, or try the ultimate crossword
puzzle with Live Search Games. Play now!
http://g.msn.ca/ca55/212-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users