Javascript Tooltips, Popups, Captions - BoxOver  

Go Back   Javascript Tooltips, Popups, Captions - BoxOver > Javascript > General
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2006, 12:55 AM
nehakansal nehakansal is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Question Wont escaping quotes work in BoxOver at all?

I did read a post about this, but wanted to make sure if I understood it correctly. I tried escaping quotes in jsp scriptlet before using a jsp variable in the title attribute for the tooltip, but that doesnt work. Does that mean, we can not at all have any quotes in the tooltip text? If we can, can anyone tell me how, thanks.

Neha.
Reply With Quote
  #2  
Old 05-02-2006, 10:52 PM
olly olly is offline
Administrator
 
Join Date: Jul 2005
Posts: 82
Default You can use quotes

Hey,

You can't escape quotes in the context of dynamically constructing javascript statements.

However if you want quotes to appear in the tooltip text just use "

e.g.
Code:
title="header=[this shows a "] body=[body text]
__________________
Javascript tooltips / popups
Reply With Quote
  #3  
Old 05-05-2006, 06:17 PM
nehakansal nehakansal is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Default

Hi Olly

Well, what I want to do is use a jsp expression to specify the tooltip i.e. body = <%= jspvariable %>. Now if in the variable I escape all the quotes before hand and then use the variable, still I guess it wont work, right? And probably there are other characters as well that wont work.

Neha.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:07 PM.