LBi Techblog
Code & Technology Cocktail
Code & Technology Cocktail
17
Feb
You can add a site attribute to a website defined. Name it “enableWebEdit” and give a value “true” (because default it is false) It will look like: And it works!
More sitecore tips on http://sitecoreblog.blogspot.com/
16
Feb
I had this very weird issue: there was a lot of whitespace around a flash movie for no reason.
The blue is generated by firebug when inspecting the object element.
After checking all the styles and the swfobject code, we found the issue: the browser zoom level was not at 100%.
So if you ever have the feeling that there is a whitespace bug in your flash movies, first check the browser zoom level.
2
Feb
Sweet you have all kind of cool jQuery on your page (overlayers, tooltips, hovers, …). Then you decide to add an asp:UpdatePanel but after the Update event all your scripts are broken.
We can fix this by executing all code within jQuery(document).ready() everytime the Update event is triggered:
<asp:UpdatePanel runat="server" ID="myUpdatePanel">
<ContentTemplate>
<!-- other code -->
</ContentTemplate>
</asp:UpdatePanel>
<script type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function () {
documentReady(); //a function which contains all the code within jQuery(document).ready()
});
</script>
By Mike
17
Jan
Microsoft has presented a new toy at CES: Microsoft Surface 2.0.
About a year ago I followed an interesting surface training. Back then I also wrote a blog post on my adventure. I was very exited about this toys, because that what it is for a developer! So it did not take long before I created a first application for the LBi client afternoon. It was very interesting to see people interact with my application on a real table:
Some of the features I like about the new toy: