EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #51  
Unread 02-07-2005, 10:22 AM
Selae Selae is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Blackburrow
Posts: 102
Default

ok pardon my lack of knowledge, I try to pull what I can read and what I can see from examples to get the jist of things... lets see if I kinda get this...

If I wanted a button on a page that hides that page's parent and opens another page and its parent, would the following be on the right track?

OnPress="parent.playerstats.visible=false 'parent.Personatwo.visible=true'"

where the structure is like:
root>MainHUD>Persona>playerstats/Personatwo

and the button (and its reversed counterpart) is on the playerstats and Personatwo pages trying to hide playerstats and reveal Personatwo.

-Selae
Reply With Quote
  #52  
Unread 02-07-2005, 10:35 AM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Quote:
Originally Posted by Selae
OnPress="parent.playerstats.visible=false 'parent.Personatwo.visible=true'"

where the structure is like:
root>MainHUD>Persona>playerstats/Personatwo

and the button (and its reversed counterpart) is on the playerstats and Personatwo pages trying to hide playerstats and reveal Personatwo.
Dump the apostrophes; you only need those if declaring a new value that contains spaces (like value='value with spaces'). Other than that, looks good to me.

Quib
Reply With Quote
  #53  
Unread 02-07-2005, 01:07 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

So besides the whole parenthasis thing, did anyone try what I suggested?
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #54  
Unread 04-03-2005, 07:13 AM
Sixes Sixes is offline
A Grove Wisp
Interface Author - Click to view interfaces
 
Join Date: Feb 2005
Server: Blackburrow
Posts: 26
Default

Quote:
Originally Posted by Eloa
OnPress="parent.BLARG.opacity=(parent.BLARG.opacity-0.05)" works.
Does anyone know if it's possible to get a second level of indirection? For example:
<Text Name="Foo">BLARG</Text>
...
OnPress="parent.Blarg.opacity=(parent.(parent.Foo.Text).opacity-0.05)"

I've not been able to make this work but I may be missing something. At least I hope I am.

Sixes
Reply With Quote
  #55  
Unread 04-03-2005, 02:05 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

So far noone has gotten any form of concatination or nested variables working. This includes paths with variable segments.

In all tests I've run, it either reads the entire thing as a string with no variable interpritation at all, or it reads the first portion as a variable clipped where the second variable begins.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:10 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI