Get text of select box
<style>
a.disabled {cursor: default;color: #ccc;text-decoration: none;}
</style>
<script type="text/javascript">
var linkids=["href800 Series1","href1000 Series4","href1200 Series8"]
function activLink(b){
for (var i=0; i<linkids.length; i++){
               document.getElementById(linkids[i]).onclick=function(){return b}
               document.getElementById(linkids[i]).disabled=!b
               }
}
window.onload = function() {
activLink(false);
}
function activLink(b){
for (var i=0; i<linkids.length; i++){
               var thisLink = document.getElementById(linkids[i]);
               thisLink.onclick = function() { return b }
               thisLink.className = (b == true) ? '' : 'disabled';
               }
}
</script>
Â
This javascript will disable links with the ids in the list
Finally got around to making some changes to the blog so it should look a little more like my actual site, and also I decieded to add the sitemap for my blog to Google Webmaster tools found a nice how to on this site
Adding Google sitemap to blogger.com blog account
Valid Google Calender that works isn't that hard, just I never really bothered before. Well the code for this is still using conditional statements
<!--[if !IE]> -->
<object type="text/html" data="http://www.google.com/calendar/embed?src=[your account]&title=[Your Title]&chrome=NAVIGATION&height=565" style=" border-width:0 " width="560" height="565">
<!-- <![endif]-->
<!--[if IE]>
<iframe src="http://www.google.com/calendar/embed?src=[your account]" style="border: 0" width="560" height="565" frameborder="0" scrolling="no"></iframe>
<!--><!--dgx-->
</object>
<!-- <![endif]-->
Something that has been bothering me for a while is creating a site that is valid but still viewable in IE, well at the site of http://knowhow.dgx.cz/eolas-workaround/
I found a workaround that goes like
<!--[if !IE]> -->
<object type="application/x-shockwave-flash" data="http://card.mygamercard.net/Emergence.swf" width="198" height="135">
<!-- <![endif]-->
<!--[if IE]>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="198" height="135"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="http://card.mygamercard.net/Emergence.swf" />
<!--><!--dgx-->
<param name="loop" value="true" />
<param name="menu" value="false" />
<p>This demo requires Flash Player.</p>
</object>
<!-- <![endif]-->
<!--[if IE]><script type="text/javascript" src="http://joshknutson.net/global/fix_eolas.js" defer="defer"></script><![endif]-->
Yes I realize that I am really behind on blogging lately, I could say a lot of reason of why but they are all excuses. Maybe my computer is just too far away from me sometimes. In any case I have been busy at work, busy at home it seems. Deer hunting is almost upon me which I am excited about. I keep meaning to throw up some code examples especially some xlst things which I have been working on but sometimes they don't work the best for me...especially when I am trying to run away from tables.
Oh at work I had to use stylevision and I want to know who makes a product to work with code where you can't actually edit the source. There were so many times where it was faster just to open the sps file in Textpad or Notepad++ and edit the elements in there. Since sometimes I think stylevision has its own mind and you have to bend to its will, which really isn't a good thing as creativity can be restricted.
On My website I removed the Other page but it still kinda exists but not its usual form. Since I wanted the more important links to be seen at first glance thats why you can now view my places on the web on the sidebar. I am still debating if I should do an update to the site. I am uncertain as what I should do, maybe I'll just grab a template from some other site.
Till next time