paht to images -- in onLoad field?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
stevenlyons
Posts: 69
Joined: Fri 2. Jul 2004, 01:46
Contact:

paht to images -- in onLoad field?

Post by stevenlyons »

In the onLoad field of Template area, what path do I use to preload images in my 'picture' folder? I am using the same path as for the normal state images (picture/image.gif), but the over state images are not preloading. Any ideas?

The actual code is more complex than I mentioned above and does include the JS function call like this:

Code: Select all

"MM_preloadImages('picture/image.gif');"
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

normally - yes. Same as when not working with phpwcms.

But do not wrap it in quotes:

Code: Select all

MM_preloadImages('picture/image.gif');
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
stevenlyons
Posts: 69
Joined: Fri 2. Jul 2004, 01:46
Contact:

Post by stevenlyons »

thanks. the quotes were the problem. works fine with no quotes.
Post Reply