最近不知道大家留意过没有QQ的新闻页面,里面出现了好多“点睛广告”的链接,很有趣,然后自己在网上大概看了些相关的资料,这个应该就是现在国外说到的In-Text Advertising ,国内叫文中广告,不知道有没有哪位高人参与过这个的设计,自己也很想了解下其中的设计,或是构思,在社区里面搜了下,发现没有相关的提问,所以这里发个帖子,想借此发起讨论,希望高手不吝赐教!
谢谢!

解决方案 »

  1.   

    估计
    cvs or vml
      

  2.   

    getClientRects Method 
    SyntaxcollRect = object.getClientRects()
    Return ValueReturns the TextRectangle collection. Each rectangle has four integer properties (top, left, right, and bottom) that each represent a coordinate of the rectangle, in pixels.===================================
    getBoundingClientRect Method  
    SyntaxoRect = object.getBoundingClientRect()
    Return ValueReturns a TextRectangle object. Each rectangle has four integer properties (top, left, right, and bottom) that represent a coordinate of the rectangle, in pixels.ResThis method retrieves an object that exposes the left, top, right, and bottom coordinates of the union of rectangles relative to the client's upper-left corner. In Microsoft® Internet Explorer 5, the window's upper-left is at 2,2 (pixels) with respect to the true client.
      

  3.   

    过了这么多天,终于有人有响应了,呵呵,还以为没有人对这个有兴趣,最近我是一直在研究它的实现了,如果朋友们有兴趣,可以到存在点睛广告的页面看看其中的源代
    这里先把我得到的一些细节大概说下
    在这些页面中都在添加了一个javascript的链接,名称叫clickeye.js,不用说大家肯定知道怎么得到这个内容,里面的内容主要是添加三个链接,其中两个目前看来是固定内容,分别是all_rot.js,还有个是extractor.js,当然分析这里面感觉有些内容不应该是写死的,最后还有个是叫js.js的,这个应该是根据不同的网站动态生成的,很可能还包括了从后台数据库中得到的关键字,这个主要是对广告参数的初始化。
    当然里面还可以看到很多细节的处理,这里不详细说明。
    如果有兴趣的话加我的QQ,我的QQ20341616 大家可以一起讨论下。
    首先声明我不是该公司的成员,不知道我这样做是不是对该公司有侵权行为,如果这样不合适,希望大家提醒下。谢谢!