[Xerte-dev] Re: Using Toolits in Opera

Pat Lockley patrick.lockley at googlemail.com
Fri Jun 22 10:55:47 BST 2012


What does the onmousedown call?

One of the problems in the code is that I have to define single click
and double click myself, and I recall the FF was a lot slower. I think
somewhere in the code is a block of code which says "if IE then else"
when it comes to detecting the frequency of clicks.

The alternative is that div isn't appearing correctly on the screen
(or where you would expect it to). Perhaps give the DIV a border
element so you can see where opera thinks it is?

Mark once reported it as not working in Opera (a long, long time ago)

On Fri, Jun 22, 2012 at 10:39 AM, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
> Just looking at this now.
>
> It doesn't get into this function (single_click) at all - although you can see the divs do have an onmousedown in them calling the function.
>
> Is this just something that isn't going to work in Opera.  I don't suppose it's a huge problem, I don't remember anyone ever contacting the list about it so is anyone even using Opera?  I imagine it was the first and last time I would ever have tried to use it in there anyway.
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 20 June 2012 10:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Using Toolits in Opera
>
> Then something odd must be happening
>
> in website_code/scripts/screen_display.js
>
> around line 798
>
> if(div_name != null && div_name.highlight==false)
>
> if the "should I select" JS code. I would guess maybe div_name isn't
> being set properly in opera.
>
> Just stick an alert before the if
>
> On Wed, Jun 20, 2012 at 9:53 AM, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
>> No
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> Sent: 20 June 2012 09:44
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Using Toolits in Opera
>>
>> it's whitespace that usually kills it (IE sees whitespace as nothing,
>> FF and Chrome see it as a text node)
>>
>> Any JS Errors?
>>
>> On Wed, Jun 20, 2012 at 9:41 AM, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
>>> One big block
>>>
>>> -----Original Message-----
>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>>> Sent: 20 June 2012 09:37
>>> To: For Xerte technical developers
>>> Subject: [Xerte-dev] Re: Using Toolits in Opera
>>>
>>> if in opera you do a view source on the code - in the workspace area
>>> is the HTML one big block, or is the html pretty formatted (tabs, new
>>> lines et al)
>>>
>>> On Wed, Jun 20, 2012 at 9:32 AM, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
>>>> No they don't
>>>>
>>>> -----Original Message-----
>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>>>> Sent: 20 June 2012 09:25
>>>> To: For Xerte technical developers
>>>> Subject: [Xerte-dev] Re: Using Toolits in Opera
>>>>
>>>> i think (if this counts as a distinction)
>>>>
>>>> they might be "selected" - just not "highlighted"
>>>>
>>>> I.E do the buttons enable?
>>>>
>>>> On Wed, Jun 20, 2012 at 9:20 AM, Pat Lockley
>>>> <patrick.lockley at googlemail.com> wrote:
>>>>> it hasn't worked in opera for years (since I was at Nottingham).
>>>>>
>>>>> I think the reason is because when you click on a project it needs to
>>>>> reference the parent of the item, and opera's take on parentNode isn't
>>>>> the same as the others.
>>>>>
>>>>> I would assume it throws a JS error?
>>>>>
>>>>> On Wed, Jun 20, 2012 at 8:54 AM, Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:
>>>>>> I just tried to log in to Toolkits using Opera and have found that you can't
>>>>>> select any of the projects/folders from the Workspace.  I can select the
>>>>>> Workspace folder but nothing inside it so it's pretty much unusable.  Has
>>>>>> anyone else come across this?  Any idea why?
>>>>>>
>>>>>>
>>>>>>
>>>>>> I don't usually use Opera but had it open already because of testing some of
>>>>>> the HTML5 stuff.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Fay
>>>>>>
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>>
>>>>
>>>> _______________________________________________
>>>> Xerte-dev mailing list
>>>> Xerte-dev at lists.nottingham.ac.uk
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>>>
>>>> _______________________________________________
>>>> Xerte-dev mailing list
>>>> Xerte-dev at lists.nottingham.ac.uk
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>>
>>> _______________________________________________
>>> Xerte-dev mailing list
>>> Xerte-dev at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>>
>>> _______________________________________________
>>> Xerte-dev mailing list
>>> Xerte-dev at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



More information about the Xerte-dev mailing list