Posts

Showing posts from March, 2012

How to add move div with page scroll in website?

Div move with Scroll Simple copy and paste this code <div id="floatdiv" style="position:absolute;right:0px;top:0px;"> Move content </div> <script type="text/javascript"><!-- var floatingMenuId = 'floatdiv'; var floatingMenu = { targetX: -40, targetY: 400, hasInner: typeof(window.innerWidth) == 'number', hasElement: document.documentElement && document.documentElement.clientWidth, menu: document.getElementById ? document.getElementById(floatingMenuId) : document.all ? document.all[floatingMenuId] : document.layers[floatingMenuId] }; floatingMenu.move = function () { if (document.layers) { floatingMenu.menu.left = floatingMenu.nextX; floatingMenu.menu.top = floatingMenu.nextY; } else { floatingMenu.menu.style.left = floatingMenu.nextX + 'px'; floatingMenu.menu.style.top = floatingMenu.nextY + 'px'; } } floatingMenu.computeShifts = function () { var de = docum

facebook Send Button pick up default image from site how to change this image according to our us?

Image
when you use Facebook's Send button its shows which images and how to change this image       1st thing you have to do is: follow this link   http://developers.facebook.com/tools/debug enter the url and check the Object Properties and see the title image and description , image of facebook page . now go to header of your website and and set top of the page title , description , keywords , image for image you can paste this code and change the path of website <meta name="image" content="http://www.earlyshares.com/public/images/earlyshares-petition.png" src="http://www.earlyshares.com/public/images/earlyshares-petition.png"/> change the image name according to website which one you want to show in below the facebook send button   please clear the cache and cookie before to test this.   and confirm that meta image code should be top from the send button

internal error or misconfiguration in codeigniter or php

 internal error or misconfiguration in codeigniter or php Internal Server Error  The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator , admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. so please Make sure your apache has mod_rewrite activated LoadModule rewrite_module modules/mod_rewrite.so If it is commented out (# in front), make sure to uncomment it and save the file. Checking if the corresponding module exists may be a good idea as well (but it usually does). IN simple language go on your running wamp or xampp click on that  and go on apche section and click on httpd.conf file and search mod_rewrite.so and remove the # in the front of line (# is use for comment)