html - Found the following on a page - title="header=[] body=[ - how does it work? -


go http://www.paperbackswap.com/science-fiction-hall-fame-volume/book/0765305372/

scroll down looking button labeled "order book" , hover on it.

it displays multi-line "title"

the source shows:

title="header=[] body=[did know club if make amazon purchases starting on our site?  click here when want buy amazon , purchase support pbs!]" 

note - if inspect entity using firebug, shows title=""

to see source showing you, view source of page.

tried search on title="header[] google can't handle double quote , [] characters.

does know how working?

it appear facility text in "header[]" displayed, perhaps, header line "title" , text in "body[]" body of "title."

here example line breaks:

title="header=[] body=[- order book $4.94 (price includes s&h).<br />- if member, please log in request it.<br />- or join club , book 1 credit , $0.49 swap fee.]" 

to see results, hover on image of key right of "order book" button.

bob

evidently, there script reads title attribute, parses contents in own format (as in header=[...] , body=[...] parameters), creates custom tooltip information parsed contents, , empties title attribute once it's done prevent system tooltip displaying on custom 1 (which why inspector displays title attribute empty).

searching title=header without quotes or square braces turns script called boxover, uses same syntax , renders similar-looking tooltips, in case header appears unused, , in fact can find no references boxover in of scripts being used page. either source obfuscated or we're looking @ different script entirely, principle same.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -