Ok, I am back with a second question for all of you. I have blocks
similar to how iGoogle sets up their personalized home page on a web
site. I have set up controls to HIDE and SHOW blocks using BlindUp and
BlindDown. The HTML code for this is included below:
<div class="profiles-content" id="block_4">
<div class="profiles-header" id="header_4">My
Business...</div>
<div id="content_holder_4">
<div class="profiles-text" id="content_4">THIS
BLOCK IS AFFECTED
BY BLINDUP and BLINDDOWN</div>
</div>
<div class="profiles-editor"><a
href="javascript:editContent(''4'');"
class="orangebutton" id="edit_4">Edit</a> <a
href="javascript:hideContent(''4'');"
class="greenbutton"
id="hide_4">Hide</a> <a
href="javascript:removeContent(''4'');"
class="orangebutton">Remove</a> </div>
</div>
My scripts make an AJAX call to update the database that the block
should be hidden, then the onSuccess function has:
onSuccess: function(transport)
{
new Effect.BlindUp(''content_''+id,
{
afterFinish: function()
{
$("update_message").update(transport.responseText);
$("block_help").scrollTo();
Effect.Pulsate(''block_help'');
button.update("Show");
button.href = "javascript:showContent("+id+")";
}
});
}
Bascially, it does a blind up, updates another box with a note of what
they did, scrolls to and pulsates that block, then changes the button
in the HTML above to say "SHOW" and change the href to call a
showContent block which bascially does the same thing using BlindDown.
So, it works in Firefox, Safari, Opera, and Flock, but when you try it
in IE 6 or 7, the hide function works, it updates the database, hides
the code and changes the button. Problem is, once it is done, NONE of
the buttons work anymore. They are still visible but you can not click
on them, like they are behind another container. I have changed the Z-
Index on the button container to no avail. Anyone have any idea?
Sorry, the site is for members only and I can not easily provide
access to a working example without a lot of work. I will do it if
that will help, but I figure this is a simple problem that someone can
help me with.
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---