[Home] [By Thread] [By Date] [Recent Entries]


So you want to go from this

<myElement oncontextmenu="doPopup(); return false;">Something</myelement>

  var oPopup = window.createPopup();

and later

 var popupBody = oPopup.document.body;
 popupBody.style.overflow = 'auto';
 popupBody.style.backgroundColor = "lightyellow";
 popupBody.style.border = "solid black 1px";
 popupBody.style.fontFamily = "Arial";
 popupBody.style.fontSize = "12px";
 popupBody.style.margin = "1em";
 oPopup.show(0, 15, 175, 200 ,event.srcElement);

to

{
mylinktype:* {behavior:link();}
}

<popup class="mylinktype" >
  <item>MyItem</item>
  <item>MyItem</item>
</popup>

or something similar?

len


From: DuCharme, Bob (LNG-CHO) [mailto:bob.ducharme@l...]

Element and resource relationships should be stored using semantic
descriptions for the same reason that the elements themselves should be
stored using semantic descriptions.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member