Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Solpart menu IE/FF gaps and separator itemSolpart menu IE/FF gaps and separator item
Previous
 
Next
New Post
5/17/2006 9:05 AM
 
hooligannes wrote

Assuming it's an ascx file separator="xx" would give you what you want except if xx = are characters that need to be casted as Data like

Hi again... just tried it out again... I have this menu in my ascx:

        <dnn:MENU runat="server" id="dnnMENU"
         userootbreadcrumbarrow="false"
         usesubmenubreadcrumbarrow="false"
         separator="<![CDATA[&nbsp;|&nbsp;]]>"
          />

But no | separator appears.. very odd. If I remove the quote marks the whole skin fails. Am I missing something else here?

 
New Post
5/17/2006 9:10 AM
 
Try it without the CDATA wrapper if you do it directly in the ascx file you shouldn't need that.

DotNetNuke Modules from Snapsis.com
 
New Post
5/17/2006 9:54 AM
 
jmitchell wrote
Try it without the CDATA wrapper if you do it directly in the ascx file you shouldn't need that.
Sorry about that, somehow my last few words were cut off. Should have proofread my reply.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
5/30/2006 3:58 PM
 

Dear DNN-guys

First, I've examinated Version 1.6.1.0 of the solpartmenu.
(If I do it not good, give me a answer...)

Let us have a look at the rootmenu.
A RootMenuItem is a table with one row and two colums (only things that give the layout...)

Horizontal menu
<td>
<table width="100%" CELLPADDING="0" CELLSPACING="0" border="0">
    <tr class="spmbar spmitm MenuBar cssMenuItem MenuItemCSS savecss="MenuItemCSS" saveselcss="MenuItemSelCSS" style="MenuItemStyle">
        <td NOWRAP="NOWRAP" TITLE="">MenuItemImage MenuItemLeftHTML-OR-&nbsp; MenuItemName MenuItemRightHTML</td>
        <td align="right" class="spmrarw cssMenuRootArrow">RootArrowImage-AND-&nbsp;</td>
       </tr>
</table>
</td>

Vertical menu
<tr>
    <td>
    <table width="100%" CELLPADDING="0" CELLSPACING="0" border="0">
        <tr class="spmbar spmitm MenuBar cssMenuItem MenuItemCSS savecss="MenuItemCSS" saveselcss="MenuItemSelCSS" style="MenuItemStyle">
            <td NOWRAP="NOWRAP" TITLE="">MenuItemImage MenuItemLeftHTML-OR-&nbsp; MenuItemName MenuItemRightHTML</td>
            <td align="right" class="spmrarw cssMenuRootArrow">RootArrowImage-AND-&nbsp;</td>
        </tr>
    </table>
    </td>
</tr>

What do we see?...

1 ::
As you will set a special class in the td of this table than you must use:
    classname td {}
or
    classname td img{}
or
    classname img.

2 ::
Solpart have a MenuItemImage then solpart return
    <img src="MenuItemImage.gif">
Solpart have not a MenuItemImage then solpart return
    'spacer.gif'

3 ::
Solpart have a leftHtml then solpart return
   
LeftHtml
Solpart have not a leftHtml then solpart return
    '&nbsp;'

4 ::
The name of the MenuItem
I've not yet found it, but it seems that there is always a return before the MenuItemName and a return after the MenuItemName.
That means that there is always a gap within the td-tag. And this renders different in IE and in FF.

5 ::
Solpart have a rightHtml then solpart return
    RightHtml
Solpart have not a rightHtml then solpart return
  '' [nothing]

6 ::
Solpart have a RootMenuArrowImage then solpart return
    RootArrowImage and a '&nbsp' after it
Solpart have not a RootArrowImage then solpart return
    '&nbsp;'

Here you have an example of a selected RootmenuItem as it was rendered in FF (extraced with FireFox View Formated Source plugin) (only things that give the layout).
<td>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
   <tbody>
   <tr saveselcss="RtMnItHo" savecss="RtMnItAc" class="spmbar spmitm MnBar RtAndSuMnItNo RtMnItAc">
      <td nowrap="NOWRAP" title="Design">
      <img src="spacer.gif">  [No MenuItemImage]
      <img class="RtMnItLeHtml" src="RtMnItLeHtml.gif" alt="rootmenuitemlefthtml">
      <img class="RtMnItBrArrw" border="0" src="RtMnItBrArrw.gif" alt="*">

      Design

      <img class="RtMnItRiHtml" src="RtMnItRiHtml.gif" alt="rootmenuitemrighthtml">
      </td>
      <td align="right" class="spmrarw RtMnArrw">
      <img alt="&gt;" src="ArrwDown.gif">[Here is for sure a &nbsp;]
      </td>
   </tr>
   </tbody>
</table>
</td>

When you see this then I'm sure that there is a gap (return) before the MenuItemName and a gap (return) after the MenuItemName. I think that IE and FF are rendering this not the same.
Look also at the RtMnItLeHtml and the RtMnItRiHtml
You can become that this way, if you use a image then you must put the class of the image in the token and also give a correct path:
<![CDATA[<img alt=&quot;rootmenuitemlefthtml&quot; class=&quot;RtMnItLeHtml&quot; src=&quot;/Portals/_default/Skins/StaSkin0101/RtMnItLeHtml.gif&quot;>]]>
<![CDATA[<img alt=&quot;rootmenuitemrighthtml&quot; class=&quot;RtMnItRiHtml&quot; src=&quot;/Portals/_default/Skins/StaSkin0101/RtMnItRiHtml.gif&quot;>]]>

Remark
You've also seen that NOWRAP="NOWRAP" is perhaps necessary for older browsers. I don't know... I've replaced it with style="white-space:nowrap;"

Perhaps... tomorrow I gone look at the menubreak (when I've the time)....
Hope this will help you...
  Is it so?...


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
5/30/2006 10:12 PM
 

This looks like just the sort of investiagtive work needed to pin this down. I'm off out the door in ten mins for a week, but will look forward to giving this a close read whewn I get back.

Thanks for your efforts Gilbert, I'll write back again in a week.

Rob

 

(crispy - can you make the forum script show the person's sig in the original post view when replying.. I'm always having to open another browser, find the forum and the post just to see who it was who made the post. Also useful would be some sort of breadcrumb link back to the thread from the reply view.. that would at least let one navigate back without losing the reply)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Solpart menu IE/FF gaps and separator itemSolpart menu IE/FF gaps and separator item


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out