Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 05-27-2006, 12:24 PM   #1
Reflect_TRUTH
Major Leaguer
 
Join Date: Mar 2005
Location: Douglasville, GA
Posts: 462
Question Use code in iWeb?????

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.

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.
Reflect_TRUTH is offline   Reply With Quote
Old 05-28-2006, 03:12 AM   #2
jry106
Prospect
 
Join Date: May 2006
Posts: 7
I don't see why it wouln't work, just paste the code into a textbox and see what happends.
jry106 is offline   Reply With Quote
Old 05-30-2006, 11:10 AM   #3
Reflect_TRUTH
Major Leaguer
 
Join Date: Mar 2005
Location: Douglasville, GA
Posts: 462
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.

Further suggestions? I know i've heard of people putting code into iWeb. I just don't know what to try next.
Reflect_TRUTH is offline   Reply With Quote
Old 05-30-2006, 06:35 PM   #4
mark hunte
MVP
 
Join Date: Apr 2004
Location: Hello London Calling
Posts: 1,617
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.
Attached Files
File Type: zip Blank.html.zip (2.4 KB, 157 views)
mark hunte is offline   Reply With Quote
Old 05-30-2006, 06:54 PM   #5
Reflect_TRUTH
Major Leaguer
 
Join Date: Mar 2005
Location: Douglasville, GA
Posts: 462
Quote:
Originally Posted by mark hunte
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
Reflect_TRUTH is offline   Reply With Quote
Old 05-30-2006, 07:12 PM   #6
olealf
Triple-A Player
 
Join Date: Jan 2002
Location: Hamburg; Germany
Posts: 241
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.
olealf is offline   Reply With Quote
Old 05-31-2006, 03:28 AM   #7
mark hunte
MVP
 
Join Date: Apr 2004
Location: Hello London Calling
Posts: 1,617
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.
mark hunte is offline   Reply With Quote
Old 05-31-2006, 07:04 AM   #8
lyndonl
Major Leaguer
 
Join Date: Oct 2003
Location: Johannesburg South Africa
Posts: 254
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 is offline   Reply With Quote
Old 05-31-2006, 07:12 AM   #9
lyndonl
Major Leaguer
 
Join Date: Oct 2003
Location: Johannesburg South Africa
Posts: 254
ok a bit of wondering aroung with google and i found this
http://web.mac.com/cbrantly/iWeb/Sof...0Enhancer.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
lyndonl is offline   Reply With Quote
Old 05-31-2006, 10:32 AM   #10
Reflect_TRUTH
Major Leaguer
 
Join Date: Mar 2005
Location: Douglasville, GA
Posts: 462
Quote:
Originally Posted by lyndonl
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.


Quote:
Originally Posted by lyndonl
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 at what its doing and tell me if you see something wrong on my part.
Reflect_TRUTH is offline   Reply With Quote
Old 05-31-2006, 11:10 AM   #11
Reflect_TRUTH
Major Leaguer
 
Join Date: Mar 2005
Location: Douglasville, GA
Posts: 462
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 is offline   Reply With Quote
Old 05-31-2006, 12:19 PM   #12
Reflect_TRUTH
Major Leaguer
 
Join Date: Mar 2005
Location: Douglasville, GA
Posts: 462
I've taken down the test page linked above. If you can view the counter on my homepage listed in my signature below.
Reflect_TRUTH is offline   Reply With Quote
Old 05-31-2006, 02:02 PM   #13
mark hunte
MVP
 
Join Date: Apr 2004
Location: Hello London Calling
Posts: 1,617
Looks great , only it read

until Until our wedding day.

Last edited by mark hunte; 05-31-2006 at 02:05 PM.
mark hunte is offline   Reply With Quote
Old 05-31-2006, 11:10 AM   #14
olealf
Triple-A Player
 
Join Date: Jan 2002
Location: Hamburg; Germany
Posts: 241
Congrats! It seems it's working now.

Glad you made it, as time was running short.

Wish you luck.
olealf is offline   Reply With Quote
Old 05-31-2006, 02:37 PM   #15
Reflect_TRUTH
Major Leaguer
 
Join Date: Mar 2005
Location: Douglasville, GA
Posts: 462
ahh man. thanks for pointing that out. I'll fix it ASAP.
Reflect_TRUTH is offline   Reply With Quote
Old 06-01-2006, 01:08 AM   #16
lyndonl
Major Leaguer
 
Join Date: Oct 2003
Location: Johannesburg South Africa
Posts: 254
Now that I know it works I will try it
lyndonl is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.