« June 2009 »
S M T W T F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

You are not logged in. Log in
Open Community
Post to this Blog

Helpful Links
Angelfire Home
Register Your Domain
Angelfire's Twitter
Angelfire's Facebook

Angelfire Club Blog
Need assistance and ideas from fellow Angelfire members to help build and manage your website? You've come to the right place!
To join this Community Blog, you must be an Angelfire member. Just click the "Join this Community" link, and start posting immediately.

Hint: When posting, select a topic that most relates to your question. (News, FrontPage, HTML Questions, etc...) This will help to keep the blog organized for everyone.

View Latest Entries

Tuesday, 2 June 2009
Is javascript allowed in my blog page?

Hi,

I want to inlcude some javascript in my blog page.

It seems to work, but are there any restrictions?

e.g. in HTM view paste in some javscript sample code:

 

<html>
<head>
<script type="text/javascript">

function PrintDate() {
  today = new Date();
  document.write('Date: ', today.getMonth()+1, '/', today.getDate(), '/', today.getYear());
}

</script>
</head>

<body>
<p align="right">
<script type="text/javascript">

PrintDate();

</script>
</p>
THE REST OF YOUR PAGE.
</body>
</html>
 

 


Posted by malcs123 at 11:05 AM EDT | Post Comment | View Comments (4) | Permalink | Share This Post

Tuesday, 2 June 2009 - 5:12 PM EDT

Name: "cw"

restrictions by AF/ Lycos? No. but if you have a free account some scripts may not work because of conflicts with the scripts used for ads.  Any script with an OnLoad event will likely conflict at free accounts.

also, if you're using an AF blog, your scripts should be added to the advanced customization templates unless you just want the script in a particular entry and the script only needs to go into the body section of the html, not the head). And you should be adding JUST the script  and not the duplicate tags thatare already  in your blog html... like <html><head><body> and their paired closers etc.

Just try them. If they work, they work. But be careful to follow html document structure. You never know how bad html may display for someone else even if it displays OK for you.

Tuesday, 26 November 2019 - 11:49 PM EST

Name: "https://plex.software"
Home Page: http://https://plex.software

hank you so much for this. I was into this issue and tired to   tinker around to check if its possible but couldnt get it done. Now that i have seen the way you did it, thanks guys
with
regards

Tuesday, 26 November 2019 - 11:50 PM EST

Name: "https://kodi.software/"
Home Page: http://https://kodi.software/

u so much for this. I was into this issue and tired to   tinker around to check if its possible but couldnt get it done. Now that i have seen the way you did it, thanks guys
with
regards

Tuesday, 26 November 2019 - 11:51 PM EST

Name: "https://luckypatcher.pro/"
Home Page: http://https://luckypatcher.pro/

u so much for this. I was into this issue and tired to   tinker around to check if its possible but couldnt get it done. Now that i have seen the way you did it, thanks guys
with
regards

View Latest Entries