jdrop
New Member
Posts: 7
|
Post by jdrop on Jun 19, 2008 22:29:38 GMT -5
Here I go again with another headache. I'm a very amatuer web-dude and a full time firefighter... and I'm having a problem with our site again. I use GM as a sorta content manager... and now I'm having an issue since I upgraded GM: the rollover images I use through Dreamweaver MX will not work with GM. I don't really know enough about Javascript and Perl and the like to get too deep in the code... but it seems kinda silly that something that's as typical as a rollover image (and Dreamweaver) would be nulled out by GM. My site is at www.hamtramckfirefighters.com/index2.html and the latest is www.banditems.com/windingcreekhoa -- both nav/menu's use rollover images.. that don't work with GM. Any suggestions? THanks in advance. JD
|
|
|
Post by coldstone on Jun 20, 2008 10:02:39 GMT -5
When I look at the source of the second site I noticed that the javascript gives errors. If you look at the code, you will see:
function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { ...
The '& amp;& amp;' near the end of the second line is Greymatter mangling the javascript. It should be '&&'. This is something I will look into fixing for the next release. The way to get around this currently is to look for '& amp;& amp' (without the space after the '&' character) and change it into '|AMP||AMP|'.
Or another solution is to keep your javascript file in a 'library' file and include it at the top of you page in greymatter (similar to including an external css file).
|
|
jdrop
New Member
Posts: 7
|
Post by jdrop on Jun 20, 2008 10:20:26 GMT -5
Created the .js file... wasn't as hard as I thought it could've been. Thanks.
|
|