Set an expand title as an image
-
I am currently using the following html code to expand a menu list (as i’m using the pagebuilder plugin, CSS isn’t recognised), but want to know if there’s any way to make the Toggle itself (Lifts in London in this case) as an image? ie having a Union Jack that the site visitor clicks on which then prompts the drop down list:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en”>
<head>
<title>Toggle Test</title><style type=”text/css”>
#ToggleTarget {
display: none;
}
</style><script type=”text/javascript”>
function Toggle() {
var el = document.getElementById(“ToggleTarget”);
if (el.style.display == “block”) {
el.style.display = “none”;
}
else {
el.style.display = “block”;
}
}
</script>
</head><body>
<p>Lifts in London</p>
<div id=”ToggleTarget”>Listed
Not Listed</div></body>
</html>The blog I need help with is: (visible only to logged in users)
-
The blog you specified at http://www.sesameaccess.com does not appear to be hosted at WordPress.com.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘Set an expand title as an image’ is closed to new replies.