Why is it the people making browsers feel they all have to make theirs render pages differently than the next guys browser?...
As you can see I've been working on the look of my site, I still have somethings to do...
The Blog Module is alive and well and living on a couple of sites now...
The new YourName.com site is currently under construction. We are sorry for any inconvenience.
Imap2
This will Position the link boxes and the image's in the "Imapmenu" layout.
In the Menu "template='imaphoriz' " you will notice the id=" " , class=" " , and title=" " , this is where those come into play.
example:
<li id="pic{$node->id}"><a id="a{$node->id}" title="{$node->menutext}"{/if}href="{$node->url}">{$node->menutext}</a>
the first 2 pic and a have {literal}{$node->id} which works out better if you have "Two Word" menutext, i had to run it once to find the page numbers id , I found out the hard way "Two Word" page titles or menu text will break this, just leave the last {$node->menutext} or your Drop Downs will not have any words,
this is what they look like,
<li id="pic15"><a id="a15" title="Imap1" href="http://www.multiintech.com/cmsite/index.php?page=imap1">Imap1</a></li>
The Imap;
/* set the size of the unordered list <ul> and add the background image */ /*these are to comment out the comments, so they don't get read by the browser, if you don't need the comments you can delete it.*/
#imap {
display:block;
width:655px;
height:39px;
background: url(uploads/theme/menubak.jpg) no-repeat;/* main image*/
position:relative;
}
/* set up the unordered list <ul><a> to hold the background image for the hover state */
#imap a#title {
display:block;
width:655px;
height:0px;
padding-top:0px;
verflow:hidden;
position:absolute;
left:0;
top:0;
background:transparent 400px 400px;
cursor:default;
}
/* the hack for IE pre IE6 */
* html #imap a#title {
height:39px;
he\ight:0;
}
/* the <ul><a> hover style to move the background image to position 0 0 */
#imap a#title:hover {
background-position: 0 0;
z-index:10;
}
/* place the <li>s in the correct absolute position */
#imap li{
position:absolute;
padding:0;
margin:0;
}
#imap #pic15 {/* this is the first id= */
left:1px; /* because this is a horizontal menu we are going to move the blocks to the left, the next one is 'left' as many 'px' as the width of the image, plus the '1px'. just keep adding the last one on for the next one, even if they are not the same size. if this was a vertical menu we would be using the " top:0px " to move them from the top down */
top:0px;
z-index:20;
}
#imap #pic29 {
left:116px;
top:0px;
z-index:20;
}
#imap #pic19 {
left:224px;
top:0px;
z-index:20;
}
#imap #pic21 {
left:332px;
top:0px;
z-index:20;
}
#imap #pic24 {
left:440px;
top:0px;
z-index:20;
}
#imap #pic43 {
left:548px;
top:0px;
z-index:20;
}
/* style the <li><a> links physical size and the background image for the hover */
#imap a#a15 { /*this is the second id=*/
display:block; /*this is so the link is as big as the box it's in and the size of the image.*/
width:112px;
height:38px;
background:transparent url(uploads/theme/button1_over.jpg) -100px -100px no-repeat; this moves them up and left, out of the way till we need them.
text-decoration:none;
z-index:20;
}
#imap a#a29 {
display:block;
width:108px;
height:38px;
background:transparent url(uploads/theme/button2_over.jpg) -100px -100px no-repeat;
text-decoration:none;
z-index:20;
}
#imap a#a19 {
display:block;
width:108px;
height:38px;
background:transparent url(uploads/theme/button3_over.jpg) -100px -100px no-repeat;
text-decoration:none;
z-index:20;
}
#imap a#a21 {
display:block;
width:108px;
height:38px;
background:transparent url(uploads/theme/button4_over.jpg) -100px -100px no-repeat;
text-decoration:none;
z-index:20;
}
#imap a#a24 {
display:block;
width:108px;
height:38px;
background:transparent url(uploads/theme/button5_over.jpg) -100px -100px no-repeat;
text-decoration:none;
z-index:20;
}
#imap a#a43 {
display:block;
width:108px;
height:38px;
background:transparent url(uploads/theme/button6_over.jpg) -100px -100px no-repeat;
text-decoration:none;
z-index:20;
}
/* move the link background image to position 0 0 when hovered, back in front so we can see the :hover image, */
#imap a#a15:hover, #imap a#a29:hover, #imap a#a19:hover, #imap a#a21:hover, #imap a#a24:hover, #imap a#a43:hover {
background-position:0 0;
}
Next the DropDown for layered menu;