Tuesday, May 20, 2008

One Local Summer - now with button!

(I just learned how to put the link into the button. The real trick will be doing it twice!)


Robin said...

How DO you link the button? Please enlighten me! I can't figure it out!

Anne said...

First I saved the image from the original site, then used the "add image" option on blogger to post it. That gave me the following (I replaced < and > with these [ ] so as not to be actual code.)

[a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_GzdB7cRFSok/SElOlX5z2_I/AAAAAAAAADk/WgKYn_pTW2I/s1600-h/button.jpg"][img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_GzdB7cRFSok/SElOlX5z2_I/AAAAAAAAADk/WgKYn_pTW2I/s320/button.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5208780848009305074" /][/a]

Then I replaced the following string: http://bp3.blogger.com/_GzdB7cRFSok/SElOlX5z2_I/AAAAAAAAADk/WgKYn_pTW2I/s1600-h/button.jpg

with this: http://farmtophilly.com/index.php/site/C21/
which is the link for the OLS challenge on the website.

That is really confusing, wasn't it!

It was really a matter of figuring out where the button sent you to when you clicked it, finding that url in the code, then replacing it with the appropriate url. I hate using buttons that won't take you to information about what they're for!