[Xerte-dev] Re: selecting embed code in the project details panel

Pat Lockley (Pgogy) info at pgogywebstuff.com
Tue Jul 28 15:18:45 BST 2015


line 42

https://github.com/thexerteproject/xerteonlinetoolkits/blob/develop/website_code/scripts/screen_display.js

On 2015-07-28 10:17, Smith, John wrote:
> Not sure either but I can't see any problem with that line removed...
> All it does is prevent you being able to select any of the text on the
> site (or at least it should), mainly to stop you selecting the text
> within buttons if you move while clicking I suspect...
> 
> You could try leaving it in, and adding this in the css
> 
> .makeselectable {
>   -moz-user-select: text;
>   -webkit-user-select: text;
>   -ms-user-select: text;
> }
> 
> or
> 
> .makeselectable {
>   -moz-user-select: all;
>   -webkit-user-select: all;
>   -ms-user-select: all;
> }
> 
> and then add class="makeselectable" to the textarea that the embed
> code sits in (that line I sent you before)...
> 
> John Smith
> Learning Technologist | School of Health & Life Sciences
> 
> T: +44 (0)141 331 3989 | E: J.J.Smith at gcu.ac.uk
> Glasgow Caledonian University, Cowcaddens Road, Glasgow, G4 0BA,
> Scotland, United Kingdom
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> [ronm at mitchellmedia.co.uk]
> Sent: 28 July 2015 14:56
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: selecting embed code in the project details 
> panel
> 
> actually 4! :-(
> 
> I just added the onselectstart="return false;" back in because it 
> looked
> like it was preventing creation of decision templates. Having tested 
> again I
> removed it again because I can now create decision projects with that
> removed but there's something intermittant and I'm not sure what Pat's 
> reply
> means e.g.
> 
> "there is a selection block code in the main html, suspect it hangs 
> around
> if the JS Include has been copied over"
> 
> 
> 
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, 
> John
> Sent: 28 July 2015 14:40
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: selecting embed code in the project details 
> panel
> 
> Well that's 3 different situations now... lol...
> 
> My bad, i've solved the mystery. My first image had a space in the
> filename... when I rename it with no space it is included and with a 
> space
> it is omitted...
> 
> I'm bored at the presentation but my boss is here so now she things i'm
> working hard and networking ;-)
> 
> John Smith
> Learning Technologist | School of Health & Life Sciences
> 
> T: +44 (0)141 331 3989 | E: J.J.Smith at gcu.ac.uk Glasgow Caledonian
> University, Cowcaddens Road, Glasgow, G4 0BA, Scotland, United Kingdom
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> [Julian.Tenney at nottingham.ac.uk]
> Sent: 28 July 2015 14:07
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: selecting embed code in the project details 
> panel
> 
> I may not know what I'm doing but if I create a decision tree project, 
> add
> an information step and add an image through the text editor, I see no 
> image
> on preview. I don't know the template very well though so I might be 
> doing
> something daft.
> 
> 
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron 
> Mitchell
> Sent: 28 July 2015 14:00
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] Re: selecting embed code in the project details 
> panel
> 
> Tom and John have both replied via github - removed and committed.
> 
> Can you reproduce issue #361?
> https://github.com/thexerteproject/xerteonlinetoolkits/issues/361
> 
> I can't but may be misunderstanding the steps John describes.
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nott
> ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On 
> Behalf Of
> Julian Tenney
> Sent: 28 July 2015 13:52
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: selecting embed code in the project details 
> panel
> 
> Can reproduce it here as well. I don't see why removing the return 
> false
> should cause an issue - but I didn't put it there to begin with,  so 
> also
> suspect that it does serve some purpose. If you remove it it still 
> works
> fine in the other browsers? I'd say go for it, I don't think it can 
> affect
> anything else,
> 
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nott
> ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On 
> Behalf Of
> Ron Mitchell
> Sent: 28 July 2015 13:15
> To: 'For Xerte technical developers'
> Subject: [Xerte-dev] selecting embed code in the project details panel
> 
> Hi
> I added this as an issue on github this morning
> https://github.com/thexerteproject/xerteonlinetoolkits/issues/362
> In IE10 and 11 the embed code box in the project details pane doesn't 
> allow
> selection either by single click or by click and drag or by right click
> select all. So the embed code can't be selected from that panel at the
> moment.
> In Chrome I can click and drag to select the embed code and then copy 
> it so
> that works but right click select all doesn't.
> In Firefox, initial single click, drag to select all and right click 
> select
> all - all these methods work.
> 
> With a bit of searching and John's pointer too it seems this is down to 
> body
> onselectstart="return false;" in index.php
> 
> Does that serve a useful/important purpose? Is there a way to reverse 
> that
> just for the embed code textarea or iframe?
> 
> As far as I can tell removing that from index.php doesn't prevent 
> anything
> else from working but it must have been there for a reason? Perhaps it 
> dates
> back to the older workspace prior to the tree view?
> 
> Cheers
> Ron
> 
> 
> 
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee
> 
> and may contain confidential information. If you have received this
> 
> message in error, please send it back to me, and immediately delete it.
> 
> 
> 
> Please do not use, copy or disclose the information contained in this
> 
> message or in any attachment.  Any views or opinions expressed by the
> 
> author of this email do not necessarily reflect the views of the
> 
> University of Nottingham.
> 
> 
> 
> This message has been checked for viruses but the contents of an
> 
> attachment may still contain software viruses which could damage your
> 
> computer system, you are advised to perform your own checks. Email
> 
> communications with the University of Nottingham may be monitored as
> 
> permitted by UK legislation.
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee 
> and
> may contain confidential information. If you have received this message 
> in
> error, please send it back to me, and immediately delete it.
> 
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the 
> author
> of this email do not necessarily reflect the views of the University of
> Nottingham.
> 
> This message has been checked for viruses but the contents of an 
> attachment
> may still contain software viruses which could damage your computer 
> system,
> you are advised to perform your own checks. Email communications with 
> the
> University of Nottingham may be monitored as permitted by UK 
> legislation.
> 
> 
> 
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee 
> and
> may contain confidential information. If you have received this message 
> in
> error, please send it back to me, and immediately delete it.
> 
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the 
> author
> of this email do not necessarily reflect the views of the University of
> Nottingham.
> 
> This message has been checked for viruses but the contents of an 
> attachment
> may still contain software viruses which could damage your computer 
> system,
> you are advised to perform your own checks. Email communications with 
> the
> University of Nottingham may be monitored as permitted by UK 
> legislation.
> 
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
> 
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
> 
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.
> 
> Glasgow Caledonian University is a registered Scottish charity, number 
> SC021474
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> 
> 
> 
> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
> 
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
> 
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage your
> computer system, you are advised to perform your own checks. Email
> communications with the University of Nottingham may be monitored as
> permitted by UK legislation.

-- 
Pgogy Webstuff
pgogywebstuff.com



More information about the Xerte-dev mailing list