Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: help escape quotation mark
lily
Newbie

Posts: 1
Registered: 3/16/2005
Member Is Offline
posted on 3/18/2005 at 10:01 PM Reply With Quote
help escape quotation mark


hello,
how to excape the quotation mark within the string, e.g.
var TREE_ITEMS = [
['<font style="font-size:12px;">Fist Item</font>', 0, .......

many thanks ;-)
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 3/21/2005 at 08:48 AM Reply With Quote

Nothing to escape.
To prevent script error on mouseover of the item update function item_upstatus (tree.js):

function item_upstatus (b_clear) {
window.setTimeout('window.status=unescape("' + (b_clear ? '' : escape(this.a_config[0] + (this.a_config[1] ? ' ('+ this.a_config[1] + ')' : ''))) + '")', 10);
}
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004