View Full Version : Use code in iWeb?????
Reflect_TRUTH
05-27-2006, 11:24 AM
Is it possible to use code in one of my pages created and published through iWeb? I'd like to add a countdown timer such as the one seen here (http://www.freeflashtoys.com/countdown.html).
P.S. This countdown isn't the classiest looking thing. I'm open to better recommendations if you know of one.
Thanks for all your help! I brag about you guys to my friends all the time. And this remains the first thing I recommend when my friends first "switch" to a Mac. You're appreciated. :D
jry106
05-28-2006, 02:12 AM
I don't see why it wouln't work, just paste the code into a textbox and see what happends.
Reflect_TRUTH
05-30-2006, 10:10 AM
I pasted the code into the textbox, but it did not work correctly. Instead of displaying the countdown timer it just shows the code. Does iWeb convert its text to image files? If so, I'm wondering if that has something to do with it.
However, when viewing the site in my web browser, it does allow to click on the hyperlink found within the code. Then the counter opens in a new window.
Please take a look at referenced page HERE (http://web.mac.com/reflectionoftruth/iWeb/Daniel%20%26%20Jaclyn/Blank.html).
Further suggestions? I know i've heard of people putting code into iWeb. I just don't know what to try next.
mark hunte
05-30-2006, 05:35 PM
I would make the page without the countdown first.
Then open the page in something like Textwrangler , and put the embed
text in from there.
I just did a quick edit of your page that way. and the countdown works.
Reflect_TRUTH
05-30-2006, 05:54 PM
I would make the page without the countdown first.
Then open the page in something like Textwrangler , and put the embed
text in from there.
I just did a quick edit of your page that way. and the countdown works.
I'm not familiar with the method youre mentioning. Could you be a little more specific for me.
THanks
olealf
05-30-2006, 06:12 PM
I think what Mark means is that you make your page in iWeb and then open it with a text editor (like TextWrangler) to edit the source code of the page and insert the code for the counter (this will be difficult without some knowledge of html coding). Save it and publish it with iWeb.
Could be that you have to do it again every time you edit the page in iWeb but I'm not sure since I never used iWeb.
mark hunte
05-31-2006, 02:28 AM
That's exactly what I mean. thanks.
Try the page I edited, on your site.
It should pick up the other items on the page from the site.
Lets hope you only get Married the once so do not have to re-edit this page again. :D
lyndonl
05-31-2006, 06:04 AM
Yip its the only way I know of doing it. create the page then edit afterwards in something else, Its the one thing I wish iWeb had was a "code box"
drag the box to where you want is and add the code.
its an easy way of adding a banner or somehting if you have the need to do so.
lyndonl
05-31-2006, 06:12 AM
ok a bit of wondering aroung with google and i found this
http://web.mac.com/cbrantly/iWeb/Software/iWeb%20Enhancer.html
its called iWeb Enhancer looks like it will do what you want it to do, i think
also found this site with info on how to add various bits to your iWeb site
http://www.rowan-cottage.co.uk/Site/Articles.html
Reflect_TRUTH
05-31-2006, 09:32 AM
found this site with info on how to add various bits to your iWeb site
http://www.rowan-cottage.co.uk/Site/Articles.html
Thanks for sharing this link. It looks very promising. Im gonna try out a few tips mentioned there.
ok a bit of wondering aroung with google and i found this
http://web.mac.com/cbrantly/iWeb/Sof...0Enhancer.html
iWeb Enhancer
This definitely looks like it should do exactly what I am needing. However, I followed the steps (2) just as it says but with no results.
Please take a look (http://web.mac.com/reflectionoftruth/iWeb/Daniel%20%26%20Jaclyn/Blank.html) at what its doing and tell me if you see something wrong on my part.
olealf
05-31-2006, 10:10 AM
Congrats! It seems it's working now.
Glad you made it, as time was running short.
Wish you luck.
Reflect_TRUTH
05-31-2006, 10:10 AM
Ok guys! I got it to work. And for the record, here's what I was doing wrong.
iWeb Enhancer asks you to choose your site folder. Well, I was choosing the data file saved on my hard drive when I needed to choose the folder where iWeb is actually published.
Just a silly mistake that I overlooked.
Thanks for all your help and feedback on this.
Reflect_TRUTH
05-31-2006, 11:19 AM
I've taken down the test page linked above. If you can view the counter on my homepage listed in my signature below.
mark hunte
05-31-2006, 01:02 PM
Looks great , only it read
until Until our wedding day.
Reflect_TRUTH
05-31-2006, 01:37 PM
ahh man. thanks for pointing that out. I'll fix it ASAP.
lyndonl
06-01-2006, 12:08 AM
Now that I know it works I will try it :)
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.