revlet div position inquiry

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gpearson
Posts: 84
Joined: Wed Feb 03, 2010 12:55 pm

revlet div position inquiry

Post by gpearson » Mon Mar 22, 2010 1:19 pm

Now that I have updated our website with a revlet for local weather information, what are some methods to make sure the revlet is on the background layer so that a menu would be on the forground. A sample of what I have done can be viewed at http://www.niesc.k12.in.us . When you hover over the Coop Purchasing, this menu gets put behind the revlet <div> tag even through the revlet div tag has a Z-Index="1" and the menu <div> tag has a Z-Index="2" which from my reading on these tags, the higher the number the more infront of other layers it will become.

Any ideas on this?
---
Graham Pearson
Goshen, IN USA

We Are Closed Today is your single internet resource for Indiana Area School Closings, Visit http://www.weareclosedtoday.com

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: revlet div position inquiry

Post by Mark » Tue Mar 23, 2010 9:32 am

gpearson,

There's nothing you can do about this, because the RevLet is a window placed on top of the browser window. You might report this as a bug and hope that it gets fixed.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: revlet div position inquiry

Post by sturgis » Tue Mar 23, 2010 2:23 pm

Works correctly for me. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

Same with the most recent safari, works fine.

gpearson
Posts: 84
Joined: Wed Feb 03, 2010 12:55 pm

Re: revlet div position inquiry

Post by gpearson » Mon Mar 29, 2010 1:56 pm

sturgis wrote:Works correctly for me. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

Same with the most recent safari, works fine.
When I saw this come in I thought to myself that I might have been doing something wrong so I loaded up Firefox, Safari and Chrome onto this development laptop where I am creating my application on, and upon viewing the link provided, I still get the same result as with IE. I have a temporary fix for this and that is moving the revlet down on the page below the menu bar so that when the menu is expanded it does not touch the revlet.
---
Graham Pearson
Goshen, IN USA

We Are Closed Today is your single internet resource for Indiana Area School Closings, Visit http://www.weareclosedtoday.com

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: revlet div position inquiry

Post by sturgis » Mon Mar 29, 2010 4:29 pm

Weird. Checked it again just now, the menu in question still works for me, so i'd be curious to know what the difference is. I've attached a png of the working menu on the off chance i'm misunderstanding what is going on.

For me, the menu correctly overlays the edge of the weather div including covering some of the applet text itself.
Attachments
Screen shot 2010-03-29 at 9.18.26 AM.png
The open menu
Screen shot 2010-03-29 at 9.18.26 AM.png (81.14 KiB) Viewed 8267 times

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: revlet div position inquiry

Post by wsamples » Mon Mar 29, 2010 5:30 pm

It also displays correctly in Opera 10.10, with the menu dropping down over the revlet. However, on my machine, my newsreader, which uses WebKit for html display and iCab a WebKit based browser for OS X, the menu is displayed over the revlet as you want but the navbar wraps, due to font-size preferences, I suppose, and this completely disrupts your column layout. Perhaps there are some other css issues to look at along with this.
Attachments
newsreader.jpg
newsreader.jpg (98.25 KiB) Viewed 8256 times
iCab.jpg
iCab.jpg (60.52 KiB) Viewed 8256 times
Opera.jpg
Opera.jpg (25.15 KiB) Viewed 8256 times

gpearson
Posts: 84
Joined: Wed Feb 03, 2010 12:55 pm

Re: revlet div position inquiry

Post by gpearson » Mon Mar 29, 2010 5:34 pm

wsamples wrote:It also displays correctly in Opera 10.10, with the menu dropping down over the revlet. However, on my machine, my newsreader, which uses WebKit for html display and iCab a WebKit based browser for OS X, the menu is displayed over the revlet as you want but the navbar wraps, due to font-size preferences, I suppose, and this completely disrupts your column layout. Perhaps there are some other css issues to look at along with this.
Well now that is very interesting as I do belive you. I have attached a copy of what it does on all of my computers here in the office and at home. I do not have OS X to try that so this result is from a Windows Platform.
SampleImage.png
SampleImage.png (113.3 KiB) Viewed 8255 times
---
Graham Pearson
Goshen, IN USA

We Are Closed Today is your single internet resource for Indiana Area School Closings, Visit http://www.weareclosedtoday.com

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: revlet div position inquiry

Post by sturgis » Mon Mar 29, 2010 6:16 pm

Ah well. The plugin is still considered alpha after all (correct me if I'm mistaken), I'm sure the next incarnation will fix a whole bunch of the oddities in its behavior.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: revlet div position inquiry

Post by mwieder » Mon Mar 29, 2010 8:50 pm

I can verify here that it works properly on OSX and overlays on XP. I'd write this up as a bug for the Windows build of the plugin.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: revlet div position inquiry

Post by Mark » Tue Mar 30, 2010 11:24 am

Hi,

If you're going to report this as a bug, please add that it does happen in Mac OS X too. For example, my TwistAWord revlet in Facebook inteferes with facebook's CSS elements.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: revlet div position inquiry

Post by mwieder » Tue Mar 30, 2010 9:12 pm

Should have mentioned that I used Firefox for my tests - didn't try it with Safari. Mark - does a different browser affect your Facebook results?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: revlet div position inquiry

Post by Mark » Tue Mar 30, 2010 9:23 pm

Hi Mark,

No, I have this problem with Firefox. It would be good if we could figure out when it happens exactly, because as it stands now RunRev is going to declare this non-reproducible.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: revlet div position inquiry

Post by wsamples » Wed Mar 31, 2010 6:19 am

This hints at a variety of known problems with css dropdowns and <object> in some browsers but I've got something that may dampen hope that it can be isolated to a bug in the Windows plugin. The problem can show intermittently in Opera 10.10 on OS X as shown in the screenshot. From time to time, without any discernible pattern, sections of the dropdown list will hide behind the revlet when running the cursor over the list.

I would suggest that in order to eliminate any possibility that this could be related to the css/html, you resolve the issue that causes your layout to blow up when the navbar is wrapped (screenshots form the newsreader and iCab). There is some possibility that this is a source of confusion for some browsers, and some more than others.

It might also be a valuable experiment to test this by putting a revlet under a variety of dropdown menus to see for example if it is dependent on particular css methods or if javascript dropdowns are immune, etc.
Attachments
opera.fault.jpg
opera.fault.jpg (30.66 KiB) Viewed 8181 times

Post Reply