aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/bookmarks/views/default/bookmarks/bookmarklet.php13
-rw-r--r--views/default/css/elements/core.php13
2 files changed, 11 insertions, 15 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/bookmarklet.php b/mod/bookmarks/views/default/bookmarks/bookmarklet.php
index b1929486d..1e11ed1ca 100644
--- a/mod/bookmarks/views/default/bookmarks/bookmarklet.php
+++ b/mod/bookmarks/views/default/bookmarks/bookmarklet.php
@@ -23,10 +23,11 @@ if (!$name && ($user = get_loggedin_user())) {
<h3><?php echo elgg_echo('bookmarks:browser_bookmarklet')?></h3>
<a href="javascript:location.href='<?php echo elgg_get_site_url(); ?>pg/bookmarks/<?php echo $name; ?>/add?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"> <img src="<?php echo elgg_get_site_url(); ?>_graphics/elgg_bookmarklet.gif" border="0" title="<?php echo elgg_echo('bookmarks:this');?>" /> </a>
<br />
-<a class="link" onclick="elgg_slide_toggle(this,'#elgg-sidebar','.bookmarklet');">Instructions</a>
-
-<div class="bookmarklet hidden">
- <p><?php echo elgg_echo("bookmarks:bookmarklet:description"); ?></p>
- <p><?php echo elgg_echo("bookmarks:bookmarklet:descriptionie"); ?></p>
- <p><?php echo elgg_echo("bookmarks:bookmarklet:description:conclusion"); ?></p>
+<div class="elgg-discover">
+ <a class="link">Instructions</a>
+ <div class="elgg-discoverable">
+ <p><?php echo elgg_echo("bookmarks:bookmarklet:description"); ?></p>
+ <p><?php echo elgg_echo("bookmarks:bookmarklet:descriptionie"); ?></p>
+ <p><?php echo elgg_echo("bookmarks:bookmarklet:description:conclusion"); ?></p>
+ </div>
</div> \ No newline at end of file
diff --git a/views/default/css/elements/core.php b/views/default/css/elements/core.php
index e8e18bec3..2e47b9283 100644
--- a/views/default/css/elements/core.php
+++ b/views/default/css/elements/core.php
@@ -126,20 +126,15 @@ h2 {
.elgg-tagcloud {
text-align:justify;
}
-
-
-.right {
- float: right;
+.elgg-discover .elgg-discoverable {
+ display: none;
}
-
-.left {
- float: left;
+.elgg-discover:hover .elgg-discoverable {
+ display: block;
}
-
.elgg_hrt {
border-top: 1px solid #CCCCCC;
}
-
.elgg_hrb {
border-bottom: 1px solid #CCCCCC;
}