preload rollover images

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

default Macromedia RollOver JS scripts are included in frontend.js - there is no need to add these again in your head.

The body margin stuff is also no problem since a log time because you can disable the rendering of such values...

Image


Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

put JavaScript commands ONLY in pagelayout or template JavaScript onload fields like

Code: Select all

MM_preloadImages('img/david/listen-off.png');
or fill in the full

Code: Select all

<script type="javascript"></script>
into template header area.

End command by using ";" always - can solve possible problems.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

I would like to replace the current javascript rollover in the navigation menu with a real button (image) as background. Instead of a color. The little rollover image that comes in front of the menutext may disappear, I don't need that than anymore.

Is there a way, or is it allready discussed here (i can not find it), to place a image of a rounded button bahind the text? I do not mean making it yourself, but integrated in the CMS?

Yhanx
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

this is not possible. if you just want to loose the default image replace it by spacer image or nothing ;-)

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply