Welcome visitor
* Login
* Register
It is currently March 23rd, 2019, 8:27 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  A Beginner Question
PostPosted: April 4th, 2009, 12:58 am 

Posts: 56
Hello,

Im a beginner on the html language and I want to know if its possible to do something when the page is accessed by the users, like showing an animation.

I would appreciate a simple and useful answer. Thank you.


Top
 Profile  
 
  Re: A Beginner Question
PostPosted: April 4th, 2009, 1:05 am 
User avatar

Posts: 136
yes its possible using javascript.

the first tag calls the animation when the page is loaded.
the animation is an object on your website, the second tag shows how to name it so you can call it on the first tag.
<body onLoad="document.getElementById('animation').style.display = 'inline';">
<object id="animation"....>

the object tag should be more specific, like specify a source, etc. hope this helps you for the onLoad thing.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron