klsbsi
07-04-2005, 01:36 AM
Hi All,
Okay- so I am a graphic/web designer and I just started adding applets to websites for my clients. No, I can't hand code. I do know how to click on the view source button and actually read through the html to find out what's wrong though - so, I beg that you please forgive me.
Okay, back to the applets. I've got the basics down, can make slight alterations to get the script to read what I want it to read but I don't know how to specify a specific css style to the output. So here I am, on my knees begging any of you bright developers to help. Here are the facts:
1. I'm designing in GoLive
2. The script I took is found here: http://www.javascriptkit.com/script...rrentweek.shtml
3. I edited the bottom of the script so that the final information reads:
document.write("This is Loss Control <b>week "+weekNo()+"<\/b> please click on <b>week"+weekNo()+".pdf<\/b> to download.")
4. It's functioning on the site but the default font (?) does not match the css styles I have on the page and it's bugging the beejeezus out of me.
So questions:
1. Is there a way to specify a specific style already living and breathing in my external css style sheet?
2. If not, is there a way to change the font style and color in the script itself - I noticed that the <b> thing tells the following font to be bold and how a similar <\/b> thing ends the bold - is there a similar way to actually set the font size and color using simple < things?
3. Does anyone know if there is a similar script available that will actually generate a live link to the appropriate .pdf file according to the current week?
I appreciate any and all help!
k
Okay- so I am a graphic/web designer and I just started adding applets to websites for my clients. No, I can't hand code. I do know how to click on the view source button and actually read through the html to find out what's wrong though - so, I beg that you please forgive me.
Okay, back to the applets. I've got the basics down, can make slight alterations to get the script to read what I want it to read but I don't know how to specify a specific css style to the output. So here I am, on my knees begging any of you bright developers to help. Here are the facts:
1. I'm designing in GoLive
2. The script I took is found here: http://www.javascriptkit.com/script...rrentweek.shtml
3. I edited the bottom of the script so that the final information reads:
document.write("This is Loss Control <b>week "+weekNo()+"<\/b> please click on <b>week"+weekNo()+".pdf<\/b> to download.")
4. It's functioning on the site but the default font (?) does not match the css styles I have on the page and it's bugging the beejeezus out of me.
So questions:
1. Is there a way to specify a specific style already living and breathing in my external css style sheet?
2. If not, is there a way to change the font style and color in the script itself - I noticed that the <b> thing tells the following font to be bold and how a similar <\/b> thing ends the bold - is there a similar way to actually set the font size and color using simple < things?
3. Does anyone know if there is a similar script available that will actually generate a live link to the appropriate .pdf file according to the current week?
I appreciate any and all help!
k