-
- 1 Posts
I’m just hazzling around with DropMenu. After getting the collapsing/expanding stuff done by CSS (and thanks to the great tutorial!) I wonder how I could reproduce my legacy hover-effect. I used the Dropmenu &post parameter to inject the required code:
<img src="ar_grey.gif" class="passive" /><img src="ar_red.gif" class="active" />
Dropmenu placed the stuff at the right position, but, due to a special-character issue the code gets cut off just at the first "=" character.
Are there any escape characters for DropMenu/ModX parameter formatting, like a backslash or something like this?
Thanks for any advice!
There is a way to pass that kind of thing to snippets, I seem to recall it in connection with the RSS feed snippets. You might want to check the forum for the discussions on them.
Why do you have your chunk HTML enclosed in single-quotes?
-
- 1 Posts
Since I use double-quotes within the content. But whatever I enclose the "&post" (or the chunk) in, and even if I don’t enclose it at all: Result is always a string cut off before the first "=" sign: <img src \". Escaping obviously doesn’t work, but I think it should...
:’(