You need to Register for free and Login to post a message in the forum.

Forum

Subject: sIFR and Snapsis Navmenu
Prev Next
You are not authorized to post a reply.

Author Messages
andyb1979
Nuke Ace
Nuke Ace
Posts:56

01 Apr 2008 5:01 AM  

Hi all, here's another of my random problems I can't seem to solve! ...

I am developing a dotnetnuke site using the snapsis navmenu to provide a simple horizontal menu. I would like to use sIFR to replace the font on the menu items. Below is a screenshot of how my menu currently looks: 

Photobucket 

If I do a straight replace on the links on the menu using sIFR, this is what I get:

 Photobucket

 

Yikes!!!

I was wondering if anyone has successfully used sIFR with navmenu to replace the font, and if so, how did they do it? Does it require modifying the markup outputted by the NavMenu component (is this even possible?). To be honest, if this is really hard I won't bother, as the menu looks good as it is. It would be nice to be able to do this though

Any help would be greatly appreciated,

Thanks!!

 

For reference, the markup used to embed the snapsis navmenu and the css used to style it are included below:

Snapsis:NavMenu class="adminHostList" ID="AdminHostList" Level="0-1" Type="SelectList"IncludeTabs="Admin,Host" runat="server" />

/* CSS styles for Main menu container */
#snapsis_nav ul
{
    padding:0;
    margin:0;
    list-style:none;
    float:left;   
    background-color:Transparent;
}

/* Main menu items */
#snapsis_nav li
{
  position: relative;
  float:left;
  line-height:39px;
  width:8em;
  list-style: none; 
  font-size:1em;
  border-right:1px solid #444;
}

/* First level links */
#snapsis_nav a
{
font-size:1em;
font-weight:bold;
display:block;
    text-decoration:none;
    text-align:center;     
    width:auto;
    height:39px;
    padding:0;
    color:#DDD;
    background-color:Transparent;
}

/* First level menu links-hover */
#snapsis_nav li a:hover
{
background:transparent url(images/nav_bar_mo.gif) repeat-x;
}

/* Second level menu container */
#snapsis_nav li ul
{
line-height:1.25em;
position: absolute;
left: -999em;
height:auto;
margin:18 0 0 0;
    background:transparent;
border:1px solid #000;
}

/* Second level menu items */
#snapsis_nav li li
{
    margin:0;   
width:13em;
line-height:2.0em;
height:auto;
background:transparent url(images/sub_nav.png) repeat;
}

/* Second level menu links */
#snapsis_nav li li a
{
width:13em;
margin:0;
    padding:2px 0 2px 0;
    height:auto;       
    border-bottom:1px solid #404040;
    border-right:0px;
}


Sites I made thanks to DNNCreative vids!
Rock Rhyme & Reason Fest | The Big Match
jncraig
Nuke Master II
Nuke Master II
Posts:2032

01 Apr 2008 8:31 AM  
If you haven't done so already, scoot over to snapsis.com and ask for help. John Mitchell is usually quite prompt and very good.

Joe Craig
DNN Creative Support
Subscribe to the website
andyb1979
Nuke Ace
Nuke Ace
Posts:56

02 Apr 2008 10:21 AM  
Thanks Joe,

I've posted over at snapsis and so far have been advised to upgrade to sIFR 3. Im giving that a go and will see what happens.

http://www.snapsis.com/Support/tabid/601/forumid/7/postid/9192/view/topic/Anyone-successfully-used-sIFR-with-navmenu.aspx

Cheers,

AndyB

Sites I made thanks to DNNCreative vids!
Rock Rhyme & Reason Fest | The Big Match
leesykes

Posts:3002

07 Apr 2008 3:13 AM  
Hi Andy,

I noted in the snapsis forum that you discovered rendering time to be slow when you applied the styles to the entire menu. - remember, sIFR is only designed to replace small elements of text within your page, for instance a few header tags. - For lots of text in a menu, you are going to get a performance hit and I would explore other methods ie. just standard text, or, as you mention in your forum post using images , thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
andyb1979
Nuke Ace
Nuke Ace
Posts:56

07 Apr 2008 4:08 AM  
Hi Lee,

Yes Im aware that you shouldn't overdo sIFR. Im only really using it for about 5-10 elements per page (mainly headings) and it works ok for me. Im happy to leave the menu as it is with a normal font.

I would if I could add images to the menu, but I don't know how to add images to a snapsis enabled menu. If you could shed any light on this, I'd be very grateful!


Sites I made thanks to DNNCreative vids!
Rock Rhyme & Reason Fest | The Big Match
leesykes

Posts:3002

07 Apr 2008 5:27 AM  
Yes just had a look at the site and it looks good!

I've not experimented with images in snapsis yet, a quick question over in their forum will probably give you some tips, but to be honest, I think the menu looks good as it is, and text rather than images will ensure that the page loads as quickly as possible

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
You are not authorized to post a reply.
Forums > Users Lounge > DNN Creative Articles > sIFR and Snapsis Navmenu



ActiveForums 3.7

Latest Forum Posts

DNN - web services not working by paulrobinson
Good Afternoon,Please help.  I have just installed my DNN web site to my dedicated live host machine...
[HOUSEMENU] token not working by whred5
HiI have been playing around with the Lazy_Days skin in an effort to learn css based skinning, I hav...
RE: Building a website with DNN by freedom22
Lee or Joe, I meant that the skin.css file I downloaded has classes like .main_dnnmenu_item td w...
RE: Building a website with DNN by freedom22
Lee, thanks for your reply. I did find the files. I am going through your tutorail, and in video7...
RE: page publish date by leesykes
I would suggest you view these tutorials:User Accounts new features User Accounts and User Settings ...
RE: page publish date by jncraig
I'm not quite sure that I understand you, but ... on the user accounts page there are these options:...
RE: Best so far for me by jncraig
I like the Snapsis CSS Nav Menu. You'll find it at Snapsis.com.
RE: How to limit access to the admin menu.... by leesykes
Hello,Simply reverse the process, you can copy the settings from one of the other admin menu items t...
RE: How to limit access to the admin menu.... by tallorder
Shame about the parent page drop down being grey out since any Site Administrator is going to want t...
RE: Host and Admin user login not working on remote host by paulrobinson
A couple of quick questions: 1. Can I format the login page to the same as my other Text/HTML mo...
RE: Host and Admin user login not working on remote host by leesykes
Hello,Great, glad to help, have you had a look here for some SEO articles and interviews
RE: A question about permission? by leesykes
ok great, glad to help,
RE: A question about permission? by derpir
Your e-mail helped thanks I now have all my permissions set as they should. thanks
RE: Host and Admin user login not working on remote host by paulrobinson
Lee, Thanks for your help on this - there was actually a character dropped off the end of the machi...
RE: A question about permission? by derpir
one question... After getting the permissions... Shouldn´t I be able to do all my development at...
RE: Solpartmenu and line breacks by leesykes
Hello,If you have a look in the CSS Reference Book p108Word-wrapThis is an Internet Explorer 5.5 or ...
RE: A question about permission? by derpir
Thank you Lee! I sent your reply suggestion and I hope they will understand better what I wanted fr...
RE: A question about permission? by leesykes
hello,In order for DNN to operate correctly it needs full read and write permissions for the Network...
RE: Host and Admin user login not working on remote host by leesykes
you will be able to register as a new user if the machine keys are incorrect, but can you login as a...
RE: centering a page in dnn by leesykes
Yes I have not come across a solution to that either and I think it occurs in all browsers.Thanks,
AppTheory
RSS Feeds