Thanks, that is good to know.
I'm toying with the Locking PopUp tweak and can't seem to make it work. Any ideas why not?Originally Posted by Tweak InstructionsSo ... what's wrong? Thanks.
- I dragged the Locking Popups unit from the Design Gallery Tweaks onto my webpage.
- I created a pair of objects (black squares) that call a pair of popup layers (identifying them as 'popup' layers).
- I created a pair of buttons that should turn on/off the locked layers, and inserted [what I understood to be] the proper javascript to direct the action.
cursor = curTIS sorENSON
xWD5 & xX5 Multi-Level Navbar Tutorial | xWD5 & xX5 DropDown Video Tutorial
There is no 'Locking PopUp tweak' on the page that I can find.
It's not just instructions, it's a placeholder which has the code necessary for it to work.
I deleted it, thinking that it was a simply a set of instructions. Even when present, I got a "missing object" message. I've attached the .web file WITH the placeholder to this post. Thanks for any help that you can offer.
cursor = curTIS sorENSON
xWD5 & xX5 Multi-Level Navbar Tutorial | xWD5 & xX5 DropDown Video Tutorial
Hi,
i think there is a bug in WD.
You named one of you popup-objects o_zero right? Take a look in the generated source, WD replaced the "z" with ":122".
See the ID-Tags in the HTML-Code:
All "z" in object-names are replaced with ":122", try itHTML Code:<img class="xr_ap" src="index_htm_files/2.png" alt="" id="o_:122ero" style="left: 141px; top: 21px; width: 485px; height: 444px;"/> </div> <div id="pu_:122ero" style="left: 383px; position: absolute; font-size: 96px; font-family: Lucida Sans; text-align: center; font-weight: bold; color: #7F7F7F; top: 269px;" onmousemove="xr_mpc(1)" >
Use the name "zombi" and WD convert it to "xa:122ombi" or "ZzZzZzZzZ" is converted to "Z:122Z:122Z:122Z:122Z".
All lowercase "z" will be converted to ":122" with your TEMP.WEB.
Can you confirm that?
Interesting observation. It seems like a small mistake in html filter, so I'm going to fix it for the following update. Meanwhile, avoid using lowercase "z" in the object names that you manually refer by ID in your code (or tweaks).
Thank you for pointing this out.
If anyone wonder why there's any substitution like this, I shall explain. The HTML specification does not allow for any text to be used as ID value of the element. It has following restrictions:
- ID can only contain English letters of both cases: A..Z, a..z, digits: 0..9, and following characters: "_", "-", ":", ".".
- ID can begin only with a letter: A..Z, a..z.
So, when user sets inappropriate text as a name of the object in WD, it is a bit encoded to represent correct ID string. Though the 'z' character is allowed and should not be encoded as it is.
John.
Are we anywhere close to getting a revised version of XWD .......
Keith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are 10 types of people in this world .... Those who understand binary, and those who don't.
Bookmarks