Vinu manikandan wrote:

> Sir I restructured the program in such away that the different values 
> are provided in the same page for example
> 1)1-55,
> 2)100- 120,
> 3)130-140 and
> I want to select these regions in the Jmol with out loading the 
> protein structure again and again on the PDB Structure 1UW5.pdb one 
> by one by providing a hyperlink to each of these values.
> When I had given the simple hyperlink
> <a href="PDB.pl?s=1&e=10&pdb=1UW5.pdb">1-10</a>

Yes, if you use the hyperlink in that way you reload the page. You 
just need to send Jmol a script from within the page. 
Using a link it would be something like:
(I assume that you are using Jmol.js)

<script type="text/javascript">
jmolLink("select 1-10; color cyan; ", "1-10")
jmolLink("select 1-55; color cyan; ", "1-55")
jmolLink("select 10-120; color cyan; ", "100-120")
</script>

The first argument is the script, teh second is the text displayed as 
hyperlink (may be anything you want).
The "color cyan" is just an example of a way to act on the selected 
residues. Dots or halos are other good choices for highlighting.

You can also use buttons or a drop-down menu instead of the hyperlink 
--just cosmetic, it depends on which look you prefer; it will work 
the same.

> Sir, can you provide me an alternative way such that the Loading of 
> the Protein happens a single time and mapping can be done multiple 
> times.

See above


> Sir,I am using the new Mozilla Fire fox 3.0.2 and the Java jre6. I 
> had checked this with other Browsers such as IE6, Safari and New 
> Google Browser Chrome.

Good, the purpose of my question was whether you are also 
experiencing crahses with the other browsers (in which case the 
problem may be in the page code) or only in Firefox (then it's a 
browser-specific problem).



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to