Community
VRED Forum
Welcome to Autodeskโ€™s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results forย 
Showย ย onlyย  | Search instead forย 
Did you mean:ย 

HTML problems and black vrMenu

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
815 Views, 4 Replies

HTML problems and black vrMenu

Dear VRED Users,

 

I'm having problems with the vrMenu.

1. By default it is black. How do I get it to be transparent? (attachment 01)

-> If I turn "setAlpha(1)" to for example "menu.setAlpha(0)" the black dissapears, but with it my menu ๐Ÿ˜„

- the background of the html is set to "none"

2. Some Outlines do not appear until you re-enalbe the the checkbox that turns on the opacity of the tabel via javascript. (attachment 02)

 -> Some do not appear at all...

3. The dropdownmenu appears somewhere random!? (attachment 03)

 

Everything works just fine in Chrome...

 

Version 2018.3

 

This is the script:

 

menu = vrMenu(1,1,1)
menu.setUrl("C:/some/path/vrMenu.html")
menu.setPosition2D(0,50)
#menu.setAutoResize(0.00058)
menu.setAlpha(1)
menu.show()
menu.setWindowResize("vrMenu", 400, 970)

 

4 REPLIES 4
Message 2 of 5
seiferp
in reply to: Anonymous

Hi,

 

no need to use menu.setAlpha(1) in python. Just set the background of the page to background: rgba(255,0,0,0); in your stylesheet. Let me know if it worked.

 

Cheers

Pascal

Message 3 of 5
seiferp
in reply to: Anonymous

I also can reproduce the wired combobox/dropdown behavior. It looks that the <select> element is opening a kind of popup window at the position of your element. I mean a real one and not inside the page itself. I think there is nothing we can do because we just stream the content from the engine/webpage into a texture. Not smart, but maybe you can workaround this with a kind of unfolding list or something like this. Link

Message 4 of 5
Anonymous
in reply to: seiferp

Hey Pascal

 

Thx ๐Ÿ™‚

Setting the backgrounds RGBA to "0" or even "none" works fine, as long there is no menu.setAlpha(1) in python (my bad :D)

Message 5 of 5
seiferp
in reply to: Anonymous

The GUI looks pretty promising btw. Smiley Happy

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report