| | #1 |
| HyperActive Warrior War Room Member Join Date: 2007 Location: , , Netherlands.
Posts: 264
Thanks: 34
Thanked 52 Times in 20 Posts
|
Hi Guys, Quick question: I have a javascript file of a Webanalytics product that I want to load on each page of my Wordpress blog (full version on my own domain) So I went to the appereance and add the javascript to my footer file. The javascript does work, however, it disable some basic functions in my wordpress blog. For example: An outside link which I configured to open in a _blank (new window) is still opening in the same window. This is very frustrating because I don't want my visitors to leave the page. Is there a way to add javascript to a Wordpress blog without complications? Thanks for the support! Dennis |
| Never overlook the chase for the almighty dollar. | |
| |
| | #2 |
| Software Engineer War Room Member Join Date: 2008 Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
|
If that script has that side effect, it is the scripts fault. Wordpress is not any different than any other system, ie, the end product is just a collection of HTML, CSS, and scripts. If the analytics script is creating a conflict, use a different analytics. I recommend Google's.
|
| I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs | |
| |
| | #3 |
| Wildly successful author War Room Member Join Date: 2008 Location: About 100 yards from Disney World. Really.
Posts: 745
Thanks: 665
Thanked 903 Times in 379 Posts
|
I've had luck putting Javascript in a single-cell table in WordPress. I'm not sure why that works, but it seems to.
|
| |
| | #4 |
| HyperActive Warrior War Room Member Join Date: 2007 Location: , , Netherlands.
Posts: 264
Thanks: 34
Thanked 52 Times in 20 Posts
|
I just found out that the error also excist when I use a non-wordpress site. Sorry for the trouble guys and thanks for the reply's! Dennis |
| Never overlook the chase for the almighty dollar. | |
| |
|
| Bookmarks |
| Tags |
| javascript, wordpress |
| |