Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

ExactTarget - What's Your Score
My Posts
 
  Forum  General DotNetN...  Make it Hot! ( ...  Solpart images Holy Grail ?
Previous Previous
 
Next Next
New Post 7/5/2007 2:37 AM
User is offline clay
113 posts
9th Ranked


Solpart images Holy Grail ? 

OK, I have literally searched all over the net to figure out how to implement Solpart with a different image for each item, no matter which level it is at and I think I have the answer.  Problem is I don't know enough  j a v a s c r i p t  or enough about the menu node collection to implement the solution.

So,,, here is my explanation, and perhaps someone can create the code snippet needed to solve this problem, finally, once and for all.  Each page is capable of uploading an image to be used as the "page icon" which then is consumable in the menu as the .MainMenu_MenuIcon property which appears to the left of the menu item when styled in CSS.  I KNOW that image could be accessed through a bit of  j a v a s c r i p t  used IN the CSS file for the background: url(); property for a menu item.

All it would really be doing is using a snippet of  j a v a s c r i p t  to access an image already available to the menu, and having it load that image as the background to an image item.  BUT, with that snippet we could all then have a different image for literally every menu item at every level of the menu.

This would make it SOoooooooo, much easier to implement multiple menus with Solpart, or any other of the menu providers as that same snippet would probably work for all of them IN the CSS for the menu.

Any takers for this challenge?  I will keep working on it, so any suggestions would also be welcome, as well as a complete usable snippet.

Clay

 
New Post 7/10/2007 6:14 AM
User is offline Jon Henning
1538 posts
www.codeendeavors.com
5th Ranked










Re: Solpart images Holy Grail ? 

http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1487/Default.aspx


 
New Post 7/11/2007 6:02 AM
User is offline clay
113 posts
9th Ranked


Re: Solpart images Holy Grail ? 

Thank you for the response John and the solution in your blog looks pretty neat.  Is all that really necessary though?  I don't mean to be so ignorant of all this, but wouldn't a simple document.write.iconid or something like that work to consume an already existing icon image?

Sorry to be so dense on this, but I have found in the past that if I dig at something like this hard enough, I can discover a simpler way.  Then I would be able to use the icon for image backgrounds on part of the menu level.  I would be able to use the image for the "idle" state, and a color for the hover state, not use it at all on a child, and so on.

In any event, how would I modify your script for the Solpart menu.  I know the push is to use the DNN menu, but Solpart still dominates marketshare where the menu is concerned.

Clay

 
New Post 9/13/2007 4:10 AM
User is offline Stefan
14 posts
10th Ranked


Re: Solpart images Holy Grail ? 

I think this solution is perfect but I have an issue in installing it:

After I pasted the code in my skin.ascx file and applied my icons to the right pages they appear next to the "menu - text".

Is this normal or is it also possible to realy have a background - image, so the "menu - text" will display over or underneath the icon.

Thanks in advance

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Solpart images Holy Grail ?
 


$7.16/mo - Powerful DotNetNuke Hosting
Powerful DotNetNuke Hosting starting at under $8/mo with FREE SQL 2005, FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke® logo are registered trademarks of DotNetNuke Corporation
Hosted by MaximumASP