I have a project for which I used a Wicket template as a starting
point. The original example uses prototype.js.

I'm using an SVG image as a background and have included a javascript
that causes the image to always fill the background, regardless of the
client window dimensions.

This works fine in Safari 3 (Firefox doesn't display the background
image, but I'll deal with that some other time), but all browsers
exhibit the same behavior.

If I include prototype.js, I get a "value undefined" error re: the
inline resizing script:

TypeError: Value undefined (result of expression $(document).ready) is
not object.

The error points to the last line of the inline script, });. This is
line 35 in page.html. At this point, the image is simply displayed at
it's native size and does not resize

If I comment out prototype, there is no error and the resize works as
expected.

I've uploaded a zip of a tiny example to demonstrate the problem. You
can grab it at...

http://nedron.net/bgtest.zip

Any help or pointers would be appreciated.

-David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to