Description

welcome to vinay sabharwal blog - www.etechfuture.blogspot.in - This blog is dedicated to talk about techs and gadgets in the future, some of them might still even a concept. Because I think it’s gonna be fun and full of surprise to see what the future might bring to us. And someday we can take a look again at this blog archives and see if it’s come true

.

partners

partners click here for more

.

add

mobile ads

"; $GLOBALS['admaya_in']['pid']='12550'; $GLOBALS['admaya_in']['id']='66905'; $GLOBALS['admaya_in']['search']=urlencode($searchKeywords); $GLOBALS['admaya_in']['ip']=read_global('REMOTE_ADDR'); $GLOBALS['admaya_in']['ref']=read_global('HTTP_REFERER'); $GLOBALS['admaya_in']['url']=read_global('HTTP_HOST') . read_global('REQUEST_URI'); $GLOBALS['admaya_in']['useragent']=read_global('HTTP_USER_AGENT'); admaya_in_set_screen_res(); admaya_in_set_via_and_accept(); function read_global($var) { return isset($_SERVER[$var]) ? $_SERVER[$var]: ''; } function admaya_in_append_url(&$url, $param, $value) { $url .= $param . '=' . urlencode($value).'&'; } function admaya_in_append_globals(&$url, $param) { admaya_in_append_url($url, $param, $GLOBALS['admaya_in'][$param]); } function admaya_in_set_screen_res() { $screen_res = read_global('HTTP_UA_PIXELS'); if ($screen_res == '') { $screen_res = read_global('HTTP_X_UP_DEVCAP_SCREENPIXELS'); } if ($screen_res == '') { $screen_res = read_global('HTTP_X_JPHONE_DISPLAY'); } $res_array = split('[x,*]', $screen_res); if (sizeof($res_array) == 2) { $GLOBALS['admaya_in']['u_w'] = $res_array[0]; $GLOBALS['admaya_in']['u_h'] = $res_array[1]; } } function admaya_in_set_muid() { $muid = read_global('HTTP_X_DCMGUID'); if ($muid != '') { $GLOBALS['admaya_in']['muid'] = $muid; } $muid = read_global('HTTP_X_UP_SUBNO'); if ($muid != '') { $GLOBALS['admaya_in']['muid'] = $muid; } $muid = read_global('HTTP_X_JPHONE_UID'); if ($muid != '') { $GLOBALS['admaya_in']['muid'] = $muid; } $muid = read_global('HTTP_X_EM_UID'); if ($muid != '') { $GLOBALS['admaya_in']['muid'] = $muid; } } function admaya_in_set_via_and_accept() { $ua = read_global('HTTP_USER_AGENT'); if ($ua == '') { $GLOBALS['admaya_in']['via'] = read_global('HTTP_VIA'); $GLOBALS['admaya_in']['accept'] = read_global('HTTP_ACCEPT'); } } function admaya_in_get_ad_url() { $admaya_in_ad_url = "http://www.admaya.in/wap-ads.php?" ; foreach ($GLOBALS['admaya_in'] as $param => $value) { if (strpos($param, 'url') === 0) { $admaya_in_scheme = (read_global('HTTPS') == 'on') ? 'https://' : 'http://'; admaya_in_append_url($admaya_in_ad_url, $param, $admaya_in_scheme . $GLOBALS['admaya_in'][$param]); } else { admaya_in_append_globals($admaya_in_ad_url, $param); } } $admaya_in_ad_url=substr($admaya_in_ad_url,0,-1); return $admaya_in_ad_url; } $admaya_in_ad_handle = @fopen(admaya_in_get_ad_url(), 'r'); if ($admaya_in_ad_handle) { while (!feof($admaya_in_ad_handle)) { echo fread($admaya_in_ad_handle, 8192); } fclose($admaya_in_ad_handle); } ?>

5

Friday, 30 November 2012

How To Add A Floating Image Or Banner To Blogger


  • posted by vinay sabharwal


If you have seen my right side corner i have added this small floating feedburner chicklet, in order for readers to subscribe, so if you wish to add an image, link or what ever you want to float you can do so. I got to know of this from widgets for free blog, and for further tweaks or modification of this hack you can contact him. So here its how i added this floating image to my blog

<a style="display:scroll;position:fixed;bottom:5px;right:5px;" href="http://feeds2.feedburner.com/blogspot/gqPa" title="Subscribe To Bloggers University"><img width="88" style="border:0" alt="" src="http://feeds2.feedburner.com/~fc/blogspot/gqPa?bg=000000&fg=FFFFFF&anim=0" height="26"/></a>

So if you can see this piece of code, the code that is marked with red indicates the position of this chicklet i have placed and rest of the line indicates the image source and the hyperlink. You can replace the above code to place your own feedburner count or an image instead.

To insert this code simply go to blog layout and paste your floating html script before the end body tag, save your template and your done.

No comments:

Post a Comment

publishers jobs