hi, i have a javascript rollover. On previous suggestion from the forum, i made the .js file externally, and linked it into the page. Personally, i have never needed to use an external javascript file, so i dont really know what could go wrong. All i did was copy the js code that i had up in the header, and placed it into a blank text file (using subEthaEdit). saved it as rollover.js. placed the code to link to the js file in the template. It is not a full url link, but i did try that also, as far as i can tell it sees the js file, because i pasted the url in the browsers url, it loaded the code. im not sure if there are other ways to verify it. any suggestions?
thanks
Josh
the Js code - ./uploads/java/rollover.js
or http://wareriver.com/CMS/cmsmadesimple/ ... ollover.js
javascript rollover not working
-
izzysanime
Re: javascript rollover not working
hmm, i just saw the post for litteral tags in JS. ill try that
-
izzysanime
Re: javascript rollover not working
hmm, well then i read on that i dont need {literal} if im doing an ext js file. i still tried it, nothing changed. help! ^_^
Re: javascript rollover not working
take these out of the .js file...
top
// JavaScript Document
put this in your header.....
BTW looks like you got the menu working..
mark
top
// JavaScript Document
put this in your header.....
BTW looks like you got the menu working..
mark
-
izzysanime
Re: javascript rollover not working
Awesome!, that was it!. this whole time. I always thought one was supposed to tell what kind of doc it was at the beginning, just like in HTML. but guess not.
And yes, i got the CSS menu working, except for that little line stretching across the top of the menu to the edge of the screen. ill try dealing with that later. Im surprised you remember me. ^_^
Thanks
Josh
And yes, i got the CSS menu working, except for that little line stretching across the top of the menu to the edge of the screen. ill try dealing with that later. Im surprised you remember me. ^_^
Thanks
Josh
Re: javascript rollover not working
never forget a site 
try deleting this...
#menuwrapper {
background-color: #ECECEC;
border-bottom: 1px solid #C0C0C0;
width: 100%;
}
you need none of the those..
mark
try deleting this...
#menuwrapper {
background-color: #ECECEC;
border-bottom: 1px solid #C0C0C0;
width: 100%;
}
you need none of the those..
mark

