![]() |
Is ghere some issue with Javascript used ina Wordpress theme?
Trying to add in a dhtml popover for an opt-in box and it totally fucks up the whole theme. Drop it into any static page and it works fine. Put it into the wordpress theme and it provides a blank page. is there some issues with javascript in the theme too? i thought javascript issues were restricted to use in posts?
|
Hard to tell without seeing the site, but NO there is no issues using Java, I've got atleast 2 that run heavy java on all pages.
|
It's probably a conflict with some other code in the theme. Simply changing the names of variables and/or divs could solve that.
|
Quote:
|
anyone see anything that could potentially interfere with wordpress in this?
Code:
<script language="JavaScript1.2"> |
it depends 100% on the scripts the theme (or your plugins) use. Sometimes some scripts conflict with others, the best way to avoid this is to use all jquery, or all scriptaculous or all mootools or whatever. Do a search for jquery noconflict and you'll find a non-conflict version that solves this kind of problems MOST of the times (not always)
bah, don't search anything, just go here Of course, you could use another theme if the above doesn't solve things. Another possibility is that you may have CSS styles overriden by some script, check out if you have CSS elements declared twice (in the same or different stylesheets) |
| All times are GMT -7. The time now is 11:52 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123