View Single Post
  #33  
Unread 01-03-2005, 10:20 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

By the way, it's perfectly acceptable to have an event change its own action.

OnPress="parent.size=100,100 OnPress='parent.size=200,200'"

First time you press that button, it'll go half size. Second press it will restore. Problem is it won't reset the second time. To get around that? DUMMY VALUES!

OnPress="parent.size=500,400 onpress=press2"
press1="parent.size=500,400 onpress=press2"
press2="parent.size=147,280 onpress=press1"


That button will toggle the parent page between the two sizes every time you press it for all eternity. (Or until your mouse breaks.)

That auto-showing clock I figured out for Insomniac? Problem is you can never close it with /hide_window.

OnHide="visible=true" OnHoverIn="OnHide=' ' "

THAT version has the clock show up on initial load, then has it ignore future OnHide events when you put the mouse over it so you can close it with /hide_window if you wish. (I tried blocking the OnHide in OnShow or OnHide, but it appears to call that two or three times during load. Clock window is extra stubborn. )
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 01-03-2005 at 10:24 AM.
Reply With Quote