![]() |
Adding div elements with JavaScript
I have a page which lists information on courses Link. I am trying to create a back to top link after the information for each course.
Each section describing a course looks like this :
Any hints or tips are welcome. |
Place something like:
:
:
|
I know I can do that. However I am looking for a way to automatically add that link after every section describing a class. I hope this clears things up.
|
Oh, I see. I'd recommend first getting Prototype, which is a widely used javascript library that makes tasks like these so much easier. And then maybe something like:
:
|
I actually figured it out, but it was much messier than what you did. I think I will check out Prototype.
Thanks. |
| All times are GMT -5. The time now is 8:34 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC