[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] help with escaping the [ character
Spencer <spencer@poseidon.mediabang.com> writes:
> Actually, this probably won't do what you want in javascript.
> The [ and ] are translated into [ and ] in HTML code, and not for
> javascript code. Meaning... if you want minivend/interchange to skip over
> something in [brackets], the brackets must contain something that it
> doesn't recognize. [selected] is a minivend tag. [blah] is not a minivend
> tag and will be skipped over.
> So, you might want to do something like this in your javascript:
>
> function jumpto() {
> var optionpicked = window.document.quickLinks.quickList.selectedIndex;
> parent.location.href =
> window.document.quickLinks.quickList.options[optionpicked].value;
> }
Or you separate the JavaScript into a single file. Large chunks
of JavaScript parsed by MiniVend are not what you want.
Bye
Racke
--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users