Title: Javascript in a page
Last modified: August 19, 2016

---

# Javascript in a page

 *  [asexton](https://wordpress.org/support/users/asexton/)
 * (@asexton)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/javascript-in-a-page-1/)
 * Hi. I am trying to get a marquee of images with links inserted into my page. 
   I tried several html codes and they weren’t “continuous”. I was able to get a
   javascript code that I think will work. I created a .js file with that code. 
   I have a headspace plugin so where it says javascript I added what I thought 
   I was supposed to. I went to my page ([http://giveaways4mommy.com/?page_id=45](http://giveaways4mommy.com/?page_id=45))
   and viewed the source and indeed saw my javascript file in the header. Now I 
   need to add it into my page. I thought I would just type in the same thing that
   was in my header and it would bring it up. I’m thinking that’s not right. What
   do I need to type into the actual page? I’ve tried to read up on this and wondered
   about using exec-php but I have no idea how to do it. Html I am starting to understand.
   Javascript…not so much.

The topic ‘Javascript in a page’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [asexton](https://wordpress.org/support/users/asexton/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/javascript-in-a-page-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
