Skip to main content

Posts

Google announces the new Inside AdSense Arabia blog

Inside AdSense : Announcing the new Inside AdSense Arabia blog We’re very excited to announce the launch of our newest blog, the AdSense Arabia blog . Like our other Inside AdSense blogs, it will provide optimization tips, product announcements, and other program information to help our Arab publishers maximize their earnings and make the most out of their Google AdSense accounts. With the rapidly developing online advertising market in the Middle East & North Africa region, and the growing interest in Google AdSense, we’re thrilled to be taking the next step by introducing this new information platform. Joining English, French, Italian, German, Spanish, Russian, Dutch, Turkish, Portuguese, Polish, Japanese, Chinese - Traditional, Chinese - Simplified, and Korean, AdSense Arabia blog is our fifteenth Inside AdSense blog worldwide. Check out the navigation sidebar under the header “Related Google Blogs” for links to all of them! We hope to launch additional Inside ...

Photo of the Day Igoogle Gadget

I have developed a new igoogle gadget that shows random photos related to nature on your igoogle home, also the photo changes when ever you refresh your igoogle home. You may also embed this gadget into your website using iframe. To try the gadget on your igoogle click on this link To embed the gadget in your website, copy and paste the below code: <iframe scrolling="no" title="Weather Forecast" frameborder="0" style="height: 420px; width:auto" src="http://www.sms4all.info/flickr/" height="420"></iframe>

[Coldfusion 9] Session is Invalid Error Exception

Session  is Invalid error message could be caused by cookies, I faced this error exception caused by cookies and I really has no clue why, anyway below is the solution for this error exception: <textarea> <!--- Application.cfm ---> <cftry> <cfapplication name="web" sessionmanagement="yes" sessiontimeout="#createtimespan(0,0,45,0)#"> <!--- Your code here ---> <cfcatch type="any"> <cfif isDefined("exception.message")>        <cfif exception.message is "Session is invalid"> <cfcontent reset="yes">              <cfset tx = structclear(cookie)> <script type="text/javascript"> window.setTimeout(redir, 100); function redir() { window.location = 'rootdirectory?reset=<cfoutput>#getTickCount()#</cfoutput>'; } </script>     <cfabort> </cfif> </cfif> </cfcatch> ...

Coldfusion 8 cflayout accordion collapsed initially error on Explorer 8

When using cflayout tag on coldfusion 8 server you will face a problem with Microsoft Explorer 8 where the action results in cflayoutarea will not appear. The cflayout works fine with Firefox and Chrome, but not with Explorer 8 and also I guess with Explorer 7 as it did not work in compatibility format. Anyway the solution is so simple, just edit the html body tag to the below: <body onload="ColdFusion.Layout.collapseAccordion('accordionLayout','panel01')"> This solution will work in case having one of the below errors: 1) does NOT open collapsed  2) gives a javascript error Message: Exception thrown and not caught Line: 90 Char: 1  Code: 0 URI: http://127.0.0.1:8500/CFIDE/scripts/ajax/package/cfajax.js

Facebook cofounder launches Jumo, social network for social causing and activism

Jumo , a new venture started by Chris Hughes, Facebook’s cofounder and the social media maven behind Barack Obama’s 2008 presidential campaign, launched in public beta today. Billed as a social network for social causes and activism, the service aims to help people find and discover issues they care about with their friends, keep tabs on them through news and updates, and over time, help support their work and raise awareness. A nonprofit itself, Jumo is the latest example of broad efforts throughout the industry to bring the energy and innovation of venture-backed startups to the world of philanthropy . Getting started with the service requires you to connect your Facebook account, after which you’re asked to select various issues, ranging from Arts and Culture to Education, Health, and Human Rights, and rate them according to your level of interest. Jumo then suggests charities and organizations to follow out of the 3,500 it has signed up for its initial launc...

Add Facebook Like button and Twitter share Button to Blogger Template

1- Login to your Blogger Account and go to Design > Edit HTML and click on the check box which says " Expand Widget Templates "  2- Inside the html code look for the tag: <post-header-line-1/> to add the buttons on the top of the posts or <data:post.body/> to add the buttons to the end of the posts, Directly after one of those tags add the below code:   <b:if cond='data:blog.pageType == &quot;item&quot;'> <div align='right'> <script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><fb:like layout='button_count'/> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="YourTwitterUsername">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> </div> </b:if> 3- Save and Your Done

Add Facebook Like Button to Blogger Posts

To add Facebook Like button to your blogger blog posts simple follow the below steps: 1- Login to your Blogger Account and go to Design > Edit HTML and click on the check box which says " Expand Widget Templates "  2- inside the html code look for the tag: <data:post.body/> Directly after this tag add the below code: <b:if cond='data:blog.pageType == &quot;item&quot;'> <div> <script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><fb:like layout='button_count'/> </div> </b:if> 3- Save changes You may change the feel and look of your like button by changing and adding attributes to the fb:like tag, those attributes are: layout - there are three options. standard - displays social text to the right of the button and friends' profile photos below. Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos). bu...