Integrating Dojo in blogger post
So I have been working on integrating Dojo within my blog... so here goes.
So first, I should thank this blog post on integrating an external JavaScript module within a blogger post. So essentially all the work is done in an external file. But this document still contains the markup that the dojo parser parses to render the light box.
Click on the 'Open lightbox' link below and it will open up a dojo lightbox. These are photos of a sunset I took while in Vancouver in August. Use the keyboard cursor keys to navigate through the photos.
Thats it.
So first, I should thank this blog post on integrating an external JavaScript module within a blogger post. So essentially all the work is done in an external file. But this document still contains the markup that the dojo parser parses to render the light box.
Click on the 'Open lightbox' link below and it will open up a dojo lightbox. These are photos of a sunset I took while in Vancouver in August. Use the keyboard cursor keys to navigate through the photos.
<div class="tundra">
<a href="..." dojoType="dojox.image.Lightbox" group="sunset" title="A beautiful sunset">Open lightbox</a>
<a href="..." dojoType="dojox.image.Lightbox" group="sunset" title="The colors where AMAZING"></a>
<a href="..." dojoType="dojox.image.Lightbox" group="sunset" title="Taken from my friend's apartment"></a>
<script type="text/javascript" src="http://ecodevil.net/dev/blog/blogger_lightbox.js"></script>
</div><a href="..." dojoType="dojox.image.Lightbox" group="sunset" title="The colors where AMAZING"></a>
<a href="..." dojoType="dojox.image.Lightbox" group="sunset" title="Taken from my friend's apartment"></a>
<script type="text/javascript" src="http://ecodevil.net/dev/blog/blogger_lightbox.js"></script>
Thats it.
Labels: Dojo
2 Comments:
Through this technique, can i put SVG in blogger posts?
By Ruud Steltenpool, At Nov 21, 2008, 12:20:00 PM
Sorry for the late response. Check out the new post 'Integrating SVG in blogger post'.
By Jayant, At Dec 31, 2008, 1:05:00 PM
Post a Comment
Subscribe to Post Comments [Atom]
<< Home