On 07/04/2014 07:18 AM, James Kerwin wrote:
Hello again,
Apologies for the delay. I shut my laptop in frustration for the night
yesterday.
Here is a chunk of the code:
my $html2 = '/Results.tar.gz">
<div style="text-align: center;"><button type="submit">Download
Files</button></div>
<p style="text-align: center;">Click the button below to View your
alignment in JBrowse Viewer</p>
<input type="button" value="Open Window"
onclick="window.open(\'bioinf6.bioc.le.ac.uk/~srpgrp3/JBrowse-1.11.4/index.html?data=http://bioinf6.bioc.le.ac.uk/~srpgrp3/UserFiles
<http://bioinf6.bioc.le.ac.uk/~srpgrp3/JBrowse-1.11.4/index.html?data=http://bioinf6.bioc.le.ac.uk/~srpgrp3/UserFiles>';
my $html4 =
'/data&tracks=DNA,transcript_with_no_features,Genes&highlight=\')
</body>
</html>';
print $html1;
print $directory;
print $html3;
print $directory;
print $html2;
print $directory;
print $html4;
Another person in my group had a look at it today and let me know that I
hadn't closed the button THING with a ">". Apparently with that it's
able to handle the single quotation marks.
regardless of the html error you must do a better job with your strings.
don't use single quotes when you have single quotes in the string. use a
here document (someone posted that for you) or an alternate delimiter
(another post showed that). that way you don't need to escape your
internal quote chars and you can see the text better and find any
missing angles and such.
also you can print all those in one print call. just pass the variables
in a list to print. no need to print one at a time.
uri
--
Uri Guttman - The Perl Hunter
The Best Perl Jobs, The Best Perl Hackers
http://PerlHunter.com
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/