AlexDobbsBlog
code that is going to solve a lot of problems
Categories: Uncategorized

<script type=”text/javascript”>

<a href=”#anchorID” onclick=”document.getElementById(‘#divID‘).innerHTML = ‘<iframe src=’www.blabla.com/bla.html’></iframe>‘;”>linkInMenu</a>

</script>

that seems about syntax right????? eh… it’s late… I’ll polish it up when I do it….

but you sorta get the idea… I made all the names of stuff grey so you can see the gears and bolts of the code in black… I like it because you don’t even need to know what it is and you can read what it is doing…

annnnnnnnnnd I think that is the code that will make it so iframes containing the websites in my portfolio site here load up only when you click on the link to them in the menu… which you have to click on anyways… thus killing two birds with one stone…. one load time won’t be so bad on the initial loading by pacing off 5 or 6 of the boxes leaving the little bits of content to load up quicker and smoother allowing the user to dive into the site more fluidly and instantly… and two the flash sites that do have load sequences finally get to shine a little… you can watch the ship sink in the harbor, the diamond davinci starbursting eye open up, the cheese ball load animation for the heart doctor site, and the nice little fade in sequence for the prince dimitri site… it’s all going to be there…

Leave a Reply

You must be logged in to post a comment.