网页鼠标提示

a.js

if  ( typeof  SNAP_COM  ==   " undefined " ) {
 SNAP_COM 
=  {
};
 } SNAP_COM.shot_config 
=  {
version:
" 2.20.1 " ,prefix:{
image:
" http://shots.snap.com/images/v2.20.1/ " ,cdn: " http://i.ixnp.com/ " ,cdn_image: " http://i.i

xnp.com/images/v2.20.1/
" ,theme: " http://i.ixnp.com/images/v2.20.1/theme/silver/ " ,link: " http:/

/shots.snap.com/
" ,options: " http://shots.snap.com/ " ,preview: " http://shots.snap.com/ " ,spasense

:
" http://shots.snap.com/ " ,bg: " http://i.ixnp.com/images/v2.20.1/theme/silver/bg/ " ,snap: " http:

//www.snap.com/
" ,search: " http://shots.snap.com/ " },size: " small " ,orig_size: " small " ,theme: " silv

er
" ,key: " 0747f7211c6cfb5c24ef89fffb09a2e2 " ,source: " www.cssdrive.com " ,campaign: "" ,flavor: null

,lang:
" en-

us
" ,rtl: 0 ,force: null ,trigger_position: " default " ,check_defer: true ,observe_event: " link " ,search

_box:
false ,auto_preview: true ,show_internal: false ,preview_only: false ,rich_only: false ,plugin:f

alse,rescan_after_load:
false ,thumbnail_precrawl: 0 ,platform: false ,show_link_icon: false ,previe

w_trigger:
" both " ,image_trigger: false ,shot_check: 1 ,search_type: " spasense " ,redirect_param: null

,srate:{
main:
0.001 ,auto: 0.01 ,page: 0.001 },delay:{
show:
125 ,hide: 500 ,move: 200 },img:{
cobrand:
" http://i.ixnp.com/images/v2.20.1/t.gif " ,link_icon: " http://i.ixnp.com/images/v2.20.1

/t.gif
" ,palette: " http://i.ixnp.com/images/v2.20.1/theme/silver/palette.gif " },pointer:{
r_offset:
4 ,top:{
x:
7 ,y: 5 },bottom:{
x:
7 ,y: 14 },steps: " 6 " ,w0: 200 ,w: 20 ,x0: 5 ,x: 5 },css_pos:{
main:{
x:
0 ,y: 0 ,w: 316 ,h: 276 },bubble:{
x:
5 ,y: 6 ,w: 299 ,h: 258 },bg_img_tl:{
x:
0 ,y: 0 ,w: 100 ,h: 100 },bg_img_tr:{
xr:
1 ,y: 0 ,w: 100 ,h: 100 },bg_img_bl:{
x:
0 ,yb: 1 ,w: 100 ,h: 100 },bg_img_br:{
xr:
1 ,yb: 1 ,w: 100 ,h: 100 },bg_img_l:{
x:
0 ,y: 50 ,w: 100 ,h: 100 },bg_img_r:{
xr:
1 ,y: 50 ,w: 100 ,h: 100 },bg_img_t:{
x:
50 ,y: 0 ,w: 100 ,h: 100 },bg_img_b:{
x:
50 ,yb: 1 ,w: 100 ,h: 100 },bg_body:{
x:
50 ,y: 50 ,w: 100 ,h: 100 },point_tr:{
x:
50 ,y: 50 ,w: 42 ,h: 33 },point_tl:{
x:
50 ,y: 50 ,w: 42 ,h: 33 },point_br:{
x:
50 ,y: 50 ,w: 43 ,h: 41 },point_bl:{
x:
50 ,y: 50 ,w: 43 ,h: 41 },bubble_img:{
x:
0 ,y: 0 ,w: 299 ,h: 258 },body:{
x:
0 ,y: 0 ,w: 299 ,h: 258 },top_left_menu:{
x:
1 ,y: 1 ,w: null ,h: null },top_right_menu:{
xr:
1 ,y: 1 ,w: null ,h: null },option_menu:{
xr:
20 ,y: 18 ,w: null ,h: null },url_wrapper:{
x:
6 ,y: 5 ,w: null ,h: null },preview_div:{
x:
0 ,y: 20 ,w: 297 ,h: 207 },preview:{
x:
0 ,y: 0 ,w: null ,h: null },preview_img:{
x:
0 ,y: 0 ,w: null ,h: null },img_a:{
x:
12 ,yb: 12 ,w: 270 ,h: 161 },loading_img:{
x:
0 ,y: 0 ,w: null ,h: null },search:{
x:
0 ,yb: 29 ,w: 298 ,h: 39 },logo_a:{
xr:
7 ,yb: 8 ,w: null ,h: null },box:{
x:
12 ,y: 10 ,w: 219 ,h: 20 },submit:{
xr:
12 ,y: 10 ,w: null ,h: 20 },flash_overlay:{
x:
0 ,y: 50 ,w: 299 ,h: 180 },drag_overlay:{
x:
0 ,y: 0 ,w: 299 ,h: 20 },cobrand_img:{
x:
9 ,yb: 6 ,w: null ,h: null },cobrand_a:{
x:
10 ,yb: 8 ,w: null ,h: 15 },promo:{
x:
10 ,yb: 8 ,w: null ,h: 15 },options:{
x:
0 ,y: 0 ,w: 299 ,h: null },option_menu_bar:{
xr:
1 ,y: 1 ,w: null ,h: null },option_iframe:{
x:
0 ,y: 20 ,w: 298 ,h: 207 },option_cancel:{
xr:
54 ,y: 201 ,w: 50 ,h: 21 },spasense_iframe:{
x:
1 ,yb: 29 ,w: 297 ,h: 39 },banner:{
x:
1 ,yb: 30 ,w: 297 ,h: 38 },link_icon:{
x:
null ,y: null ,w: 14 ,h: 12 },pointer0:{
w:
1 ,h: 1 },pointer1:{
w:
1 ,h: 1 },pointer2:{
w:
1 ,h: 1 },pointer3:{
w:
1 ,h: 1 },pointer4:{
w:
1 ,h: 1 },pointer5:{
w:
1 ,h: 1 }},rtl_css_pos:{
0 : " promo " , 1 : " logo_a " , 2 : " submit " , 3 : " box " , 4 : " option_cancel " , 5 : " cobrand_img " },style:{
link_icon:{
padding:
" 1px 0 0 0 " ,textDecoration: " none " ,position: " static " },favicon:{
position:
" static " ,display: " inline " },url:{
position:
" static " ,display: " inline " ,fontSize: " 13px " ,fontWeight: " bold " ,textAlign: " left " },arrow

:{
position:
" static " ,display: " inline " },body:{
textAlign:
" left " },bg_body:{
backgroundColor:
" #d8d8d9 " },option_button:{
display:
" inline " },zoom_img:{
display:
" inline " },option_button_disabled:{
display:
" inline " },pin_close_img:{
display:
" inline " },promo_icon:{
display:
" inline " },preview_toggle:{
display:
" inline " },rss_toggle:{
display:
" inline " },drag_overlay:{
backgroundColor:
" transparent " },flash_overlay:{
backgroundColor:
" transparent " },option_close_a:{
fontSize:
" 10px " ,fontWeight: " normal " ,color: " #857a7a " ,textDecoration: " none " },option_menu:{
fontSize:
" 10px " ,fontFamily: " Trebuchet " ,color: " #333 " ,backgroundColor: " white " ,border: " 1px 

solid #8b8a8a
" },option_a:{
whiteSpace:
" nowrap " ,height: " 17px " ,paddingLeft: " 5px " ,paddingRight: " 5px " },option_cancel:{
border:
" 1px solid #999 " ,fontSize: " 11px " ,color: " #333 " ,background: " url

(http://i.ixnp.com/images/btn-bkgd.gif)
" },disable_a:{
whiteSpace:
" nowrap " ,height: " 17px " ,paddingLeft: " 5px " ,paddingRight: " 5px " ,borderTop: " 1px solid 

#c0c0c0
" },url_a:{
fontSize:
" 13px " ,fontWeight: " bold " ,textDecoration: " underline " ,color: " #003399 " ,backgroundColor

:
" white " ,textAlign: " left " },url_arrow:{
backgroundColor:
" white " },url_favicon:{
backgroundColor:
" white " },promo_a:{
fontSize:
" 11px " ,color: " #333333 " ,textDecoration: " none " ,borderBottom: " 1px dotted 

#747274
" },promo:{
direction:
" ltr " },preview_div:{
border:
" 1px solid #c4c4c4 " ,overflow: " hidden " ,backgroundColor: " #FFFFFF " },img_a:{
border:
" 1px solid #999999 " ,overflow: " hidden " ,backgroundColor: " #FFFFFF " },submit:{
margin:
" 0 " ,marginLeft: " 5px " ,padding: " 2px " ,paddingTop: " 1px " ,paddingBottom: " 2px " ,border: " 1px 

solid #999
" ,backgroundImage: " url(http://i.ixnp.com/images/btn-

bkgd.gif)
" ,backgroundRepeat: " repeat-

x
" ,cursor: " pointer " ,fontSize: " 11px " ,color: " #444 " ,textAlign: " center " },box:{
fontSize:
" 10px " ,border: " 1px solid 

#999999
" ,color: " #333333 " ,visibility: " inherit " ,backgroundColor: " #f3f3f3 " ,direction: " ltr " },spa

sense_iframe:{
backgroundColor:
" #f0f0f0 " }},offset:{
search_box:
39 },hidden:

[
" spasense_iframe " , " link_icon " , " option_menu " , " rss_check " , " top_left_menu " , " banner " , " lg " , " sear

ch
" ],collapsed:[ " pin_close_img " ],t_img:[ " cobrand_img " ],retry_interval:

[
8000 , 5000 , 5000 , 5000 , 5000 , 5000 ],partial_check:{
delay:
2000 ,attempts: 5 },rescan_delay: 1000 ,href:{
logo:
" http://www.snap.com/ " ,cobrand: " http://www.snap.com/about/shots.php " ,shot_signup: " http:

//www.snap.com/about/shots.php
" ,client_download: " http://www.snap.com/about/shotsdownload.php

" ,client_about: " http://www.snap.com/about/addon.php " },attribution_split_test_suffix: " _2 " ,pal

ette:{
promo_icon:{
loc:
" -799px 0 " ,w: 14 ,h: 12 },link_icon:{
loc:
" -799px 0 " ,w: 14 ,h: 12 },logo_a:{
loc:
" -660px 0 " ,w: 81 ,h: 15 },previewby: null ,option_button:{
loc:
" -516px 0 " ,w: 27 ,h: 18 },option_button_over:{
loc:
" -414px 0 " ,w: 27 ,h: 18 },zoom_img_plus:{
loc:
" -441px 0 " ,w: 23 ,h: 18 },zoom_img_plus_over:{
loc:
" -199px 0 " ,w: 23 ,h: 18 },zoom_img_minus:{
loc:
" -391px 0 " ,w: 23 ,h: 18 },zoom_img_minus_over:{
loc:
" -345px 0 " ,w: 23 ,h: 18 },option_close_a:{
loc:
" -543px 0 " ,w: 23 ,h: 18 },option_close_a_over:{
loc:
" -589px 0 " ,w: 23 ,h: 18 },option_button_disabled:{
loc:
" -489px 0 " ,w: 27 ,h: 18 },pin_close_img:{
loc:
" -543px 0 " ,w: 23 ,h: 18 },pin_close_img_over:{
loc:
" -589px 0 " ,w: 23 ,h: 18 },preview_toggle:{
loc:
" -272px 0 " ,w: 25 ,h: 18 },preview_toggle_over:{
loc:
" -222px 0 " ,w: 25 ,h: 18 },preview_toggle_selected:{
loc:
" -247px 0 " ,w: 25 ,h: 18 },rss_toggle:{
loc:
" -297px 0 " ,w: 25 ,h: 18 },rss_toggle_over:{
loc:
" -464px 0 " ,w: 25 ,h: 18 },rss_toggle_selected:{
loc:
" -174px 0 " ,w: 25 ,h: 18 },favicon :{
loc:
" -628px 0 " ,w: 16 ,h: 16 },arrow :{
loc:
" -836px 0 " ,w: 7 ,h: 7 }},rich_shot_re:[ " \\.wikipedia.org/wiki/ " , " imdb\\.com.*\\/

(title|name)\\/(tt|nm)[\\d]+($|\\/$)
" , " finance\\.yahoo\\.com/q\\?

s=
" , " finance\\.google\\.com/finance\\?q= " , " moneycentral\\.msn\\.com/detail/stock_quote\\?

Symbol=
" , " money\\.cnn\\.com/quote/quote\\.html " , " marketwatch\\.com/quotes/ " , " quote\\.morning

star\\.com/Quote/Quote\\.aspx\\?ticker=
" , " quotes\\.nasdaq\\.com/asp/SummaryQuote.asp\\?

symbol=
" , " www\\.nyse\\.com/about/listed/lcddata.html\\?

ticker=
" , " youtube\\.com/v/ " , " youtube\\.com/\\?v= " , " youtube\\.com/watch\\?

v=
" , " video\\.google\\.com/googleplayer\\.swf\\?docId= " , " video\\.google\\.com/url\\?

docid
" , " video\\.google\\.com/videoplay\\? " , " photobucket\\.com/albums " , " amazon\\.com/

(gp/product|dp)/[A-Z0-9]{
10}/
" , " amazon\\.com\\/.+\\/(ASIN|asin)\\/[A-Z0-9]{
10}
" , " amazon\\.com/exec/obidos/(ASIN|asin)/[A-Z0-9]{
10}/
" , " amazon\\.com/[^/]+/dp/[A-Z0-9]{
10}/
" , " amazon\\.com/-/[A-Z0-9]{
10}/
" , " amazon\\.com/[^/]+/dp/ " , " amazon\\.com%2F[^/]+%2Fdp%

2F
" , " flickr\\.com/photos/ " , " picasaweb\\.google\\.com/.+/.+ " , " \\.mp3

$
" , " stocks\\.us\\.reuters\\.com/stocks/(overview|charts)\\.asp\\?(symbol|ticker)

=
" , " stocks\\.us\\.reuters\\.com/stocks/companyNews\\.asp\\?

symbol=
" , " metacafe\\.com/watch/ " , " one\\.revver\\.com/watch/ " , " video\\.xanga\\.com/.+/video.h

tml
" , " vids\\.myspace\\.com/ " , " veoh\\.com/videos/ " , " myspace\\.com/ " ],photo_shot_re:

[
" photobucket\\.com/albums " , " flickr\\.com/photos/ " , " picasaweb\\.google\\.com/.+ " ],rich_shot_

exceptions:
"" ,resize:{
img_sized:{
large:
" size_462/ " ,small: " size_305/ " },w: 158 ,h: 96 ,w_list:

[
" main " , " preview_div " , " bubble " , " search " , " box " , " options " , " option_iframe " , " spasense_iframe " , " f

lash_overlay
" , " drag_overlay " , " img_a " , " body " , " bubble_img " , " banner " ],h_list:

[
" main " , " preview_div " , " bubble " , " flash_overlay " , " img_a " , " body " , " bubble_img " ]},banner:{
addon:{
rate:
1 ,id:{
ff:
13 ,ie: 4 },img: " http://i.ixnp.com/images/v2.20.1//banner/#SIZE#/#IMG# " ,url: " http://www.snap

.com/about/shotsdownload.php
" },survey:{
rate:
0.1 ,img: " http://i.ixnp.com/images/v2.20.1//banner/#SIZE#/survey.gif " ,url: " http://www.su

rveymonkey.com/s.aspx?sm=6MJVRZAST5V2GQl0Jlr6qw_3d_3d
" }},auto_shot:{
on:
false ,treatment: " dashed " ,limit: 5 ,color_opt: " theme " ,color: " #666666 " ,list:

[]},url_max:
34 ,text:{
Options:
" Options " ,Disable: " Disable " ,SearchTheWeb: " Search the Web on 

Snap.com
" ,GetFreePreviews: " Put Snap Shots on Google " ,SearchButton: " Search " ,GoToURL: " Go to %

URL
" ,SubmitSearch: " Submit your search " ,SignUpLink: " Sign Up to add Free Snap Shots to your 

site!
" ,SnapLogoTooltip: " Powered by Snap " ,OptionsTooltip: " Snap Shots 

Options
" ,OptionsClose: " Close Options " ,EnlargeShotSize: " Make this Shot 

larger
" ,ReduceShotSize: " Make this Shot smaller " },fl: "" };

SNAP_COM.hash 
=   function (str) {
 
var  h  =   5003 ;
 
for  ( var  i  =   0 ;
 i 
<  str.length;
 
++ i) {
 h 
+=  str.charCodeAt(i);
 h 
+=  (h  <<   10 );
 h 
^=  (h  >>   6 );
 } h 
+=  (h  <<   3 );
 h 
^=  (h  >>   11 );
 h 
+=  (h  <<   15 );
 
return  Math.abs(h);
 };

SNAP_COM.shot_main_js 
=   function () {

  
var  s  =  document.getElementsByTagName( " script " )[ 0 ];

  
var  js  =  document.createElement( " script " );

  js.type 
=   " text/javascript " ;

  js.src 
=   " http://i.ixnp.com/shot_main_js/v2.20.1/ " ;

  s.parentNode.insertBefore(js, s);

}
SNAP_COM.window_onload 
=   function () {

  SNAP_COM.window_loaded 
=   true ;

};

if  (window.addEventListener) {

  window.addEventListener( 
" load " , SNAP_COM.window_onload,  false  );

else   if  (window.attachEvent) {

  window.attachEvent( 
" onload " , SNAP_COM.window_onload );

}
SNAP_COM.shot_main_js();

b.html
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< html  style ="position: static;"  xmlns ="http://www.w3.org/1999/xhtml"  xml:lang ="en"  lang ="en" >< head >< title > CSS Drive Gallery- Last 20 CSS gallery submissions (unreviewed) </ title >



< meta  http-equiv ="Content-Type"  content ="text/html; charset=iso-8859-1" >

< script  defer ="defer"  id ="snap_preview_anywhere"  type ="text/javascript"  src ="a.js" >
</ script >


</ head >< body >

< href ="http://www.baidu.com" > News </ a >
</ div >







</ body ></ html >

转载于:https://www.cnblogs.com/askyes/archive/2007/09/06/884287.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值