How to apply javascript to specific forumotion pages?
3 posters
Page 1 of 1
How to apply javascript to specific forumotion pages?
Hello, I came across a topic on another support forum regarding selectors for forumotion pages. I was wondering how can we apply javascript to these pages? It's simple for pages like the homepage as you just tick the checkbox, but for something that requires if(document.url) or if(document.getElementbyId) is there no option?
Last edited by GAT:TEA on March 7th 2012, 6:21 am; edited 1 time in total
GAT:TEA- Forumember
- Posts : 71
Reputation : 13
Language : English
Location : Chicago
Re: How to apply javascript to specific forumotion pages?
Hi,
You can do it by adding javascript to all pages. The script should be able to check current page URL and decide whether to run on that page or not.
You can do it by adding javascript to all pages. The script should be able to check current page URL and decide whether to run on that page or not.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: How to apply javascript to specific forumotion pages?
Alright, thank you very much,ankillien , you've been very helpful. This is solved.
GAT:TEA- Forumember
- Posts : 71
Reputation : 13
Language : English
Location : Chicago
Re: How to apply javascript to specific forumotion pages?
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Using javascript to open a specific page at the bottom.
» Javascript Won't Work for "All Pages"
» Javascript in all pages problem
» Javascript Pages Question
» Thanks Like Forumotion JavaScript Not working
» Javascript Won't Work for "All Pages"
» Javascript in all pages problem
» Javascript Pages Question
» Thanks Like Forumotion JavaScript Not working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum