my window comes up fine and builds a page from some PHP which is all
kosher. this is what the source of the "window" looks like:
-----------------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script type="text/javascript" src="scripts/functions.js"></script>
<script type="text/javascript" src="scripts/prototype.js"></script>
<script type="text/javascript" src="scripts/scriptaculous.js"></
script>
<script type="text/javascript" src="scripts/window.js"></script>
</head>
<body>
<style type="text/css" media="screen">.inplaceeditor-saving
{ background: url(images/loader.gif) bottom right no-repeat; }</style>
<div class="windowDiv" id="notes">My Notes: <p id="editNote"> Click to
edit Notes</p>
<script type="text/javascript">
new Ajax.InPlaceEditor('editNotes', 'saveNotes.php', {rows: 10,cols:
40});
</script></div>
</body>
</html>
--------------------------------------------------------------------
when I click, nothing happens!!
In, IE, when I click the button that creates the window I am getting "
Line: 389, Error: Object Required" after adding the code for the in
place editor... everything worked smooth before on IE/Safari browsers
Any ideas?
On a separate note, while the window is created fine on IE/Safari, in
Firefox it just creates the window <iframe> at the top of my page with
no styles whatsoever.. so if you have thoughts on that I would
appreciate it!!
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---